MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
scriptbindingphysicslua51unsafe.cpp
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 2.0.10
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 #define SWIGLUA
12 #define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA
13 #define SWIG_LUA_MODULE_GLOBAL
14 
15 
16 #ifdef __cplusplus
17 /* SwigValueWrapper is described in swig.swg */
18 template<typename T> class SwigValueWrapper {
19  struct SwigMovePointer {
20  T *ptr;
21  SwigMovePointer(T *p) : ptr(p) { }
22  ~SwigMovePointer() { delete ptr; }
23  SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
24  } pointer;
25  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
27 public:
28  SwigValueWrapper() : pointer(0) { }
29  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
30  operator T&() const { return *pointer.ptr; }
31  T *operator&() { return pointer.ptr; }
32 };
33 
34 template <typename T> T SwigValueInit() {
35  return T();
36 }
37 #endif
38 
39 /* -----------------------------------------------------------------------------
40  * This section contains generic SWIG labels for method/variable
41  * declarations/attributes, and other compiler dependent labels.
42  * ----------------------------------------------------------------------------- */
43 
44 /* template workaround for compilers that cannot correctly implement the C++ standard */
45 #ifndef SWIGTEMPLATEDISAMBIGUATOR
46 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
47 # define SWIGTEMPLATEDISAMBIGUATOR template
48 # elif defined(__HP_aCC)
49 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
50 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
51 # define SWIGTEMPLATEDISAMBIGUATOR template
52 # else
53 # define SWIGTEMPLATEDISAMBIGUATOR
54 # endif
55 #endif
56 
57 /* inline attribute */
58 #ifndef SWIGINLINE
59 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
60 # define SWIGINLINE inline
61 # else
62 # define SWIGINLINE
63 # endif
64 #endif
65 
66 /* attribute recognised by some compilers to avoid 'unused' warnings */
67 #ifndef SWIGUNUSED
68 # if defined(__GNUC__)
69 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
70 # define SWIGUNUSED __attribute__ ((__unused__))
71 # else
72 # define SWIGUNUSED
73 # endif
74 # elif defined(__ICC)
75 # define SWIGUNUSED __attribute__ ((__unused__))
76 # else
77 # define SWIGUNUSED
78 # endif
79 #endif
80 
81 #ifndef SWIG_MSC_UNSUPPRESS_4505
82 # if defined(_MSC_VER)
83 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
84 # endif
85 #endif
86 
87 #ifndef SWIGUNUSEDPARM
88 # ifdef __cplusplus
89 # define SWIGUNUSEDPARM(p)
90 # else
91 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
92 # endif
93 #endif
94 
95 /* internal SWIG method */
96 #ifndef SWIGINTERN
97 # define SWIGINTERN static SWIGUNUSED
98 #endif
99 
100 /* internal inline SWIG method */
101 #ifndef SWIGINTERNINLINE
102 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
103 #endif
104 
105 /* exporting methods */
106 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
107 # ifndef GCC_HASCLASSVISIBILITY
108 # define GCC_HASCLASSVISIBILITY
109 # endif
110 #endif
111 
112 #ifndef SWIGEXPORT
113 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
114 # if defined(STATIC_LINKED)
115 # define SWIGEXPORT
116 # else
117 # define SWIGEXPORT __declspec(dllexport)
118 # endif
119 # else
120 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
121 # define SWIGEXPORT __attribute__ ((visibility("default")))
122 # else
123 # define SWIGEXPORT
124 # endif
125 # endif
126 #endif
127 
128 /* calling conventions for Windows */
129 #ifndef SWIGSTDCALL
130 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
131 # define SWIGSTDCALL __stdcall
132 # else
133 # define SWIGSTDCALL
134 # endif
135 #endif
136 
137 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
138 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
139 # define _CRT_SECURE_NO_DEPRECATE
140 #endif
141 
142 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
143 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
144 # define _SCL_SECURE_NO_DEPRECATE
145 #endif
146 
147 
148 /* -----------------------------------------------------------------------------
149  * swigrun.swg
150  *
151  * This file contains generic C API SWIG runtime support for pointer
152  * type checking.
153  * ----------------------------------------------------------------------------- */
154 
155 /* This should only be incremented when either the layout of swig_type_info changes,
156  or for whatever reason, the runtime changes incompatibly */
157 #define SWIG_RUNTIME_VERSION "4"
158 
159 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
160 #ifdef SWIG_TYPE_TABLE
161 # define SWIG_QUOTE_STRING(x) #x
162 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
163 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
164 #else
165 # define SWIG_TYPE_TABLE_NAME
166 #endif
167 
168 /*
169  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
170  creating a static or dynamic library from the SWIG runtime code.
171  In 99.9% of the cases, SWIG just needs to declare them as 'static'.
172 
173  But only do this if strictly necessary, ie, if you have problems
174  with your compiler or suchlike.
175 */
176 
177 #ifndef SWIGRUNTIME
178 # define SWIGRUNTIME SWIGINTERN
179 #endif
180 
181 #ifndef SWIGRUNTIMEINLINE
182 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
183 #endif
184 
185 /* Generic buffer size */
186 #ifndef SWIG_BUFFER_SIZE
187 # define SWIG_BUFFER_SIZE 1024
188 #endif
189 
190 /* Flags for pointer conversions */
191 #define SWIG_POINTER_DISOWN 0x1
192 #define SWIG_CAST_NEW_MEMORY 0x2
193 
194 /* Flags for new pointer objects */
195 #define SWIG_POINTER_OWN 0x1
196 
197 
198 /*
199  Flags/methods for returning states.
200 
201  The SWIG conversion methods, as ConvertPtr, return an integer
202  that tells if the conversion was successful or not. And if not,
203  an error code can be returned (see swigerrors.swg for the codes).
204 
205  Use the following macros/flags to set or process the returning
206  states.
207 
208  In old versions of SWIG, code such as the following was usually written:
209 
210  if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
211  // success code
212  } else {
213  //fail code
214  }
215 
216  Now you can be more explicit:
217 
218  int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
219  if (SWIG_IsOK(res)) {
220  // success code
221  } else {
222  // fail code
223  }
224 
225  which is the same really, but now you can also do
226 
227  Type *ptr;
228  int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
229  if (SWIG_IsOK(res)) {
230  // success code
231  if (SWIG_IsNewObj(res) {
232  ...
233  delete *ptr;
234  } else {
235  ...
236  }
237  } else {
238  // fail code
239  }
240 
241  I.e., now SWIG_ConvertPtr can return new objects and you can
242  identify the case and take care of the deallocation. Of course that
243  also requires SWIG_ConvertPtr to return new result values, such as
244 
245  int SWIG_ConvertPtr(obj, ptr,...) {
246  if (<obj is ok>) {
247  if (<need new object>) {
248  *ptr = <ptr to new allocated object>;
249  return SWIG_NEWOBJ;
250  } else {
251  *ptr = <ptr to old object>;
252  return SWIG_OLDOBJ;
253  }
254  } else {
255  return SWIG_BADOBJ;
256  }
257  }
258 
259  Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
260  more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
261  SWIG errors code.
262 
263  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
264  allows to return the 'cast rank', for example, if you have this
265 
266  int food(double)
267  int fooi(int);
268 
269  and you call
270 
271  food(1) // cast rank '1' (1 -> 1.0)
272  fooi(1) // cast rank '0'
273 
274  just use the SWIG_AddCast()/SWIG_CheckState()
275 */
276 
277 #define SWIG_OK (0)
278 #define SWIG_ERROR (-1)
279 #define SWIG_IsOK(r) (r >= 0)
280 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
281 
282 /* The CastRankLimit says how many bits are used for the cast rank */
283 #define SWIG_CASTRANKLIMIT (1 << 8)
284 /* The NewMask denotes the object was created (using new/malloc) */
285 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
286 /* The TmpMask is for in/out typemaps that use temporal objects */
287 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
288 /* Simple returning values */
289 #define SWIG_BADOBJ (SWIG_ERROR)
290 #define SWIG_OLDOBJ (SWIG_OK)
291 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
292 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
293 /* Check, add and del mask methods */
294 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
295 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
296 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
297 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
298 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
299 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
300 
301 /* Cast-Rank Mode */
302 #if defined(SWIG_CASTRANK_MODE)
303 # ifndef SWIG_TypeRank
304 # define SWIG_TypeRank unsigned long
305 # endif
306 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
307 # define SWIG_MAXCASTRANK (2)
308 # endif
309 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
310 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
311 SWIGINTERNINLINE int SWIG_AddCast(int r) {
312  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
313 }
314 SWIGINTERNINLINE int SWIG_CheckState(int r) {
315  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
316 }
317 #else /* no cast-rank mode */
318 # define SWIG_AddCast(r) (r)
319 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
320 #endif
321 
322 
323 #include <string.h>
324 
325 #ifdef __cplusplus
326 extern "C" {
327 #endif
328 
329 typedef void *(*swig_converter_func)(void *, int *);
330 typedef struct swig_type_info *(*swig_dycast_func)(void **);
331 
332 /* Structure to store information on one type */
333 typedef struct swig_type_info {
334  const char *name; /* mangled name of this type */
335  const char *str; /* human readable name of this type */
336  swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
337  struct swig_cast_info *cast; /* linked list of types that can cast into this type */
338  void *clientdata; /* language specific type data */
339  int owndata; /* flag if the structure owns the clientdata */
341 
342 /* Structure to store a type and conversion function used for casting */
343 typedef struct swig_cast_info {
344  swig_type_info *type; /* pointer to type that is equivalent to this type */
345  swig_converter_func converter; /* function to cast the void pointers */
346  struct swig_cast_info *next; /* pointer to next cast in linked list */
347  struct swig_cast_info *prev; /* pointer to the previous cast */
349 
350 /* Structure used to store module information
351  * Each module generates one structure like this, and the runtime collects
352  * all of these structures and stores them in a circularly linked list.*/
353 typedef struct swig_module_info {
354  swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
355  size_t size; /* Number of types in this module */
356  struct swig_module_info *next; /* Pointer to next element in circularly linked list */
357  swig_type_info **type_initial; /* Array of initially generated type structures */
358  swig_cast_info **cast_initial; /* Array of initially generated casting structures */
359  void *clientdata; /* Language specific module data */
361 
362 /*
363  Compare two type names skipping the space characters, therefore
364  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
365 
366  Return 0 when the two name types are equivalent, as in
367  strncmp, but skipping ' '.
368 */
369 SWIGRUNTIME int
370 SWIG_TypeNameComp(const char *f1, const char *l1,
371  const char *f2, const char *l2) {
372  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
373  while ((*f1 == ' ') && (f1 != l1)) ++f1;
374  while ((*f2 == ' ') && (f2 != l2)) ++f2;
375  if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
376  }
377  return (int)((l1 - f1) - (l2 - f2));
378 }
379 
380 /*
381  Check type equivalence in a name list like <name1>|<name2>|...
382  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
383 */
384 SWIGRUNTIME int
385 SWIG_TypeCmp(const char *nb, const char *tb) {
386  int equiv = 1;
387  const char* te = tb + strlen(tb);
388  const char* ne = nb;
389  while (equiv != 0 && *ne) {
390  for (nb = ne; *ne; ++ne) {
391  if (*ne == '|') break;
392  }
393  equiv = SWIG_TypeNameComp(nb, ne, tb, te);
394  if (*ne) ++ne;
395  }
396  return equiv;
397 }
398 
399 /*
400  Check type equivalence in a name list like <name1>|<name2>|...
401  Return 0 if not equal, 1 if equal
402 */
403 SWIGRUNTIME int
404 SWIG_TypeEquiv(const char *nb, const char *tb) {
405  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
406 }
407 
408 /*
409  Check the typename
410 */
411 SWIGRUNTIME swig_cast_info *
412 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
413  if (ty) {
414  swig_cast_info *iter = ty->cast;
415  while (iter) {
416  if (strcmp(iter->type->name, c) == 0) {
417  if (iter == ty->cast)
418  return iter;
419  /* Move iter to the top of the linked list */
420  iter->prev->next = iter->next;
421  if (iter->next)
422  iter->next->prev = iter->prev;
423  iter->next = ty->cast;
424  iter->prev = 0;
425  if (ty->cast) ty->cast->prev = iter;
426  ty->cast = iter;
427  return iter;
428  }
429  iter = iter->next;
430  }
431  }
432  return 0;
433 }
434 
435 /*
436  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
437 */
438 SWIGRUNTIME swig_cast_info *
439 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
440  if (ty) {
441  swig_cast_info *iter = ty->cast;
442  while (iter) {
443  if (iter->type == from) {
444  if (iter == ty->cast)
445  return iter;
446  /* Move iter to the top of the linked list */
447  iter->prev->next = iter->next;
448  if (iter->next)
449  iter->next->prev = iter->prev;
450  iter->next = ty->cast;
451  iter->prev = 0;
452  if (ty->cast) ty->cast->prev = iter;
453  ty->cast = iter;
454  return iter;
455  }
456  iter = iter->next;
457  }
458  }
459  return 0;
460 }
461 
462 /*
463  Cast a pointer up an inheritance hierarchy
464 */
465 SWIGRUNTIMEINLINE void *
466 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
467  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
468 }
469 
470 /*
471  Dynamic pointer casting. Down an inheritance hierarchy
472 */
473 SWIGRUNTIME swig_type_info *
474 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
475  swig_type_info *lastty = ty;
476  if (!ty || !ty->dcast) return ty;
477  while (ty && (ty->dcast)) {
478  ty = (*ty->dcast)(ptr);
479  if (ty) lastty = ty;
480  }
481  return lastty;
482 }
483 
484 /*
485  Return the name associated with this type
486 */
487 SWIGRUNTIMEINLINE const char *
488 SWIG_TypeName(const swig_type_info *ty) {
489  return ty->name;
490 }
491 
492 /*
493  Return the pretty name associated with this type,
494  that is an unmangled type name in a form presentable to the user.
495 */
496 SWIGRUNTIME const char *
497 SWIG_TypePrettyName(const swig_type_info *type) {
498  /* The "str" field contains the equivalent pretty names of the
499  type, separated by vertical-bar characters. We choose
500  to print the last name, as it is often (?) the most
501  specific. */
502  if (!type) return NULL;
503  if (type->str != NULL) {
504  const char *last_name = type->str;
505  const char *s;
506  for (s = type->str; *s; s++)
507  if (*s == '|') last_name = s+1;
508  return last_name;
509  }
510  else
511  return type->name;
512 }
513 
514 /*
515  Set the clientdata field for a type
516 */
517 SWIGRUNTIME void
518 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
519  swig_cast_info *cast = ti->cast;
520  /* if (ti->clientdata == clientdata) return; */
521  ti->clientdata = clientdata;
522 
523  while (cast) {
524  if (!cast->converter) {
525  swig_type_info *tc = cast->type;
526  if (!tc->clientdata) {
527  SWIG_TypeClientData(tc, clientdata);
528  }
529  }
530  cast = cast->next;
531  }
532 }
533 SWIGRUNTIME void
534 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
535  SWIG_TypeClientData(ti, clientdata);
536  ti->owndata = 1;
537 }
538 
539 /*
540  Search for a swig_type_info structure only by mangled name
541  Search is a O(log #types)
542 
543  We start searching at module start, and finish searching when start == end.
544  Note: if start == end at the beginning of the function, we go all the way around
545  the circular list.
546 */
547 SWIGRUNTIME swig_type_info *
548 SWIG_MangledTypeQueryModule(swig_module_info *start,
549  swig_module_info *end,
550  const char *name) {
551  swig_module_info *iter = start;
552  do {
553  if (iter->size) {
554  register size_t l = 0;
555  register size_t r = iter->size - 1;
556  do {
557  /* since l+r >= 0, we can (>> 1) instead (/ 2) */
558  register size_t i = (l + r) >> 1;
559  const char *iname = iter->types[i]->name;
560  if (iname) {
561  register int compare = strcmp(name, iname);
562  if (compare == 0) {
563  return iter->types[i];
564  } else if (compare < 0) {
565  if (i) {
566  r = i - 1;
567  } else {
568  break;
569  }
570  } else if (compare > 0) {
571  l = i + 1;
572  }
573  } else {
574  break; /* should never happen */
575  }
576  } while (l <= r);
577  }
578  iter = iter->next;
579  } while (iter != end);
580  return 0;
581 }
582 
583 /*
584  Search for a swig_type_info structure for either a mangled name or a human readable name.
585  It first searches the mangled names of the types, which is a O(log #types)
586  If a type is not found it then searches the human readable names, which is O(#types).
587 
588  We start searching at module start, and finish searching when start == end.
589  Note: if start == end at the beginning of the function, we go all the way around
590  the circular list.
591 */
592 SWIGRUNTIME swig_type_info *
593 SWIG_TypeQueryModule(swig_module_info *start,
594  swig_module_info *end,
595  const char *name) {
596  /* STEP 1: Search the name field using binary search */
597  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
598  if (ret) {
599  return ret;
600  } else {
601  /* STEP 2: If the type hasn't been found, do a complete search
602  of the str field (the human readable name) */
603  swig_module_info *iter = start;
604  do {
605  register size_t i = 0;
606  for (; i < iter->size; ++i) {
607  if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
608  return iter->types[i];
609  }
610  iter = iter->next;
611  } while (iter != end);
612  }
613 
614  /* neither found a match */
615  return 0;
616 }
617 
618 /*
619  Pack binary data into a string
620 */
621 SWIGRUNTIME char *
622 SWIG_PackData(char *c, void *ptr, size_t sz) {
623  static const char hex[17] = "0123456789abcdef";
624  register const unsigned char *u = (unsigned char *) ptr;
625  register const unsigned char *eu = u + sz;
626  for (; u != eu; ++u) {
627  register unsigned char uu = *u;
628  *(c++) = hex[(uu & 0xf0) >> 4];
629  *(c++) = hex[uu & 0xf];
630  }
631  return c;
632 }
633 
634 /*
635  Unpack binary data from a string
636 */
637 SWIGRUNTIME const char *
638 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
639  register unsigned char *u = (unsigned char *) ptr;
640  register const unsigned char *eu = u + sz;
641  for (; u != eu; ++u) {
642  register char d = *(c++);
643  register unsigned char uu;
644  if ((d >= '0') && (d <= '9'))
645  uu = ((d - '0') << 4);
646  else if ((d >= 'a') && (d <= 'f'))
647  uu = ((d - ('a'-10)) << 4);
648  else
649  return (char *) 0;
650  d = *(c++);
651  if ((d >= '0') && (d <= '9'))
652  uu |= (d - '0');
653  else if ((d >= 'a') && (d <= 'f'))
654  uu |= (d - ('a'-10));
655  else
656  return (char *) 0;
657  *u = uu;
658  }
659  return c;
660 }
661 
662 /*
663  Pack 'void *' into a string buffer.
664 */
665 SWIGRUNTIME char *
666 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
667  char *r = buff;
668  if ((2*sizeof(void *) + 2) > bsz) return 0;
669  *(r++) = '_';
670  r = SWIG_PackData(r,&ptr,sizeof(void *));
671  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
672  strcpy(r,name);
673  return buff;
674 }
675 
676 SWIGRUNTIME const char *
677 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
678  if (*c != '_') {
679  if (strcmp(c,"NULL") == 0) {
680  *ptr = (void *) 0;
681  return name;
682  } else {
683  return 0;
684  }
685  }
686  return SWIG_UnpackData(++c,ptr,sizeof(void *));
687 }
688 
689 SWIGRUNTIME char *
690 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
691  char *r = buff;
692  size_t lname = (name ? strlen(name) : 0);
693  if ((2*sz + 2 + lname) > bsz) return 0;
694  *(r++) = '_';
695  r = SWIG_PackData(r,ptr,sz);
696  if (lname) {
697  strncpy(r,name,lname+1);
698  } else {
699  *r = 0;
700  }
701  return buff;
702 }
703 
704 SWIGRUNTIME const char *
705 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
706  if (*c != '_') {
707  if (strcmp(c,"NULL") == 0) {
708  memset(ptr,0,sz);
709  return name;
710  } else {
711  return 0;
712  }
713  }
714  return SWIG_UnpackData(++c,ptr,sz);
715 }
716 
717 #ifdef __cplusplus
718 }
719 #endif
720 
721 /* -----------------------------------------------------------------------------
722  * luarun.swg
723  *
724  * This file contains the runtime support for Lua modules
725  * and includes code for managing global variables and pointer
726  * type checking.
727  * ----------------------------------------------------------------------------- */
728 
729 #ifdef __cplusplus
730 extern "C" {
731 #endif
732 
733 #include "lua.h"
734 #include "lauxlib.h"
735 #include <stdlib.h> /* for malloc */
736 #include <assert.h> /* for a few sanity tests */
737 
738 /* -----------------------------------------------------------------------------
739  * Lua flavors
740  * ----------------------------------------------------------------------------- */
741 
742 #define SWIG_LUA_FLAVOR_LUA 1
743 #define SWIG_LUA_FLAVOR_ELUA 2
744 #define SWIG_LUA_FLAVOR_ELUAC 3
745 
746 #if !defined(SWIG_LUA_TARGET)
747 # error SWIG_LUA_TARGET not defined
748 #endif
749 
750 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
751 # define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C)
752 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C)
753 # define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C)
754 # define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C)
755 #else /* SWIG_LUA_FLAVOR_LUA */
756 # define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
757 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
758 # define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
759 # define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
760 #endif
761 
762 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
763 # define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING}
764 # define LSTRVAL LRO_STRVAL
765 #endif
766 
767 /* -----------------------------------------------------------------------------
768  * compatibility defines
769  * ----------------------------------------------------------------------------- */
770 
771 /* History of Lua C API length functions: In Lua 5.0 (and before?)
772  there was "lua_strlen". In Lua 5.1, this was renamed "lua_objlen",
773  but a compatibility define of "lua_strlen" was added. In Lua 5.2,
774  this function was again renamed, to "lua_rawlen" (to emphasize that
775  it doesn't call the "__len" metamethod), and the compatibility
776  define of lua_strlen was removed. All SWIG uses have been updated
777  to "lua_rawlen", and we add our own defines of that here for older
778  versions of Lua. */
779 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
780 # define lua_rawlen lua_strlen
781 #elif LUA_VERSION_NUM == 501
782 # define lua_rawlen lua_objlen
783 #endif
784 
785 
786 /* lua_pushglobaltable is the recommended "future-proof" way to get
787  the global table for Lua 5.2 and later. Here we define
788  lua_pushglobaltable ourselves for Lua versions before 5.2. */
789 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
790 # define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX)
791 #endif
792 
793 
794 /* -----------------------------------------------------------------------------
795  * global swig types
796  * ----------------------------------------------------------------------------- */
797 /* Constant table */
798 #define SWIG_LUA_INT 1
799 #define SWIG_LUA_FLOAT 2
800 #define SWIG_LUA_STRING 3
801 #define SWIG_LUA_POINTER 4
802 #define SWIG_LUA_BINARY 5
803 #define SWIG_LUA_CHAR 6
804 
805 /* Structure for variable linking table */
806 typedef struct {
807  const char *name;
808  lua_CFunction get;
809  lua_CFunction set;
811 
812 /* Constant information structure */
813 typedef struct {
814  int type;
815  char *name;
816  long lvalue;
817  double dvalue;
818  void *pvalue;
819  swig_type_info **ptype;
821 
822 typedef struct {
823  const char *name;
824  lua_CFunction method;
826 
827 typedef struct {
828  const char *name;
829  lua_CFunction getmethod;
830  lua_CFunction setmethod;
832 
833 typedef struct swig_lua_class {
834  const char *name;
835  swig_type_info **type;
836  lua_CFunction constructor;
837  void (*destructor)(void *);
838  swig_lua_method *methods;
839  swig_lua_attribute *attributes;
840  struct swig_lua_class **bases;
841  const char **base_names;
843 
844 /* this is the struct for wrapping all pointers in SwigLua
845 */
846 typedef struct {
847  swig_type_info *type;
848  int own; /* 1 if owned & must be destroyed */
849  void *ptr;
851 
852 /* this is the struct for wrapping arbitrary packed binary data
853 (currently it is only used for member function pointers)
854 the data ordering is similar to swig_lua_userdata, but it is currently not possible
855 to tell the two structures apart within SWIG, other than by looking at the type
856 */
857 typedef struct {
858  swig_type_info *type;
859  int own; /* 1 if owned & must be destroyed */
860  char data[1]; /* arbitary amount of data */
862 
863 /* Common SWIG API */
864 #define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
865 #define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
866 #define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
867 /* for C++ member pointers, ie, member methods */
868 #define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
869 #define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type)
870 
871 /* Runtime API */
872 #define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
873 #define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
874 #define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
875 
876 /* Contract support */
877 #define SWIG_contract_assert(expr, msg) \
878  if (!(expr)) { lua_pushstring(L, (char *) msg); goto fail; } else
879 
880 /* helper #defines */
881 #define SWIG_fail {goto fail;}
882 #define SWIG_fail_arg(func_name,argnum,type) \
883  {lua_pushfstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
884  func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
885  goto fail;}
886 #define SWIG_fail_ptr(func_name,argnum,type) \
887  SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
888 #define SWIG_check_num_args(func_name,a,b) \
889  if (lua_gettop(L)<a || lua_gettop(L)>b) \
890  {lua_pushfstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
891  goto fail;}
892 
893 
894 #define SWIG_Lua_get_table(L,n) \
895  (lua_pushstring(L, n), lua_rawget(L,-2))
896 
897 #define SWIG_Lua_add_function(L,n,f) \
898  (lua_pushstring(L, n), \
899  lua_pushcfunction(L, f), \
900  lua_rawset(L,-3))
901 
902 /* special helper for allowing 'nil' for usertypes */
903 #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
904 
905 #ifdef __cplusplus
906 /* Special helper for member function pointers
907 it gets the address, casts it, then dereferences it */
908 //#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a)))
909 #endif
910 
911 /* storing/access of swig_module_info */
912 SWIGRUNTIME swig_module_info *
913 SWIG_Lua_GetModule(lua_State* L) {
914  swig_module_info *ret = 0;
915  lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
916  lua_rawget(L,LUA_REGISTRYINDEX);
917  if (lua_islightuserdata(L,-1))
918  ret=(swig_module_info*)lua_touserdata(L,-1);
919  lua_pop(L,1); /* tidy */
920  return ret;
921 }
922 
923 SWIGRUNTIME void
924 SWIG_Lua_SetModule(lua_State* L, swig_module_info *module) {
925  /* add this all into the Lua registry: */
926  lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
927  lua_pushlightuserdata(L,(void*)module);
928  lua_rawset(L,LUA_REGISTRYINDEX);
929 }
930 
931 /* -----------------------------------------------------------------------------
932  * global variable support code: modules
933  * ----------------------------------------------------------------------------- */
934 
935 /* this function is called when trying to set an immutable.
936 default action is to print an error.
937 This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */
938 SWIGINTERN int SWIG_Lua_set_immutable(lua_State* L)
939 {
940 /* there should be 1 param passed in: the new value */
941 #ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
942  lua_pop(L,1); /* remove it */
943  lua_pushstring(L,"This variable is immutable");
944  lua_error(L);
945 #endif
946  return 0; /* should not return anything */
947 }
948 
949 /* the module.get method used for getting linked data */
950 SWIGINTERN int SWIG_Lua_module_get(lua_State* L)
951 {
952 /* there should be 2 params passed in
953  (1) table (not the meta table)
954  (2) string name of the attribute
955  printf("SWIG_Lua_module_get %p(%s) '%s'\n",
956  lua_topointer(L,1),lua_typename(L,lua_type(L,1)),
957  lua_tostring(L,2));
958 */
959  /* get the metatable */
960 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
961  assert(lua_isrotable(L,1)); /* just in case */
962 #else
963  assert(lua_istable(L,1)); /* default Lua action */
964 #endif
965  lua_getmetatable(L,1); /* get the metatable */
966 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
967  assert(lua_isrotable(L,-1)); /* just in case */
968 #else
969  assert(lua_istable(L,-1));
970 #endif
971  SWIG_Lua_get_table(L,".get"); /* get the .get table */
972  lua_remove(L,3); /* remove metatable */
973 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
974  if (lua_isrotable(L,-1))
975 #else
976  if (lua_istable(L,-1))
977 #endif
978  {
979  /* look for the key in the .get table */
980  lua_pushvalue(L,2); /* key */
981  lua_rawget(L,-2);
982  lua_remove(L,3); /* remove .get */
983  if (lua_iscfunction(L,-1))
984  { /* found it so call the fn & return its value */
985  lua_call(L,0,1);
986  return 1;
987  }
988  lua_pop(L,1); /* remove the top */
989  }
990  lua_pop(L,1); /* remove the .get */
991  lua_pushnil(L); /* return a nil */
992  return 1;
993 }
994 
995 /* the module.set method used for setting linked data */
996 SWIGINTERN int SWIG_Lua_module_set(lua_State* L)
997 {
998 /* there should be 3 params passed in
999  (1) table (not the meta table)
1000  (2) string name of the attribute
1001  (3) any for the new value
1002 */
1003  /* get the metatable */
1004 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
1005  assert(lua_isrotable(L,1)); /* just in case */
1006 #else
1007  assert(lua_istable(L,1)); /* default Lua action */
1008 #endif
1009  lua_getmetatable(L,1); /* get the metatable */
1010 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
1011  assert(lua_isrotable(L,-1)); /* just in case */
1012 #else
1013  assert(lua_istable(L,-1));
1014 #endif
1015  SWIG_Lua_get_table(L,".set"); /* get the .set table */
1016  lua_remove(L,4); /* remove metatable */
1017 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
1018  if (lua_isrotable(L,-1))
1019 #else
1020  if (lua_istable(L,-1))
1021 #endif
1022  {
1023  /* look for the key in the .set table */
1024  lua_pushvalue(L,2); /* key */
1025  lua_rawget(L,-2);
1026  lua_remove(L,4); /* remove .set */
1027  if (lua_iscfunction(L,-1))
1028  { /* found it so call the fn & return its value */
1029  lua_pushvalue(L,3); /* value */
1030  lua_call(L,1,0);
1031  return 0;
1032  }
1033 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA)
1034  else {
1035  return 0; // Exits stoically if an invalid key is initialized.
1036  }
1037 #endif
1038  }
1039  lua_settop(L,3); /* reset back to start */
1040  /* we now have the table, key & new value, so just set directly */
1041  lua_rawset(L,1); /* add direct */
1042  return 0;
1043 }
1044 
1045 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
1046 /* registering a module in lua. Pushes the module table on the stack. */
1047 SWIGINTERN void SWIG_Lua_module_begin(lua_State* L,const char* name)
1048 {
1049  assert(lua_istable(L,-1)); /* just in case */
1050  lua_pushstring(L,name);
1051  lua_newtable(L); /* the table */
1052  /* add meta table */
1053  lua_newtable(L); /* the meta table */
1054  SWIG_Lua_add_function(L,"__index",SWIG_Lua_module_get);
1055  SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_module_set);
1056  lua_pushstring(L,".get");
1057  lua_newtable(L); /* the .get table */
1058  lua_rawset(L,-3); /* add .get into metatable */
1059  lua_pushstring(L,".set");
1060  lua_newtable(L); /* the .set table */
1061  lua_rawset(L,-3); /* add .set into metatable */
1062  lua_setmetatable(L,-2); /* sets meta table in module */
1063 #ifdef SWIG_LUA_MODULE_GLOBAL
1064  /* If requested, install the module directly into the global namespace. */
1065  lua_rawset(L,-3); /* add module into parent */
1066  SWIG_Lua_get_table(L,name); /* get the table back out */
1067 #else
1068  /* Do not install the module table as global name. The stack top has
1069  the module table with the name below. We pop the top and replace
1070  the name with it. */
1071  lua_replace(L,-2);
1072 #endif
1073 }
1074 
1075 /* ending the register */
1076 SWIGINTERN void SWIG_Lua_module_end(lua_State* L)
1077 {
1078  lua_pop(L,1); /* tidy stack (remove module) */
1079 }
1080 
1081 /* adding a linked variable to the module */
1082 SWIGINTERN void SWIG_Lua_module_add_variable(lua_State* L,const char* name,lua_CFunction getFn,lua_CFunction setFn)
1083 {
1084  assert(lua_istable(L,-1)); /* just in case */
1085  lua_getmetatable(L,-1); /* get the metatable */
1086  assert(lua_istable(L,-1)); /* just in case */
1087  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1088  assert(lua_istable(L,-1)); /* should be a table: */
1089  SWIG_Lua_add_function(L,name,getFn);
1090  lua_pop(L,1); /* tidy stack (remove table) */
1091  if (setFn) /* if there is a set fn */
1092  {
1093  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1094  assert(lua_istable(L,-1)); /* should be a table: */
1095  SWIG_Lua_add_function(L,name,setFn);
1096  lua_pop(L,1); /* tidy stack (remove table) */
1097  }
1098  lua_pop(L,1); /* tidy stack (remove meta) */
1099 }
1100 #endif
1101 
1102 /* adding a function module */
1103 SWIGINTERN void SWIG_Lua_module_add_function(lua_State* L,const char* name,lua_CFunction fn)
1104 {
1105  SWIG_Lua_add_function(L,name,fn);
1106 }
1107 
1108 /* -----------------------------------------------------------------------------
1109  * global variable support code: classes
1110  * ----------------------------------------------------------------------------- */
1111 
1112 /* the class.get method, performs the lookup of class attributes */
1113 SWIGINTERN int SWIG_Lua_class_get(lua_State* L)
1114 {
1115 /* there should be 2 params passed in
1116  (1) userdata (not the meta table)
1117  (2) string name of the attribute
1118 */
1119  assert(lua_isuserdata(L,-2)); /* just in case */
1120  lua_getmetatable(L,-2); /* get the meta table */
1121  assert(lua_istable(L,-1)); /* just in case */
1122  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1123  assert(lua_istable(L,-1)); /* just in case */
1124  /* look for the key in the .get table */
1125  lua_pushvalue(L,2); /* key */
1126  lua_rawget(L,-2);
1127  lua_remove(L,-2); /* stack tidy, remove .get table */
1128  if (lua_iscfunction(L,-1))
1129  { /* found it so call the fn & return its value */
1130  lua_pushvalue(L,1); /* the userdata */
1131  lua_call(L,1,1); /* 1 value in (userdata),1 out (result) */
1132  lua_remove(L,-2); /* stack tidy, remove metatable */
1133  return 1;
1134  }
1135  lua_pop(L,1); /* remove whatever was there */
1136  /* ok, so try the .fn table */
1137  SWIG_Lua_get_table(L,".fn"); /* find the .get table */
1138  assert(lua_istable(L,-1)); /* just in case */
1139  lua_pushvalue(L,2); /* key */
1140  lua_rawget(L,-2); /* look for the fn */
1141  lua_remove(L,-2); /* stack tidy, remove .fn table */
1142  if (lua_isfunction(L,-1)) /* note: if its a C function or lua function */
1143  { /* found it so return the fn & let lua call it */
1144  lua_remove(L,-2); /* stack tidy, remove metatable */
1145  return 1;
1146  }
1147  lua_pop(L,1); /* remove whatever was there */
1148  /* NEW: looks for the __getitem() fn
1149  this is a user provided get fn */
1150  SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */
1151  if (lua_iscfunction(L,-1)) /* if its there */
1152  { /* found it so call the fn & return its value */
1153  lua_pushvalue(L,1); /* the userdata */
1154  lua_pushvalue(L,2); /* the parameter */
1155  lua_call(L,2,1); /* 2 value in (userdata),1 out (result) */
1156  lua_remove(L,-2); /* stack tidy, remove metatable */
1157  return 1;
1158  }
1159  return 0; /* sorry not known */
1160 }
1161 
1162 /* the class.set method, performs the lookup of class attributes */
1163 SWIGINTERN int SWIG_Lua_class_set(lua_State* L)
1164 {
1165 /* there should be 3 params passed in
1166  (1) table (not the meta table)
1167  (2) string name of the attribute
1168  (3) any for the new value
1169 printf("SWIG_Lua_class_set %p(%s) '%s' %p(%s)\n",
1170  lua_topointer(L,1),lua_typename(L,lua_type(L,1)),
1171  lua_tostring(L,2),
1172  lua_topointer(L,3),lua_typename(L,lua_type(L,3)));*/
1173 
1174  assert(lua_isuserdata(L,1)); /* just in case */
1175  lua_getmetatable(L,1); /* get the meta table */
1176  assert(lua_istable(L,-1)); /* just in case */
1177 
1178  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1179  if (lua_istable(L,-1))
1180  {
1181  /* look for the key in the .set table */
1182  lua_pushvalue(L,2); /* key */
1183  lua_rawget(L,-2);
1184  if (lua_iscfunction(L,-1))
1185  { /* found it so call the fn & return its value */
1186  lua_pushvalue(L,1); /* userdata */
1187  lua_pushvalue(L,3); /* value */
1188  lua_call(L,2,0);
1189  return 0;
1190  }
1191  lua_pop(L,1); /* remove the value */
1192  }
1193  lua_pop(L,1); /* remove the value .set table */
1194  /* NEW: looks for the __setitem() fn
1195  this is a user provided set fn */
1196  SWIG_Lua_get_table(L,"__setitem"); /* find the fn */
1197  if (lua_iscfunction(L,-1)) /* if its there */
1198  { /* found it so call the fn & return its value */
1199  lua_pushvalue(L,1); /* the userdata */
1200  lua_pushvalue(L,2); /* the parameter */
1201  lua_pushvalue(L,3); /* the value */
1202  lua_call(L,3,0); /* 3 values in ,0 out */
1203  lua_remove(L,-2); /* stack tidy, remove metatable */
1204  return 1;
1205  }
1206  return 0;
1207 }
1208 
1209 /* the class.destruct method called by the interpreter */
1210 SWIGINTERN int SWIG_Lua_class_destruct(lua_State* L)
1211 {
1212 /* there should be 1 params passed in
1213  (1) userdata (not the meta table) */
1214  swig_lua_userdata* usr;
1215  swig_lua_class* clss;
1216  assert(lua_isuserdata(L,-1)); /* just in case */
1217  usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1218  /* if must be destroyed & has a destructor */
1219  if (usr->own) /* if must be destroyed */
1220  {
1221  clss=(swig_lua_class*)usr->type->clientdata; /* get the class */
1222  if (clss && clss->destructor) /* there is a destroy fn */
1223  {
1224  clss->destructor(usr->ptr); /* bye bye */
1225  }
1226  }
1227  return 0;
1228 }
1229 
1230 /* the class.__tostring method called by the interpreter and print */
1231 SWIGINTERN int SWIG_Lua_class_tostring(lua_State* L)
1232 {
1233 /* there should be 1 param passed in
1234  (1) userdata (not the metatable) */
1235  assert(lua_isuserdata(L,1)); /* just in case */
1236  unsigned long userData = (unsigned long)lua_touserdata(L,1); /* get the userdata address for later */
1237  lua_getmetatable(L,1); /* get the meta table */
1238  assert(lua_istable(L,-1)); /* just in case */
1239 
1240  lua_getfield(L, -1, ".type");
1241  const char* className = lua_tostring(L, -1);
1242 
1243  char output[256];
1244  sprintf(output, "<%s userdata: %lX>", className, userData);
1245 
1246  lua_pushstring(L, (const char*)output);
1247  return 1;
1248 }
1249 
1250 /* to manually disown some userdata */
1251 SWIGINTERN int SWIG_Lua_class_disown(lua_State* L)
1252 {
1253 /* there should be 1 params passed in
1254  (1) userdata (not the meta table) */
1255  swig_lua_userdata* usr;
1256  assert(lua_isuserdata(L,-1)); /* just in case */
1257  usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1258 
1259  usr->own = 0; /* clear our ownership */
1260  return 0;
1261 }
1262 
1263 /* gets the swig class registry (or creates it) */
1264 SWIGINTERN void SWIG_Lua_get_class_registry(lua_State* L)
1265 {
1266  /* add this all into the swig registry: */
1267  lua_pushstring(L,"SWIG");
1268  lua_rawget(L,LUA_REGISTRYINDEX); /* get the registry */
1269  if (!lua_istable(L,-1)) /* not there */
1270  { /* must be first time, so add it */
1271  lua_pop(L,1); /* remove the result */
1272  lua_pushstring(L,"SWIG");
1273  lua_newtable(L);
1274  lua_rawset(L,LUA_REGISTRYINDEX);
1275  /* then get it */
1276  lua_pushstring(L,"SWIG");
1277  lua_rawget(L,LUA_REGISTRYINDEX);
1278  }
1279 }
1280 
1281 /* helper fn to get the classes metatable from the register */
1282 SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State* L,const char* cname)
1283 {
1284  SWIG_Lua_get_class_registry(L); /* get the registry */
1285  lua_pushstring(L,cname); /* get the name */
1286  lua_rawget(L,-2); /* get it */
1287  lua_remove(L,-2); /* tidy up (remove registry) */
1288 }
1289 
1290 /* helper add a variable to a registered class */
1291 SWIGINTERN void SWIG_Lua_add_class_variable(lua_State* L,const char* name,lua_CFunction getFn,lua_CFunction setFn)
1292 {
1293  assert(lua_istable(L,-1)); /* just in case */
1294  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1295  assert(lua_istable(L,-1)); /* just in case */
1296  SWIG_Lua_add_function(L,name,getFn);
1297  lua_pop(L,1); /* tidy stack (remove table) */
1298  if (setFn)
1299  {
1300  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1301  assert(lua_istable(L,-1)); /* just in case */
1302  SWIG_Lua_add_function(L,name,setFn);
1303  lua_pop(L,1); /* tidy stack (remove table) */
1304  }
1305 }
1306 
1307 /* helper to recursively add class details (attributes & operations) */
1308 SWIGINTERN void SWIG_Lua_add_class_details(lua_State* L,swig_lua_class* clss)
1309 {
1310  int i;
1311  /* call all the base classes first: we can then override these later: */
1312  for(i=0;clss->bases[i];i++)
1313  {
1314  SWIG_Lua_add_class_details(L,clss->bases[i]);
1315  }
1316  /* add fns */
1317  for(i=0;clss->attributes[i].name;i++){
1318  SWIG_Lua_add_class_variable(L,clss->attributes[i].name,clss->attributes[i].getmethod,clss->attributes[i].setmethod);
1319  }
1320  /* add methods to the metatable */
1321  SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
1322  assert(lua_istable(L,-1)); /* just in case */
1323  for(i=0;clss->methods[i].name;i++){
1324  SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].method);
1325  }
1326  lua_pop(L,1); /* tidy stack (remove table) */
1327  /* add operator overloads
1328  these look ANY method which start with "__" and assume they
1329  are operator overloads & add them to the metatable
1330  (this might mess up is someone defines a method __gc (the destructor)*/
1331  for(i=0;clss->methods[i].name;i++){
1332  if (clss->methods[i].name[0]=='_' && clss->methods[i].name[1]=='_'){
1333  SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].method);
1334  }
1335  }
1336 }
1337 
1338 /* set up the base classes pointers.
1339 Each class structure has a list of pointers to the base class structures.
1340 This function fills them.
1341 It cannot be done at compile time, as this will not work with hireachies
1342 spread over more than one swig file.
1343 Therefore it must be done at runtime, querying the SWIG type system.
1344 */
1345 SWIGINTERN void SWIG_Lua_init_base_class(lua_State* L,swig_lua_class* clss)
1346 {
1347  int i=0;
1348  swig_module_info* module=SWIG_GetModule(L);
1349  for(i=0;clss->base_names[i];i++)
1350  {
1351  if (clss->bases[i]==0) /* not found yet */
1352  {
1353  /* lookup and cache the base class */
1354  swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]);
1355  if (info) clss->bases[i] = (swig_lua_class *) info->clientdata;
1356  }
1357  }
1358 }
1359 
1360 /* performs the entire class registration process */
1361 SWIGINTERN void SWIG_Lua_class_register(lua_State* L,swig_lua_class* clss)
1362 {
1363  /* add its constructor to module with the name of the class
1364  so you can do MyClass(...) as well as new_MyClass(...)
1365  BUT only if a constructor is defined
1366  (this overcomes the problem of pure virtual classes without constructors)*/
1367  if (clss->constructor)
1368  SWIG_Lua_add_function(L,clss->name,clss->constructor);
1369 
1370  SWIG_Lua_get_class_registry(L); /* get the registry */
1371  lua_pushstring(L,clss->name); /* get the name */
1372  lua_newtable(L); /* create the metatable */
1373  /* add string of class name called ".type" */
1374  lua_pushstring(L,".type");
1375  lua_pushstring(L,clss->name);
1376  lua_rawset(L,-3);
1377  /* add a table called ".get" */
1378  lua_pushstring(L,".get");
1379  lua_newtable(L);
1380  lua_rawset(L,-3);
1381  /* add a table called ".set" */
1382  lua_pushstring(L,".set");
1383  lua_newtable(L);
1384  lua_rawset(L,-3);
1385  /* add a table called ".fn" */
1386  lua_pushstring(L,".fn");
1387  lua_newtable(L);
1388  /* add manual disown method */
1389  SWIG_Lua_add_function(L,"__disown",SWIG_Lua_class_disown);
1390  lua_rawset(L,-3);
1391  /* add accessor fns for using the .get,.set&.fn */
1392  SWIG_Lua_add_function(L,"__index",SWIG_Lua_class_get);
1393  SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_class_set);
1394  SWIG_Lua_add_function(L,"__gc",SWIG_Lua_class_destruct);
1395  /* add tostring method for better output */
1396  SWIG_Lua_add_function(L,"__tostring",SWIG_Lua_class_tostring);
1397  /* add it */
1398  lua_rawset(L,-3); /* metatable into registry */
1399  lua_pop(L,1); /* tidy stack (remove registry) */
1400 
1401  SWIG_Lua_get_class_metatable(L,clss->name);
1402  SWIG_Lua_add_class_details(L,clss); /* recursive adding of details (atts & ops) */
1403  lua_pop(L,1); /* tidy stack (remove class metatable) */
1404 }
1405 
1406 /* -----------------------------------------------------------------------------
1407  * Class/structure conversion fns
1408  * ----------------------------------------------------------------------------- */
1409 
1410 /* helper to add metatable to new lua object */
1411 SWIGINTERN void _SWIG_Lua_AddMetatable(lua_State* L,swig_type_info *type)
1412 {
1413  if (type->clientdata) /* there is clientdata: so add the metatable */
1414  {
1415  SWIG_Lua_get_class_metatable(L,((swig_lua_class*)(type->clientdata))->name);
1416  if (lua_istable(L,-1))
1417  {
1418  lua_setmetatable(L,-2);
1419  }
1420  else
1421  {
1422  lua_pop(L,1);
1423  }
1424  }
1425 }
1426 
1427 /* pushes a new object into the lua stack */
1428 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State* L,void* ptr,swig_type_info *type, int own)
1429 {
1430  swig_lua_userdata* usr;
1431  if (!ptr){
1432  lua_pushnil(L);
1433  return;
1434  }
1435  usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */
1436  usr->ptr=ptr; /* set the ptr */
1437  usr->type=type;
1438  usr->own=own;
1439 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
1440  _SWIG_Lua_AddMetatable(L,type); /* add metatable */
1441 #endif
1442 }
1443 
1444 /* takes a object from the lua stack & converts it into an object of the correct type
1445  (if possible) */
1446 SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State* L,int index,void** ptr,swig_type_info *type,int flags)
1447 {
1448  swig_lua_userdata* usr;
1449  swig_cast_info *cast;
1450  if (lua_isnil(L,index)){*ptr=0; return SWIG_OK;} /* special case: lua nil => NULL pointer */
1451  usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */
1452  if (usr)
1453  {
1454  if (flags & SWIG_POINTER_DISOWN) /* must disown the object */
1455  {
1456  usr->own=0;
1457  }
1458  if (!type) /* special cast void*, no casting fn */
1459  {
1460  *ptr=usr->ptr;
1461  return SWIG_OK; /* ok */
1462  }
1463  cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */
1464  if (cast)
1465  {
1466  int newmemory = 0;
1467  *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory);
1468  assert(!newmemory); /* newmemory handling not yet implemented */
1469  return SWIG_OK; /* ok */
1470  }
1471  }
1472  return SWIG_ERROR; /* error */
1473 }
1474 
1475 SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State* L,int index,swig_type_info *type,int flags,
1476  int argnum,const char* func_name){
1477  void* result;
1478  if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){
1479  lua_pushfstring(L,"Error in %s, expected a %s at argument number %d\n",
1480  func_name,(type && type->str)?type->str:"void*",argnum);
1481  lua_error(L);
1482  }
1483  return result;
1484 }
1485 
1486 /* pushes a packed userdata. user for member fn pointers only */
1487 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State* L,void* ptr,size_t size,swig_type_info *type)
1488 {
1489  swig_lua_rawdata* raw;
1490  assert(ptr); /* not acceptable to pass in a NULL value */
1491  raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */
1492  raw->type=type;
1493  raw->own=0;
1494  memcpy(raw->data,ptr,size); /* copy the data */
1495  _SWIG_Lua_AddMetatable(L,type); /* add metatable */
1496 }
1497 
1498 /* converts a packed userdata. user for member fn pointers only */
1499 SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State* L,int index,void* ptr,size_t size,swig_type_info *type)
1500 {
1501  swig_lua_rawdata* raw;
1502  raw=(swig_lua_rawdata*)lua_touserdata(L,index); /* get data */
1503  if (!raw) return SWIG_ERROR; /* error */
1504  if (type==0 || type==raw->type) /* void* or identical type */
1505  {
1506  memcpy(ptr,raw->data,size); /* copy it */
1507  return SWIG_OK; /* ok */
1508  }
1509  return SWIG_ERROR; /* error */
1510 }
1511 
1512 /* a function to get the typestring of a piece of data */
1513 SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
1514 {
1515  swig_lua_userdata* usr;
1516  if (lua_isuserdata(L,tp))
1517  {
1518  usr=(swig_lua_userdata*)lua_touserdata(L,tp); /* get data */
1519  if (usr && usr->type && usr->type->str)
1520  return usr->type->str;
1521  return "userdata (unknown type)";
1522  }
1523  return lua_typename(L,lua_type(L,tp));
1524 }
1525 
1526 /* lua callable function to get the userdata's type */
1527 SWIGRUNTIME int SWIG_Lua_type(lua_State* L)
1528 {
1529  lua_pushstring(L,SWIG_Lua_typename(L,1));
1530  return 1;
1531 }
1532 
1533 /* lua callable function to compare userdata's value
1534 the issue is that two userdata may point to the same thing
1535 but to lua, they are different objects */
1536 SWIGRUNTIME int SWIG_Lua_equal(lua_State* L)
1537 {
1538  int result;
1539  swig_lua_userdata *usr1,*usr2;
1540  if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2)) /* just in case */
1541  return 0; /* nil reply */
1542  usr1=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1543  usr2=(swig_lua_userdata*)lua_touserdata(L,2); /* get data */
1544  /*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/
1545  result=(usr1->ptr==usr2->ptr);
1546  lua_pushboolean(L,result);
1547  return 1;
1548 }
1549 
1550 /* -----------------------------------------------------------------------------
1551  * global variable support code: class/struct typemap functions
1552  * ----------------------------------------------------------------------------- */
1553 
1554 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
1555 /* Install Constants */
1556 SWIGINTERN void
1557 SWIG_Lua_InstallConstants(lua_State* L, swig_lua_const_info constants[]) {
1558  int i;
1559  for (i = 0; constants[i].type; i++) {
1560  switch(constants[i].type) {
1561  case SWIG_LUA_INT:
1562  lua_pushstring(L,constants[i].name);
1563  lua_pushnumber(L,(lua_Number)constants[i].lvalue);
1564  lua_rawset(L,-3);
1565  break;
1566  case SWIG_LUA_FLOAT:
1567  lua_pushstring(L,constants[i].name);
1568  lua_pushnumber(L,(lua_Number)constants[i].dvalue);
1569  lua_rawset(L,-3);
1570  break;
1571  case SWIG_LUA_CHAR:
1572  lua_pushstring(L,constants[i].name);
1573  lua_pushfstring(L,"%c",(char)constants[i].lvalue);
1574  lua_rawset(L,-3);
1575  break;
1576  case SWIG_LUA_STRING:
1577  lua_pushstring(L,constants[i].name);
1578  lua_pushstring(L,(char *) constants[i].pvalue);
1579  lua_rawset(L,-3);
1580  break;
1581  case SWIG_LUA_POINTER:
1582  lua_pushstring(L,constants[i].name);
1583  SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0);
1584  lua_rawset(L,-3);
1585  break;
1586  case SWIG_LUA_BINARY:
1587  lua_pushstring(L,constants[i].name);
1588  SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
1589  lua_rawset(L,-3);
1590  break;
1591  default:
1592  break;
1593  }
1594  }
1595 }
1596 #endif
1597 
1598 /* -----------------------------------------------------------------------------
1599  * executing lua code from within the wrapper
1600  * ----------------------------------------------------------------------------- */
1601 
1602 #ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */
1603 #define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
1604 #endif
1605 /* Executes a C string in Lua which is a really simple way of calling lua from C
1606 Unfortunately lua keeps changing its APIs, so we need a conditional compile
1607 In lua 5.0.X its lua_dostring()
1608 In lua 5.1.X its luaL_dostring()
1609 */
1610 SWIGINTERN int
1611 SWIG_Lua_dostring(lua_State *L, const char* str) {
1612  int ok,top;
1613  if (str==0 || str[0]==0) return 0; /* nothing to do */
1614  top=lua_gettop(L); /* save stack */
1615 #if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
1616  ok=luaL_dostring(L,str); /* looks like this is lua 5.1.X or later, good */
1617 #else
1618  ok=lua_dostring(L,str); /* might be lua 5.0.x, using lua_dostring */
1619 #endif
1620  if (ok!=0) {
1621  SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
1622  }
1623  lua_settop(L,top); /* restore the stack */
1624  return ok;
1625 }
1626 
1627 #ifdef __cplusplus
1628 }
1629 #endif
1630 
1631 /* ------------------------------ end luarun.swg ------------------------------ */
1632 
1633 /* Errors in SWIG */
1634 #define SWIG_UnknownError -1
1635 #define SWIG_IOError -2
1636 #define SWIG_RuntimeError -3
1637 #define SWIG_IndexError -4
1638 #define SWIG_TypeError -5
1639 #define SWIG_DivisionByZero -6
1640 #define SWIG_OverflowError -7
1641 #define SWIG_SyntaxError -8
1642 #define SWIG_ValueError -9
1643 #define SWIG_SystemError -10
1644 #define SWIG_AttributeError -11
1645 #define SWIG_MemoryError -12
1646 #define SWIG_NullReferenceError -13
1647 
1648 
1649 
1650 
1651 /* -------- TYPES TABLE (BEGIN) -------- */
1652 
1653 #define SWIGTYPE_p_AxisAlignedBox swig_types[0]
1654 #define SWIGTYPE_p_AxisList swig_types[1]
1655 #define SWIGTYPE_p_ChannelType swig_types[2]
1656 #define SWIGTYPE_p_CollidablePair swig_types[3]
1657 #define SWIGTYPE_p_CollisionContainer swig_types[4]
1658 #define SWIGTYPE_p_CollisionIterator swig_types[5]
1659 #define SWIGTYPE_p_CollisionShapeManager swig_types[6]
1660 #define SWIGTYPE_p_CollisionSortPair swig_types[7]
1661 #define SWIGTYPE_p_ConstCollisionIterator swig_types[8]
1662 #define SWIGTYPE_p_ConstConstraintIterator swig_types[9]
1663 #define SWIGTYPE_p_ConstProxyIterator swig_types[10]
1664 #define SWIGTYPE_p_ConstShapeMapIterator swig_types[11]
1665 #define SWIGTYPE_p_ConstShapeVectorIterator swig_types[12]
1666 #define SWIGTYPE_p_ConstWorldTriggerIterator swig_types[13]
1667 #define SWIGTYPE_p_ConstraintContainer swig_types[14]
1668 #define SWIGTYPE_p_ConstraintIterator swig_types[15]
1669 #define SWIGTYPE_p_ManagerBase swig_types[16]
1670 #define SWIGTYPE_p_ManagerBase__ManagerType swig_types[17]
1671 #define SWIGTYPE_p_ManagerConstructionInfo swig_types[18]
1672 #define SWIGTYPE_p_Mezzanine__ArithmeticException swig_types[19]
1673 #define SWIGTYPE_p_Mezzanine__AxisAlignedBox swig_types[20]
1674 #define SWIGTYPE_p_Mezzanine__DirectoryException swig_types[21]
1675 #define SWIGTYPE_p_Mezzanine__DirectoryNotFoundException swig_types[22]
1676 #define SWIGTYPE_p_Mezzanine__DirectoryPermissionException swig_types[23]
1677 #define SWIGTYPE_p_Mezzanine__DirectoryReadException swig_types[24]
1678 #define SWIGTYPE_p_Mezzanine__DirectoryWriteException swig_types[25]
1679 #define SWIGTYPE_p_Mezzanine__Exception swig_types[26]
1680 #define SWIGTYPE_p_Mezzanine__FileException swig_types[27]
1681 #define SWIGTYPE_p_Mezzanine__FileNotFoundException swig_types[28]
1682 #define SWIGTYPE_p_Mezzanine__FilePermissionException swig_types[29]
1683 #define SWIGTYPE_p_Mezzanine__FileReadException swig_types[30]
1684 #define SWIGTYPE_p_Mezzanine__FileWriteException swig_types[31]
1685 #define SWIGTYPE_p_Mezzanine__Graphics__Mesh swig_types[32]
1686 #define SWIGTYPE_p_Mezzanine__IOException swig_types[33]
1687 #define SWIGTYPE_p_Mezzanine__IOReadException swig_types[34]
1688 #define SWIGTYPE_p_Mezzanine__IOWriteException swig_types[35]
1689 #define SWIGTYPE_p_Mezzanine__InstanceIdentityDuplicateException swig_types[36]
1690 #define SWIGTYPE_p_Mezzanine__InstanceIdentityException swig_types[37]
1691 #define SWIGTYPE_p_Mezzanine__InstanceIdentityInvalidException swig_types[38]
1692 #define SWIGTYPE_p_Mezzanine__InstanceIdentityNotFoundException swig_types[39]
1693 #define SWIGTYPE_p_Mezzanine__InternalException swig_types[40]
1694 #define SWIGTYPE_p_Mezzanine__InvalidAssignment swig_types[41]
1695 #define SWIGTYPE_p_Mezzanine__InvalidStateException swig_types[42]
1696 #define SWIGTYPE_p_Mezzanine__InvalidVersionException swig_types[43]
1697 #define SWIGTYPE_p_Mezzanine__Matrix3x3 swig_types[44]
1698 #define SWIGTYPE_p_Mezzanine__MemoryManagementException swig_types[45]
1699 #define SWIGTYPE_p_Mezzanine__MemoryOutOfBoundsException swig_types[46]
1700 #define SWIGTYPE_p_Mezzanine__NetworkException swig_types[47]
1701 #define SWIGTYPE_p_Mezzanine__NetworkNotFoundException swig_types[48]
1702 #define SWIGTYPE_p_Mezzanine__NetworkPermissionException swig_types[49]
1703 #define SWIGTYPE_p_Mezzanine__NetworkReadException swig_types[50]
1704 #define SWIGTYPE_p_Mezzanine__NetworkURLException swig_types[51]
1705 #define SWIGTYPE_p_Mezzanine__NetworkWriteException swig_types[52]
1706 #define SWIGTYPE_p_Mezzanine__NotImplementedException swig_types[53]
1707 #define SWIGTYPE_p_Mezzanine__OutOfMemoryException swig_types[54]
1708 #define SWIGTYPE_p_Mezzanine__ParametersCastException swig_types[55]
1709 #define SWIGTYPE_p_Mezzanine__ParametersException swig_types[56]
1710 #define SWIGTYPE_p_Mezzanine__ParametersRangeException swig_types[57]
1711 #define SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape swig_types[58]
1712 #define SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape swig_types[59]
1713 #define SWIGTYPE_p_Mezzanine__Physics__CollidablePair swig_types[60]
1714 #define SWIGTYPE_p_Mezzanine__Physics__CollidableProxy swig_types[61]
1715 #define SWIGTYPE_p_Mezzanine__Physics__Collision swig_types[62]
1716 #define SWIGTYPE_p_Mezzanine__Physics__CollisionShape swig_types[63]
1717 #define SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer swig_types[64]
1718 #define SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager swig_types[65]
1719 #define SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator swig_types[66]
1720 #define SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape swig_types[67]
1721 #define SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape swig_types[68]
1722 #define SWIGTYPE_p_Mezzanine__Physics__Constraint swig_types[69]
1723 #define SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape swig_types[70]
1724 #define SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape swig_types[71]
1725 #define SWIGTYPE_p_Mezzanine__Physics__DebugDrawWorkUnit swig_types[72]
1726 #define SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory swig_types[73]
1727 #define SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory swig_types[74]
1728 #define SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint swig_types[75]
1729 #define SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape swig_types[76]
1730 #define SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape swig_types[77]
1731 #define SWIGTYPE_p_Mezzanine__Physics__GearConstraint swig_types[78]
1732 #define SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint swig_types[79]
1733 #define SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint swig_types[80]
1734 #define SWIGTYPE_p_Mezzanine__Physics__GhostProxy swig_types[81]
1735 #define SWIGTYPE_p_Mezzanine__Physics__HeightfieldCollisionShape swig_types[82]
1736 #define SWIGTYPE_p_Mezzanine__Physics__HingeConstraint swig_types[83]
1737 #define SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo swig_types[84]
1738 #define SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape swig_types[85]
1739 #define SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape swig_types[86]
1740 #define SWIGTYPE_p_Mezzanine__Physics__PhysicsManager swig_types[87]
1741 #define SWIGTYPE_p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator swig_types[88]
1742 #define SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape swig_types[89]
1743 #define SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint swig_types[90]
1744 #define SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape swig_types[91]
1745 #define SWIGTYPE_p_Mezzanine__Physics__RigidProxy swig_types[92]
1746 #define SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit swig_types[93]
1747 #define SWIGTYPE_p_Mezzanine__Physics__SimulationWorkUnit swig_types[94]
1748 #define SWIGTYPE_p_Mezzanine__Physics__SliderConstraint swig_types[95]
1749 #define SWIGTYPE_p_Mezzanine__Physics__SoftCollisionShape swig_types[96]
1750 #define SWIGTYPE_p_Mezzanine__Physics__SoftProxy swig_types[97]
1751 #define SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape swig_types[98]
1752 #define SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape swig_types[99]
1753 #define SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo swig_types[100]
1754 #define SWIGTYPE_p_Mezzanine__Physics__StickyData swig_types[101]
1755 #define SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint swig_types[102]
1756 #define SWIGTYPE_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit swig_types[103]
1757 #define SWIGTYPE_p_Mezzanine__Plane swig_types[104]
1758 #define SWIGTYPE_p_Mezzanine__Quaternion swig_types[105]
1759 #define SWIGTYPE_p_Mezzanine__Ray swig_types[106]
1760 #define SWIGTYPE_p_Mezzanine__RenderingAPIException swig_types[107]
1761 #define SWIGTYPE_p_Mezzanine__RuntimeAssertionException swig_types[108]
1762 #define SWIGTYPE_p_Mezzanine__ScriptException swig_types[109]
1763 #define SWIGTYPE_p_Mezzanine__ScriptLuaErrErrException swig_types[110]
1764 #define SWIGTYPE_p_Mezzanine__ScriptLuaException swig_types[111]
1765 #define SWIGTYPE_p_Mezzanine__ScriptLuaRuntimeException swig_types[112]
1766 #define SWIGTYPE_p_Mezzanine__ScriptLuaYieldException swig_types[113]
1767 #define SWIGTYPE_p_Mezzanine__SingletonT_CollisionShapeManager_t swig_types[114]
1768 #define SWIGTYPE_p_Mezzanine__Sphere swig_types[115]
1769 #define SWIGTYPE_p_Mezzanine__SyntaxErrorException swig_types[116]
1770 #define SWIGTYPE_p_Mezzanine__SyntaxErrorLuaException swig_types[117]
1771 #define SWIGTYPE_p_Mezzanine__SyntaxErrorXMLException swig_types[118]
1772 #define SWIGTYPE_p_Mezzanine__SyntaxErrorXPathException swig_types[119]
1773 #define SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type swig_types[120]
1774 #define SWIGTYPE_p_Mezzanine__Threading__DefaultWorkUnit swig_types[121]
1775 #define SWIGTYPE_p_Mezzanine__Threading__RawFile swig_types[122]
1776 #define SWIGTYPE_p_Mezzanine__Transform swig_types[123]
1777 #define SWIGTYPE_p_Mezzanine__TransformableChildObject swig_types[124]
1778 #define SWIGTYPE_p_Mezzanine__TransformableObject swig_types[125]
1779 #define SWIGTYPE_p_Mezzanine__Vector3 swig_types[126]
1780 #define SWIGTYPE_p_Mezzanine__WorldManager swig_types[127]
1781 #define SWIGTYPE_p_Mezzanine__WorldObject swig_types[128]
1782 #define SWIGTYPE_p_Mezzanine__WorldProxy swig_types[129]
1783 #define SWIGTYPE_p_Mezzanine__WorldTrigger swig_types[130]
1784 #define SWIGTYPE_p_Ogre__Plane swig_types[131]
1785 #define SWIGTYPE_p_Ogre__Quaternion swig_types[132]
1786 #define SWIGTYPE_p_Ogre__Vector3 swig_types[133]
1787 #define SWIGTYPE_p_ParamList swig_types[134]
1788 #define SWIGTYPE_p_ProxyContainer swig_types[135]
1789 #define SWIGTYPE_p_ProxyIterator swig_types[136]
1790 #define SWIGTYPE_p_RayTestResult swig_types[137]
1791 #define SWIGTYPE_p_SDL_Event swig_types[138]
1792 #define SWIGTYPE_p_ShapeMap swig_types[139]
1793 #define SWIGTYPE_p_ShapeMapIterator swig_types[140]
1794 #define SWIGTYPE_p_ShapeVector swig_types[141]
1795 #define SWIGTYPE_p_ShapeVectorIterator swig_types[142]
1796 #define SWIGTYPE_p_StandardAxis swig_types[143]
1797 #define SWIGTYPE_p_Transform swig_types[144]
1798 #define SWIGTYPE_p_WorldTriggerContainer swig_types[145]
1799 #define SWIGTYPE_p_WorldTriggerIterator swig_types[146]
1800 #define SWIGTYPE_p_XML__Node swig_types[147]
1801 #define SWIGTYPE_p_bool swig_types[148]
1802 #define SWIGTYPE_p_btBoxShape swig_types[149]
1803 #define SWIGTYPE_p_btBvhTriangleMeshShape swig_types[150]
1804 #define SWIGTYPE_p_btCapsuleShape swig_types[151]
1805 #define SWIGTYPE_p_btCollisionObject swig_types[152]
1806 #define SWIGTYPE_p_btCollisionShape swig_types[153]
1807 #define SWIGTYPE_p_btCompoundShape swig_types[154]
1808 #define SWIGTYPE_p_btConcaveShape swig_types[155]
1809 #define SWIGTYPE_p_btConeShape swig_types[156]
1810 #define SWIGTYPE_p_btConvexHullShape swig_types[157]
1811 #define SWIGTYPE_p_btConvexInternalShape swig_types[158]
1812 #define SWIGTYPE_p_btCylinderShape swig_types[159]
1813 #define SWIGTYPE_p_btGImpactMeshShape swig_types[160]
1814 #define SWIGTYPE_p_btHeightfieldTerrainShape swig_types[161]
1815 #define SWIGTYPE_p_btMultiSphereShape swig_types[162]
1816 #define SWIGTYPE_p_btPairCachingGhostObject swig_types[163]
1817 #define SWIGTYPE_p_btQuaternion swig_types[164]
1818 #define SWIGTYPE_p_btRigidBody swig_types[165]
1819 #define SWIGTYPE_p_btSoftBody swig_types[166]
1820 #define SWIGTYPE_p_btSoftBodyCollisionShape swig_types[167]
1821 #define SWIGTYPE_p_btSphereShape swig_types[168]
1822 #define SWIGTYPE_p_btStaticPlaneShape swig_types[169]
1823 #define SWIGTYPE_p_btTransform swig_types[170]
1824 #define SWIGTYPE_p_btTypedConstraint swig_types[171]
1825 #define SWIGTYPE_p_btVector3 swig_types[172]
1826 #define SWIGTYPE_p_char swig_types[173]
1827 #define SWIGTYPE_p_double swig_types[174]
1828 #define SWIGTYPE_p_float swig_types[175]
1829 #define SWIGTYPE_p_int swig_types[176]
1830 #define SWIGTYPE_p_long_long swig_types[177]
1831 #define SWIGTYPE_p_short swig_types[178]
1832 #define SWIGTYPE_p_signed_char swig_types[179]
1833 #define SWIGTYPE_p_std__exception swig_types[180]
1834 #define SWIGTYPE_p_std__istream swig_types[181]
1835 #define SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t swig_types[182]
1836 #define SWIGTYPE_p_std__mapT_std__string_std__string_t swig_types[183]
1837 #define SWIGTYPE_p_std__pairT_bool_Mezzanine__Vector3_t swig_types[184]
1838 #define SWIGTYPE_p_std__pairT_std__string_std__string_t swig_types[185]
1839 #define SWIGTYPE_p_std__setT_std__string_t swig_types[186]
1840 #define SWIGTYPE_p_std__string swig_types[187]
1841 #define SWIGTYPE_p_std__stringstream swig_types[188]
1842 #define SWIGTYPE_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t swig_types[189]
1843 #define SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t swig_types[190]
1844 #define SWIGTYPE_p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t swig_types[191]
1845 #define SWIGTYPE_p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t swig_types[192]
1846 #define SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t swig_types[193]
1847 #define SWIGTYPE_p_std__vectorT_float_t swig_types[194]
1848 #define SWIGTYPE_p_std__vectorT_int_t swig_types[195]
1849 #define SWIGTYPE_p_std__vectorT_std__string_t swig_types[196]
1850 #define SWIGTYPE_p_std__wstring swig_types[197]
1851 #define SWIGTYPE_p_unsigned_char swig_types[198]
1852 #define SWIGTYPE_p_unsigned_int swig_types[199]
1853 #define SWIGTYPE_p_unsigned_long swig_types[200]
1854 #define SWIGTYPE_p_unsigned_long_long swig_types[201]
1855 #define SWIGTYPE_p_unsigned_short swig_types[202]
1856 static swig_type_info *swig_types[204];
1857 static swig_module_info swig_module = {swig_types, 203, 0, 0, 0, 0};
1858 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1859 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1860 
1861 /* -------- TYPES TABLE (END) -------- */
1862 
1863 #define SWIG_name "MezzaninePhysics"
1864 #define SWIG_init luaopen_MezzaninePhysics
1865 #define SWIG_init_user luaopen_MezzaninePhysics_user
1866 
1867 #define SWIG_LUACODE luaopen_MezzaninePhysics_luacode
1868 
1869 namespace swig {
1870 typedef struct{} LANGUAGE_OBJ;
1871 }
1872 
1873 
1874  // code to be inserted verbatim into the swig file goes here
1875  #include "mezzanine.h"
1876  #include "btBulletDynamicsCommon.h"
1877  #include "Ogre.h"
1878  #include "SDL.h"
1879 
1880  #ifdef GetCurrentTime
1881  #undef GetCurrentTime
1882  #endif
1883 
1884  #ifdef GetExceptionCode
1885  #undef GetExceptionCode
1886  #endif
1887 
1888  using namespace Mezzanine;
1889  //using namespace Mezzanine::Threading;
1890  //using namespace Mezzanine::Physics;
1891 
1892  // Fix cross module type-usage
1893  namespace Mezzanine
1894  {
1895  namespace Physics
1896  {
1897  typedef Mezzanine::Vector3 Vector3;
1898  }
1899  namespace Threading
1900  {
1901 
1902  }
1903  typedef Threading::RawFile RawFile;
1904  }
1905 
1906 
1907 #include <stdexcept>
1908 
1909 
1910 #define SWIG_exception(a,b)\
1911 { lua_pushfstring(L,"%s:%s",#a,b);SWIG_fail; }
1912 
1913 
1914 #include <stdexcept>
1915 
1916 
1917 #include <string>
1918 
1919 
1920 SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) {
1921  int ret = lua_isstring(L, idx);
1922  if (!ret)
1923  ret = lua_isnil(L, idx);
1924  return ret;
1925 }
1926 
1927 
1928 #include <vector>
1929 
1930 
1931 #include <map>
1932 #include <algorithm>
1933 #include <stdexcept>
1934 
1935 
1936 #include <utility>
1937 
1938 
1939 #include <stdint.h> // Use the C99 official header
1940 
1941 
1942 #include <deque>
1943 #include <stdexcept>
1944 
1945 
1946  // code to be inserted verbatim into the swig file goes here
1947  #include "mezzanine.h"
1948  using namespace Mezzanine;
1949  using namespace Mezzanine::Physics;
1950 
1951 #ifdef __cplusplus
1952 extern "C" {
1953 #endif
1954 static int _wrap_new_string__SWIG_0(lua_State* L) {
1955  int SWIG_arg = 0;
1956  std::string *result = 0 ;
1957 
1958  SWIG_check_num_args("std::string::string",0,0)
1959  result = (std::string *)new std::string();
1960  SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++;
1961  return SWIG_arg;
1962 
1963  if(0) SWIG_fail;
1964 
1965 fail:
1966  lua_error(L);
1967  return SWIG_arg;
1968 }
1969 
1970 
1971 static int _wrap_new_string__SWIG_1(lua_State* L) {
1972  int SWIG_arg = 0;
1973  char *arg1 = (char *) 0 ;
1974  std::string *result = 0 ;
1975 
1976  SWIG_check_num_args("std::string::string",1,1)
1977  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("std::string::string",1,"char const *");
1978  arg1 = (char *)lua_tostring(L, 1);
1979  result = (std::string *)new std::string((char const *)arg1);
1980  SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__string,1); SWIG_arg++;
1981  return SWIG_arg;
1982 
1983  if(0) SWIG_fail;
1984 
1985 fail:
1986  lua_error(L);
1987  return SWIG_arg;
1988 }
1989 
1990 
1991 static int _wrap_new_string(lua_State* L) {
1992  int argc;
1993  int argv[2]={
1994  1,2
1995  };
1996 
1997  argc = lua_gettop(L);
1998  if (argc == 0) {
1999  return _wrap_new_string__SWIG_0(L);
2000  }
2001  if (argc == 1) {
2002  int _v;
2003  {
2004  _v = SWIG_lua_isnilstring(L,argv[0]);
2005  }
2006  if (_v) {
2007  return _wrap_new_string__SWIG_1(L);
2008  }
2009  }
2010 
2011  lua_pushstring(L,"Wrong arguments for overloaded function 'new_string'\n"
2012  " Possible C/C++ prototypes are:\n"
2013  " std::string::string()\n"
2014  " std::string::string(char const *)\n");
2015  lua_error(L);return 0;
2016 }
2017 
2018 
2019 static int _wrap_string_size(lua_State* L) {
2020  int SWIG_arg = 0;
2021  std::string *arg1 = (std::string *) 0 ;
2022  unsigned int result;
2023 
2024  SWIG_check_num_args("std::string::size",1,1)
2025  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::size",1,"std::string const *");
2026 
2027  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
2028  SWIG_fail_ptr("string_size",1,SWIGTYPE_p_std__string);
2029  }
2030 
2031  result = (unsigned int)((std::string const *)arg1)->size();
2032  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2033  return SWIG_arg;
2034 
2035  if(0) SWIG_fail;
2036 
2037 fail:
2038  lua_error(L);
2039  return SWIG_arg;
2040 }
2041 
2042 
2043 static int _wrap_string_length(lua_State* L) {
2044  int SWIG_arg = 0;
2045  std::string *arg1 = (std::string *) 0 ;
2046  unsigned int result;
2047 
2048  SWIG_check_num_args("std::string::length",1,1)
2049  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::length",1,"std::string const *");
2050 
2051  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
2052  SWIG_fail_ptr("string_length",1,SWIGTYPE_p_std__string);
2053  }
2054 
2055  result = (unsigned int)((std::string const *)arg1)->length();
2056  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2057  return SWIG_arg;
2058 
2059  if(0) SWIG_fail;
2060 
2061 fail:
2062  lua_error(L);
2063  return SWIG_arg;
2064 }
2065 
2066 
2067 static int _wrap_string_empty(lua_State* L) {
2068  int SWIG_arg = 0;
2069  std::string *arg1 = (std::string *) 0 ;
2070  bool result;
2071 
2072  SWIG_check_num_args("std::string::empty",1,1)
2073  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::empty",1,"std::string const *");
2074 
2075  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
2076  SWIG_fail_ptr("string_empty",1,SWIGTYPE_p_std__string);
2077  }
2078 
2079  result = (bool)((std::string const *)arg1)->empty();
2080  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
2081  return SWIG_arg;
2082 
2083  if(0) SWIG_fail;
2084 
2085 fail:
2086  lua_error(L);
2087  return SWIG_arg;
2088 }
2089 
2090 
2091 static int _wrap_string_c_str(lua_State* L) {
2092  int SWIG_arg = 0;
2093  std::string *arg1 = (std::string *) 0 ;
2094  char *result = 0 ;
2095 
2096  SWIG_check_num_args("std::string::c_str",1,1)
2097  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::c_str",1,"std::string const *");
2098 
2099  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
2100  SWIG_fail_ptr("string_c_str",1,SWIGTYPE_p_std__string);
2101  }
2102 
2103  result = (char *)((std::string const *)arg1)->c_str();
2104  lua_pushstring(L,(const char *)result); SWIG_arg++;
2105  return SWIG_arg;
2106 
2107  if(0) SWIG_fail;
2108 
2109 fail:
2110  lua_error(L);
2111  return SWIG_arg;
2112 }
2113 
2114 
2115 static int _wrap_string_data(lua_State* L) {
2116  int SWIG_arg = 0;
2117  std::string *arg1 = (std::string *) 0 ;
2118  char *result = 0 ;
2119 
2120  SWIG_check_num_args("std::string::data",1,1)
2121  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::data",1,"std::string const *");
2122 
2123  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
2124  SWIG_fail_ptr("string_data",1,SWIGTYPE_p_std__string);
2125  }
2126 
2127  result = (char *)((std::string const *)arg1)->data();
2128  lua_pushstring(L,(const char *)result); SWIG_arg++;
2129  return SWIG_arg;
2130 
2131  if(0) SWIG_fail;
2132 
2133 fail:
2134  lua_error(L);
2135  return SWIG_arg;
2136 }
2137 
2138 
2139 static int _wrap_string_assign(lua_State* L) {
2140  int SWIG_arg = 0;
2141  std::string *arg1 = (std::string *) 0 ;
2142  char *arg2 = (char *) 0 ;
2143 
2144  SWIG_check_num_args("std::string::assign",2,2)
2145  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("std::string::assign",1,"std::string *");
2146  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("std::string::assign",2,"char const *");
2147 
2148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_std__string,0))){
2149  SWIG_fail_ptr("string_assign",1,SWIGTYPE_p_std__string);
2150  }
2151 
2152  arg2 = (char *)lua_tostring(L, 2);
2153  (arg1)->assign((char const *)arg2);
2154 
2155  return SWIG_arg;
2156 
2157  if(0) SWIG_fail;
2158 
2159 fail:
2160  lua_error(L);
2161  return SWIG_arg;
2162 }
2163 
2164 
2165 static void swig_delete_string(void *obj) {
2166 std::string *arg1 = (std::string *) obj;
2167 delete arg1;
2168 }
2169 static swig_lua_method swig_std_string_methods[] = {
2170  {"size", _wrap_string_size},
2171  {"length", _wrap_string_length},
2172  {"empty", _wrap_string_empty},
2173  {"c_str", _wrap_string_c_str},
2174  {"data", _wrap_string_data},
2175  {"assign", _wrap_string_assign},
2176  {0,0}
2177 };
2178 static swig_lua_attribute swig_std_string_attributes[] = {
2179  {0,0,0}
2180 };
2181 static swig_lua_class *swig_std_string_bases[] = {0};
2182 static const char *swig_std_string_base_names[] = {0};
2183 static swig_lua_class _wrap_class_std_string = { "string", &SWIGTYPE_p_std__string,_wrap_new_string, swig_delete_string, swig_std_string_methods, swig_std_string_attributes, swig_std_string_bases, swig_std_string_base_names };
2184 
2185 static int _wrap_new_SimulationWorkUnit(lua_State* L) {
2186  int SWIG_arg = 0;
2189 
2190  SWIG_check_num_args("Mezzanine::Physics::SimulationWorkUnit::SimulationWorkUnit",1,1)
2191  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SimulationWorkUnit::SimulationWorkUnit",1,"Mezzanine::Physics::PhysicsManager *");
2192 
2193  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2194  SWIG_fail_ptr("new_SimulationWorkUnit",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2195  }
2196 
2198  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SimulationWorkUnit,1); SWIG_arg++;
2199  return SWIG_arg;
2200 
2201  if(0) SWIG_fail;
2202 
2203 fail:
2204  lua_error(L);
2205  return SWIG_arg;
2206 }
2207 
2208 
2209 static int _wrap_SimulationWorkUnit_DoWork(lua_State* L) {
2210  int SWIG_arg = 0;
2213 
2214  SWIG_check_num_args("Mezzanine::Physics::SimulationWorkUnit::DoWork",2,2)
2215  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SimulationWorkUnit::DoWork",1,"Mezzanine::Physics::SimulationWorkUnit *");
2216  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SimulationWorkUnit::DoWork",2,"Mezzanine::Threading::DefaultThreadSpecificStorage::Type &");
2217 
2218  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SimulationWorkUnit,0))){
2219  SWIG_fail_ptr("SimulationWorkUnit_DoWork",1,SWIGTYPE_p_Mezzanine__Physics__SimulationWorkUnit);
2220  }
2221 
2222 
2223  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,0))){
2224  SWIG_fail_ptr("SimulationWorkUnit_DoWork",2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type);
2225  }
2226 
2227  (arg1)->DoWork(*arg2);
2228 
2229  return SWIG_arg;
2230 
2231  if(0) SWIG_fail;
2232 
2233 fail:
2234  lua_error(L);
2235  return SWIG_arg;
2236 }
2237 
2238 
2239 static void swig_delete_SimulationWorkUnit(void *obj) {
2241 delete arg1;
2242 }
2243 static swig_lua_method swig_Mezzanine_Physics_SimulationWorkUnit_methods[] = {
2244  {"DoWork", _wrap_SimulationWorkUnit_DoWork},
2245  {0,0}
2246 };
2247 static swig_lua_attribute swig_Mezzanine_Physics_SimulationWorkUnit_attributes[] = {
2248  {0,0,0}
2249 };
2250 static swig_lua_class *swig_Mezzanine_Physics_SimulationWorkUnit_bases[] = {0};
2251 static const char *swig_Mezzanine_Physics_SimulationWorkUnit_base_names[] = {0};
2252 static swig_lua_class _wrap_class_Mezzanine_Physics_SimulationWorkUnit = { "SimulationWorkUnit", &SWIGTYPE_p_Mezzanine__Physics__SimulationWorkUnit,_wrap_new_SimulationWorkUnit, swig_delete_SimulationWorkUnit, swig_Mezzanine_Physics_SimulationWorkUnit_methods, swig_Mezzanine_Physics_SimulationWorkUnit_attributes, swig_Mezzanine_Physics_SimulationWorkUnit_bases, swig_Mezzanine_Physics_SimulationWorkUnit_base_names };
2253 
2254 static int _wrap_new_SimulationMonopolyWorkUnit(lua_State* L) {
2255  int SWIG_arg = 0;
2258 
2259  SWIG_check_num_args("Mezzanine::Physics::SimulationMonopolyWorkUnit::SimulationMonopolyWorkUnit",1,1)
2260  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SimulationMonopolyWorkUnit::SimulationMonopolyWorkUnit",1,"Mezzanine::Physics::PhysicsManager *");
2261 
2262  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2263  SWIG_fail_ptr("new_SimulationMonopolyWorkUnit",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2264  }
2265 
2267  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit,1); SWIG_arg++;
2268  return SWIG_arg;
2269 
2270  if(0) SWIG_fail;
2271 
2272 fail:
2273  lua_error(L);
2274  return SWIG_arg;
2275 }
2276 
2277 
2278 static int _wrap_SimulationMonopolyWorkUnit_UseThreads(lua_State* L) {
2279  int SWIG_arg = 0;
2281  Mezzanine::Whole *arg2 = 0 ;
2282  Mezzanine::Whole temp2 ;
2283 
2284  SWIG_check_num_args("Mezzanine::Physics::SimulationMonopolyWorkUnit::UseThreads",2,2)
2285  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SimulationMonopolyWorkUnit::UseThreads",1,"Mezzanine::Physics::SimulationMonopolyWorkUnit *");
2286  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SimulationMonopolyWorkUnit::UseThreads",2,"Mezzanine::Whole const &");
2287 
2288  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit,0))){
2289  SWIG_fail_ptr("SimulationMonopolyWorkUnit_UseThreads",1,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit);
2290  }
2291 
2292  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
2293  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
2294  (arg1)->UseThreads((Mezzanine::Whole const &)*arg2);
2295 
2296  return SWIG_arg;
2297 
2298  if(0) SWIG_fail;
2299 
2300 fail:
2301  lua_error(L);
2302  return SWIG_arg;
2303 }
2304 
2305 
2306 static int _wrap_SimulationMonopolyWorkUnit_UsingThreadCount(lua_State* L) {
2307  int SWIG_arg = 0;
2309  Mezzanine::Whole result;
2310 
2311  SWIG_check_num_args("Mezzanine::Physics::SimulationMonopolyWorkUnit::UsingThreadCount",1,1)
2312  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SimulationMonopolyWorkUnit::UsingThreadCount",1,"Mezzanine::Physics::SimulationMonopolyWorkUnit *");
2313 
2314  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit,0))){
2315  SWIG_fail_ptr("SimulationMonopolyWorkUnit_UsingThreadCount",1,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit);
2316  }
2317 
2318  result = (Mezzanine::Whole)(arg1)->UsingThreadCount();
2319  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2320  return SWIG_arg;
2321 
2322  if(0) SWIG_fail;
2323 
2324 fail:
2325  lua_error(L);
2326  return SWIG_arg;
2327 }
2328 
2329 
2330 static int _wrap_SimulationMonopolyWorkUnit_DoWork(lua_State* L) {
2331  int SWIG_arg = 0;
2334 
2335  SWIG_check_num_args("Mezzanine::Physics::SimulationMonopolyWorkUnit::DoWork",2,2)
2336  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SimulationMonopolyWorkUnit::DoWork",1,"Mezzanine::Physics::SimulationMonopolyWorkUnit *");
2337  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SimulationMonopolyWorkUnit::DoWork",2,"Mezzanine::Threading::DefaultThreadSpecificStorage::Type &");
2338 
2339  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit,0))){
2340  SWIG_fail_ptr("SimulationMonopolyWorkUnit_DoWork",1,SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit);
2341  }
2342 
2343 
2344  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,0))){
2345  SWIG_fail_ptr("SimulationMonopolyWorkUnit_DoWork",2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type);
2346  }
2347 
2348  (arg1)->DoWork(*arg2);
2349 
2350  return SWIG_arg;
2351 
2352  if(0) SWIG_fail;
2353 
2354 fail:
2355  lua_error(L);
2356  return SWIG_arg;
2357 }
2358 
2359 
2360 static void swig_delete_SimulationMonopolyWorkUnit(void *obj) {
2362 delete arg1;
2363 }
2364 static swig_lua_method swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_methods[] = {
2365  {"UseThreads", _wrap_SimulationMonopolyWorkUnit_UseThreads},
2366  {"UsingThreadCount", _wrap_SimulationMonopolyWorkUnit_UsingThreadCount},
2367  {"DoWork", _wrap_SimulationMonopolyWorkUnit_DoWork},
2368  {0,0}
2369 };
2370 static swig_lua_attribute swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_attributes[] = {
2371  {0,0,0}
2372 };
2373 static swig_lua_class *swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_bases[] = {0};
2374 static const char *swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_base_names[] = {0};
2375 static swig_lua_class _wrap_class_Mezzanine_Physics_SimulationMonopolyWorkUnit = { "SimulationMonopolyWorkUnit", &SWIGTYPE_p_Mezzanine__Physics__SimulationMonopolyWorkUnit,_wrap_new_SimulationMonopolyWorkUnit, swig_delete_SimulationMonopolyWorkUnit, swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_methods, swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_attributes, swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_bases, swig_Mezzanine_Physics_SimulationMonopolyWorkUnit_base_names };
2376 
2377 static int _wrap_new_WorldTriggerUpdateWorkUnit__SWIG_1(lua_State* L) {
2378  int SWIG_arg = 0;
2381 
2382  SWIG_check_num_args("Mezzanine::Physics::WorldTriggerUpdateWorkUnit::WorldTriggerUpdateWorkUnit",1,1)
2383  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::WorldTriggerUpdateWorkUnit::WorldTriggerUpdateWorkUnit",1,"Mezzanine::Physics::PhysicsManager *");
2384 
2385  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2386  SWIG_fail_ptr("new_WorldTriggerUpdateWorkUnit",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2387  }
2388 
2390  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit,1); SWIG_arg++;
2391  return SWIG_arg;
2392 
2393  if(0) SWIG_fail;
2394 
2395 fail:
2396  lua_error(L);
2397  return SWIG_arg;
2398 }
2399 
2400 
2401 static int _wrap_new_WorldTriggerUpdateWorkUnit(lua_State* L) {
2402  int argc;
2403  int argv[2]={
2404  1,2
2405  };
2406 
2407  argc = lua_gettop(L);
2408  if (argc == 1) {
2409  int _v;
2410  {
2411  void *ptr;
2412  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
2413  _v = 0;
2414  } else {
2415  _v = 1;
2416  }
2417  }
2418  if (_v) {
2419  return _wrap_new_WorldTriggerUpdateWorkUnit__SWIG_1(L);
2420  }
2421  }
2422 
2423  lua_pushstring(L,"Wrong arguments for overloaded function 'new_WorldTriggerUpdateWorkUnit'\n"
2424  " Possible C/C++ prototypes are:\n"
2425  " Mezzanine::Physics::WorldTriggerUpdateWorkUnit::WorldTriggerUpdateWorkUnit(Mezzanine::Physics::PhysicsManager *)\n");
2426  lua_error(L);return 0;
2427 }
2428 
2429 
2430 static int _wrap_WorldTriggerUpdateWorkUnit_DoWork(lua_State* L) {
2431  int SWIG_arg = 0;
2434 
2435  SWIG_check_num_args("Mezzanine::Physics::WorldTriggerUpdateWorkUnit::DoWork",2,2)
2436  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::WorldTriggerUpdateWorkUnit::DoWork",1,"Mezzanine::Physics::WorldTriggerUpdateWorkUnit *");
2437  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::WorldTriggerUpdateWorkUnit::DoWork",2,"Mezzanine::Threading::DefaultThreadSpecificStorage::Type &");
2438 
2439  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit,0))){
2440  SWIG_fail_ptr("WorldTriggerUpdateWorkUnit_DoWork",1,SWIGTYPE_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit);
2441  }
2442 
2443 
2444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,0))){
2445  SWIG_fail_ptr("WorldTriggerUpdateWorkUnit_DoWork",2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type);
2446  }
2447 
2448  (arg1)->DoWork(*arg2);
2449 
2450  return SWIG_arg;
2451 
2452  if(0) SWIG_fail;
2453 
2454 fail:
2455  lua_error(L);
2456  return SWIG_arg;
2457 }
2458 
2459 
2460 static void swig_delete_WorldTriggerUpdateWorkUnit(void *obj) {
2462 delete arg1;
2463 }
2464 static swig_lua_method swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_methods[] = {
2465  {"DoWork", _wrap_WorldTriggerUpdateWorkUnit_DoWork},
2466  {0,0}
2467 };
2468 static swig_lua_attribute swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_attributes[] = {
2469  {0,0,0}
2470 };
2471 static swig_lua_class *swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_bases[] = {0};
2472 static const char *swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_base_names[] = {0};
2473 static swig_lua_class _wrap_class_Mezzanine_Physics_WorldTriggerUpdateWorkUnit = { "WorldTriggerUpdateWorkUnit", &SWIGTYPE_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit,_wrap_new_WorldTriggerUpdateWorkUnit, swig_delete_WorldTriggerUpdateWorkUnit, swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_methods, swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_attributes, swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_bases, swig_Mezzanine_Physics_WorldTriggerUpdateWorkUnit_base_names };
2474 
2475 static int _wrap_new_DebugDrawWorkUnit__SWIG_1(lua_State* L) {
2476  int SWIG_arg = 0;
2479 
2480  SWIG_check_num_args("Mezzanine::Physics::DebugDrawWorkUnit::DebugDrawWorkUnit",1,1)
2481  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DebugDrawWorkUnit::DebugDrawWorkUnit",1,"Mezzanine::Physics::PhysicsManager *");
2482 
2483  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2484  SWIG_fail_ptr("new_DebugDrawWorkUnit",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2485  }
2486 
2488  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DebugDrawWorkUnit,1); SWIG_arg++;
2489  return SWIG_arg;
2490 
2491  if(0) SWIG_fail;
2492 
2493 fail:
2494  lua_error(L);
2495  return SWIG_arg;
2496 }
2497 
2498 
2499 static int _wrap_new_DebugDrawWorkUnit(lua_State* L) {
2500  int argc;
2501  int argv[2]={
2502  1,2
2503  };
2504 
2505  argc = lua_gettop(L);
2506  if (argc == 1) {
2507  int _v;
2508  {
2509  void *ptr;
2510  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
2511  _v = 0;
2512  } else {
2513  _v = 1;
2514  }
2515  }
2516  if (_v) {
2517  return _wrap_new_DebugDrawWorkUnit__SWIG_1(L);
2518  }
2519  }
2520 
2521  lua_pushstring(L,"Wrong arguments for overloaded function 'new_DebugDrawWorkUnit'\n"
2522  " Possible C/C++ prototypes are:\n"
2523  " Mezzanine::Physics::DebugDrawWorkUnit::DebugDrawWorkUnit(Mezzanine::Physics::PhysicsManager *)\n");
2524  lua_error(L);return 0;
2525 }
2526 
2527 
2528 static int _wrap_DebugDrawWorkUnit_DoWork(lua_State* L) {
2529  int SWIG_arg = 0;
2532 
2533  SWIG_check_num_args("Mezzanine::Physics::DebugDrawWorkUnit::DoWork",2,2)
2534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DebugDrawWorkUnit::DoWork",1,"Mezzanine::Physics::DebugDrawWorkUnit *");
2535  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DebugDrawWorkUnit::DoWork",2,"Mezzanine::Threading::DefaultThreadSpecificStorage::Type &");
2536 
2537  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DebugDrawWorkUnit,0))){
2538  SWIG_fail_ptr("DebugDrawWorkUnit_DoWork",1,SWIGTYPE_p_Mezzanine__Physics__DebugDrawWorkUnit);
2539  }
2540 
2541 
2542  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,0))){
2543  SWIG_fail_ptr("DebugDrawWorkUnit_DoWork",2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type);
2544  }
2545 
2546  (arg1)->DoWork(*arg2);
2547 
2548  return SWIG_arg;
2549 
2550  if(0) SWIG_fail;
2551 
2552 fail:
2553  lua_error(L);
2554  return SWIG_arg;
2555 }
2556 
2557 
2558 static void swig_delete_DebugDrawWorkUnit(void *obj) {
2560 delete arg1;
2561 }
2562 static swig_lua_method swig_Mezzanine_Physics_DebugDrawWorkUnit_methods[] = {
2563  {"DoWork", _wrap_DebugDrawWorkUnit_DoWork},
2564  {0,0}
2565 };
2566 static swig_lua_attribute swig_Mezzanine_Physics_DebugDrawWorkUnit_attributes[] = {
2567  {0,0,0}
2568 };
2569 static swig_lua_class *swig_Mezzanine_Physics_DebugDrawWorkUnit_bases[] = {0};
2570 static const char *swig_Mezzanine_Physics_DebugDrawWorkUnit_base_names[] = {0};
2571 static swig_lua_class _wrap_class_Mezzanine_Physics_DebugDrawWorkUnit = { "DebugDrawWorkUnit", &SWIGTYPE_p_Mezzanine__Physics__DebugDrawWorkUnit,_wrap_new_DebugDrawWorkUnit, swig_delete_DebugDrawWorkUnit, swig_Mezzanine_Physics_DebugDrawWorkUnit_methods, swig_Mezzanine_Physics_DebugDrawWorkUnit_attributes, swig_Mezzanine_Physics_DebugDrawWorkUnit_bases, swig_Mezzanine_Physics_DebugDrawWorkUnit_base_names };
2572 
2573 static int _wrap_new_PhysicsManager__SWIG_0(lua_State* L) {
2574  int SWIG_arg = 0;
2576 
2577  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::PhysicsManager",0,0)
2578  result = (Mezzanine::Physics::PhysicsManager *)new Mezzanine::Physics::PhysicsManager();
2579  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,1); SWIG_arg++;
2580  return SWIG_arg;
2581 
2582  if(0) SWIG_fail;
2583 
2584 fail:
2585  lua_error(L);
2586  return SWIG_arg;
2587 }
2588 
2589 
2590 static int _wrap_new_PhysicsManager__SWIG_1(lua_State* L) {
2591  int SWIG_arg = 0;
2592  ManagerConstructionInfo *arg1 = 0 ;
2594 
2595  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::PhysicsManager",1,1)
2596  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::PhysicsManager",1,"ManagerConstructionInfo const &");
2597 
2598  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_ManagerConstructionInfo,0))){
2599  SWIG_fail_ptr("new_PhysicsManager",1,SWIGTYPE_p_ManagerConstructionInfo);
2600  }
2601 
2603  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,1); SWIG_arg++;
2604  return SWIG_arg;
2605 
2606  if(0) SWIG_fail;
2607 
2608 fail:
2609  lua_error(L);
2610  return SWIG_arg;
2611 }
2612 
2613 
2614 static int _wrap_new_PhysicsManager__SWIG_2(lua_State* L) {
2615  int SWIG_arg = 0;
2616  XML::Node *arg1 = 0 ;
2618 
2619  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::PhysicsManager",1,1)
2620  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::PhysicsManager",1,"XML::Node &");
2621 
2622  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
2623  SWIG_fail_ptr("new_PhysicsManager",1,SWIGTYPE_p_XML__Node);
2624  }
2625 
2627  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,1); SWIG_arg++;
2628  return SWIG_arg;
2629 
2630  if(0) SWIG_fail;
2631 
2632 fail:
2633  lua_error(L);
2634  return SWIG_arg;
2635 }
2636 
2637 
2638 static int _wrap_new_PhysicsManager(lua_State* L) {
2639  int argc;
2640  int argv[2]={
2641  1,2
2642  };
2643 
2644  argc = lua_gettop(L);
2645  if (argc == 0) {
2646  return _wrap_new_PhysicsManager__SWIG_0(L);
2647  }
2648  if (argc == 1) {
2649  int _v;
2650  {
2651  void *ptr;
2652  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_ManagerConstructionInfo, 0)) {
2653  _v = 0;
2654  } else {
2655  _v = 1;
2656  }
2657  }
2658  if (_v) {
2659  return _wrap_new_PhysicsManager__SWIG_1(L);
2660  }
2661  }
2662  if (argc == 1) {
2663  int _v;
2664  {
2665  void *ptr;
2666  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
2667  _v = 0;
2668  } else {
2669  _v = 1;
2670  }
2671  }
2672  if (_v) {
2673  return _wrap_new_PhysicsManager__SWIG_2(L);
2674  }
2675  }
2676 
2677  lua_pushstring(L,"Wrong arguments for overloaded function 'new_PhysicsManager'\n"
2678  " Possible C/C++ prototypes are:\n"
2679  " Mezzanine::Physics::PhysicsManager::PhysicsManager()\n"
2680  " Mezzanine::Physics::PhysicsManager::PhysicsManager(ManagerConstructionInfo const &)\n"
2681  " Mezzanine::Physics::PhysicsManager::PhysicsManager(XML::Node &)\n");
2682  lua_error(L);return 0;
2683 }
2684 
2685 
2686 static int _wrap_PhysicsManager_PauseSimulation(lua_State* L) {
2687  int SWIG_arg = 0;
2689  Mezzanine::Boole arg2 ;
2690 
2691  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::PauseSimulation",2,2)
2692  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::PauseSimulation",1,"Mezzanine::Physics::PhysicsManager *");
2693  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::PauseSimulation",2,"Mezzanine::Boole");
2694 
2695  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2696  SWIG_fail_ptr("PhysicsManager_PauseSimulation",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2697  }
2698 
2699  arg2 = (lua_toboolean(L, 2)!=0);
2700  (arg1)->PauseSimulation(arg2);
2701 
2702  return SWIG_arg;
2703 
2704  if(0) SWIG_fail;
2705 
2706 fail:
2707  lua_error(L);
2708  return SWIG_arg;
2709 }
2710 
2711 
2712 static int _wrap_PhysicsManager_SimulationIsPaused(lua_State* L) {
2713  int SWIG_arg = 0;
2715  Mezzanine::Boole result;
2716 
2717  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::SimulationIsPaused",1,1)
2718  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SimulationIsPaused",1,"Mezzanine::Physics::PhysicsManager *");
2719 
2720  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2721  SWIG_fail_ptr("PhysicsManager_SimulationIsPaused",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2722  }
2723 
2724  result = (Mezzanine::Boole)(arg1)->SimulationIsPaused();
2725  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
2726  return SWIG_arg;
2727 
2728  if(0) SWIG_fail;
2729 
2730 fail:
2731  lua_error(L);
2732  return SWIG_arg;
2733 }
2734 
2735 
2736 static int _wrap_PhysicsManager_GetTimeMultiplier(lua_State* L) {
2737  int SWIG_arg = 0;
2739  Mezzanine::Real result;
2740 
2741  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetTimeMultiplier",1,1)
2742  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetTimeMultiplier",1,"Mezzanine::Physics::PhysicsManager const *");
2743 
2744  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2745  SWIG_fail_ptr("PhysicsManager_GetTimeMultiplier",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2746  }
2747 
2748  result = (Mezzanine::Real)((Mezzanine::Physics::PhysicsManager const *)arg1)->GetTimeMultiplier();
2749  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
2750  return SWIG_arg;
2751 
2752  if(0) SWIG_fail;
2753 
2754 fail:
2755  lua_error(L);
2756  return SWIG_arg;
2757 }
2758 
2759 
2760 static int _wrap_PhysicsManager_SetTimeMultiplier(lua_State* L) {
2761  int SWIG_arg = 0;
2763  Mezzanine::Real *arg2 = 0 ;
2764  Mezzanine::Real temp2 ;
2765 
2766  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::SetTimeMultiplier",2,2)
2767  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetTimeMultiplier",1,"Mezzanine::Physics::PhysicsManager *");
2768  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetTimeMultiplier",2,"Mezzanine::Real const &");
2769 
2770  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2771  SWIG_fail_ptr("PhysicsManager_SetTimeMultiplier",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2772  }
2773 
2774  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
2775  (arg1)->SetTimeMultiplier((Mezzanine::Real const &)*arg2);
2776 
2777  return SWIG_arg;
2778 
2779  if(0) SWIG_fail;
2780 
2781 fail:
2782  lua_error(L);
2783  return SWIG_arg;
2784 }
2785 
2786 
2787 static int _wrap_PhysicsManager_SetWorldGravity(lua_State* L) {
2788  int SWIG_arg = 0;
2790  Mezzanine::Physics::Vector3 *arg2 = 0 ;
2791 
2792  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::SetWorldGravity",2,2)
2793  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetWorldGravity",1,"Mezzanine::Physics::PhysicsManager *");
2794  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetWorldGravity",2,"Mezzanine::Physics::Vector3 const &");
2795 
2796  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2797  SWIG_fail_ptr("PhysicsManager_SetWorldGravity",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2798  }
2799 
2800 
2801  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
2802  SWIG_fail_ptr("PhysicsManager_SetWorldGravity",2,SWIGTYPE_p_Mezzanine__Vector3);
2803  }
2804 
2805  (arg1)->SetWorldGravity((Mezzanine::Physics::Vector3 const &)*arg2);
2806 
2807  return SWIG_arg;
2808 
2809  if(0) SWIG_fail;
2810 
2811 fail:
2812  lua_error(L);
2813  return SWIG_arg;
2814 }
2815 
2816 
2817 static int _wrap_PhysicsManager_GetWorldGravity(lua_State* L) {
2818  int SWIG_arg = 0;
2821 
2822  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetWorldGravity",1,1)
2823  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldGravity",1,"Mezzanine::Physics::PhysicsManager *");
2824 
2825  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2826  SWIG_fail_ptr("PhysicsManager_GetWorldGravity",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2827  }
2828 
2829  result = (arg1)->GetWorldGravity();
2830  {
2832  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
2833  }
2834  return SWIG_arg;
2835 
2836  if(0) SWIG_fail;
2837 
2838 fail:
2839  lua_error(L);
2840  return SWIG_arg;
2841 }
2842 
2843 
2844 static int _wrap_PhysicsManager_SetWorldSoftGravity(lua_State* L) {
2845  int SWIG_arg = 0;
2847  Mezzanine::Physics::Vector3 *arg2 = 0 ;
2848 
2849  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::SetWorldSoftGravity",2,2)
2850  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetWorldSoftGravity",1,"Mezzanine::Physics::PhysicsManager *");
2851  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetWorldSoftGravity",2,"Mezzanine::Physics::Vector3 const &");
2852 
2853  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2854  SWIG_fail_ptr("PhysicsManager_SetWorldSoftGravity",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2855  }
2856 
2857 
2858  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
2859  SWIG_fail_ptr("PhysicsManager_SetWorldSoftGravity",2,SWIGTYPE_p_Mezzanine__Vector3);
2860  }
2861 
2862  (arg1)->SetWorldSoftGravity((Mezzanine::Physics::Vector3 const &)*arg2);
2863 
2864  return SWIG_arg;
2865 
2866  if(0) SWIG_fail;
2867 
2868 fail:
2869  lua_error(L);
2870  return SWIG_arg;
2871 }
2872 
2873 
2874 static int _wrap_PhysicsManager_GetWorldSoftGravity(lua_State* L) {
2875  int SWIG_arg = 0;
2878 
2879  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetWorldSoftGravity",1,1)
2880  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldSoftGravity",1,"Mezzanine::Physics::PhysicsManager *");
2881 
2882  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2883  SWIG_fail_ptr("PhysicsManager_GetWorldSoftGravity",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2884  }
2885 
2886  result = (arg1)->GetWorldSoftGravity();
2887  {
2889  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
2890  }
2891  return SWIG_arg;
2892 
2893  if(0) SWIG_fail;
2894 
2895 fail:
2896  lua_error(L);
2897  return SWIG_arg;
2898 }
2899 
2900 
2901 static int _wrap_PhysicsManager_CreateGhostProxy__SWIG_0(lua_State* L) {
2902  int SWIG_arg = 0;
2904  Mezzanine::Physics::GhostProxy *result = 0 ;
2905 
2906  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",1,1)
2907  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",1,"Mezzanine::Physics::PhysicsManager *");
2908 
2909  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2910  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2911  }
2912 
2913  result = (Mezzanine::Physics::GhostProxy *)(arg1)->CreateGhostProxy();
2914  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0); SWIG_arg++;
2915  return SWIG_arg;
2916 
2917  if(0) SWIG_fail;
2918 
2919 fail:
2920  lua_error(L);
2921  return SWIG_arg;
2922 }
2923 
2924 
2925 static int _wrap_PhysicsManager_CreateGhostProxy__SWIG_1(lua_State* L) {
2926  int SWIG_arg = 0;
2929  Mezzanine::Boole arg3 ;
2930  Mezzanine::Physics::GhostProxy *result = 0 ;
2931 
2932  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",3,3)
2933  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",1,"Mezzanine::Physics::PhysicsManager *");
2934  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",2,"Mezzanine::Physics::CollisionShape *");
2935  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",3,"Mezzanine::Boole const");
2936 
2937  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2938  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2939  }
2940 
2941 
2942  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
2943  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
2944  }
2945 
2946  arg3 = (lua_toboolean(L, 3)!=0);
2947  result = (Mezzanine::Physics::GhostProxy *)(arg1)->CreateGhostProxy(arg2,arg3);
2948  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0); SWIG_arg++;
2949  return SWIG_arg;
2950 
2951  if(0) SWIG_fail;
2952 
2953 fail:
2954  lua_error(L);
2955  return SWIG_arg;
2956 }
2957 
2958 
2959 static int _wrap_PhysicsManager_CreateGhostProxy__SWIG_2(lua_State* L) {
2960  int SWIG_arg = 0;
2963  Mezzanine::Physics::GhostProxy *result = 0 ;
2964 
2965  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",2,2)
2966  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",1,"Mezzanine::Physics::PhysicsManager *");
2967  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",2,"Mezzanine::Physics::CollisionShape *");
2968 
2969  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
2970  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
2971  }
2972 
2973 
2974  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
2975  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
2976  }
2977 
2978  result = (Mezzanine::Physics::GhostProxy *)(arg1)->CreateGhostProxy(arg2);
2979  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0); SWIG_arg++;
2980  return SWIG_arg;
2981 
2982  if(0) SWIG_fail;
2983 
2984 fail:
2985  lua_error(L);
2986  return SWIG_arg;
2987 }
2988 
2989 
2990 static int _wrap_PhysicsManager_CreateGhostProxy__SWIG_3(lua_State* L) {
2991  int SWIG_arg = 0;
2993  XML::Node *arg2 = 0 ;
2994  Mezzanine::Physics::GhostProxy *result = 0 ;
2995 
2996  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",2,2)
2997  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",1,"Mezzanine::Physics::PhysicsManager *");
2998  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateGhostProxy",2,"XML::Node const &");
2999 
3000  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3001  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3002  }
3003 
3004 
3005  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
3006  SWIG_fail_ptr("PhysicsManager_CreateGhostProxy",2,SWIGTYPE_p_XML__Node);
3007  }
3008 
3009  result = (Mezzanine::Physics::GhostProxy *)(arg1)->CreateGhostProxy((XML::Node const &)*arg2);
3010  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0); SWIG_arg++;
3011  return SWIG_arg;
3012 
3013  if(0) SWIG_fail;
3014 
3015 fail:
3016  lua_error(L);
3017  return SWIG_arg;
3018 }
3019 
3020 
3021 static int _wrap_PhysicsManager_CreateGhostProxy(lua_State* L) {
3022  int argc;
3023  int argv[4]={
3024  1,2,3,4
3025  };
3026 
3027  argc = lua_gettop(L);
3028  if (argc == 1) {
3029  int _v;
3030  {
3031  void *ptr;
3032  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3033  _v = 0;
3034  } else {
3035  _v = 1;
3036  }
3037  }
3038  if (_v) {
3039  return _wrap_PhysicsManager_CreateGhostProxy__SWIG_0(L);
3040  }
3041  }
3042  if (argc == 2) {
3043  int _v;
3044  {
3045  void *ptr;
3046  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3047  _v = 0;
3048  } else {
3049  _v = 1;
3050  }
3051  }
3052  if (_v) {
3053  {
3054  void *ptr;
3055  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
3056  _v = 0;
3057  } else {
3058  _v = 1;
3059  }
3060  }
3061  if (_v) {
3062  return _wrap_PhysicsManager_CreateGhostProxy__SWIG_2(L);
3063  }
3064  }
3065  }
3066  if (argc == 2) {
3067  int _v;
3068  {
3069  void *ptr;
3070  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3071  _v = 0;
3072  } else {
3073  _v = 1;
3074  }
3075  }
3076  if (_v) {
3077  {
3078  void *ptr;
3079  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
3080  _v = 0;
3081  } else {
3082  _v = 1;
3083  }
3084  }
3085  if (_v) {
3086  return _wrap_PhysicsManager_CreateGhostProxy__SWIG_3(L);
3087  }
3088  }
3089  }
3090  if (argc == 3) {
3091  int _v;
3092  {
3093  void *ptr;
3094  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3095  _v = 0;
3096  } else {
3097  _v = 1;
3098  }
3099  }
3100  if (_v) {
3101  {
3102  void *ptr;
3103  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
3104  _v = 0;
3105  } else {
3106  _v = 1;
3107  }
3108  }
3109  if (_v) {
3110  {
3111  _v = lua_isboolean(L,argv[2]);
3112  }
3113  if (_v) {
3114  return _wrap_PhysicsManager_CreateGhostProxy__SWIG_1(L);
3115  }
3116  }
3117  }
3118  }
3119 
3120  lua_pushstring(L,"Wrong arguments for overloaded function 'PhysicsManager_CreateGhostProxy'\n"
3121  " Possible C/C++ prototypes are:\n"
3122  " Mezzanine::Physics::PhysicsManager::CreateGhostProxy()\n"
3123  " Mezzanine::Physics::PhysicsManager::CreateGhostProxy(Mezzanine::Physics::CollisionShape *,Mezzanine::Boole const)\n"
3124  " Mezzanine::Physics::PhysicsManager::CreateGhostProxy(Mezzanine::Physics::CollisionShape *)\n"
3125  " Mezzanine::Physics::PhysicsManager::CreateGhostProxy(XML::Node const &)\n");
3126  lua_error(L);return 0;
3127 }
3128 
3129 
3130 static int _wrap_PhysicsManager_CreateRigidProxy__SWIG_0(lua_State* L) {
3131  int SWIG_arg = 0;
3133  Mezzanine::Real arg2 ;
3134  Mezzanine::Physics::RigidProxy *result = 0 ;
3135 
3136  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",2,2)
3137  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",1,"Mezzanine::Physics::PhysicsManager *");
3138  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",2,"Mezzanine::Real const");
3139 
3140  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3141  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3142  }
3143 
3144  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
3145  result = (Mezzanine::Physics::RigidProxy *)(arg1)->CreateRigidProxy(arg2);
3146  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
3147  return SWIG_arg;
3148 
3149  if(0) SWIG_fail;
3150 
3151 fail:
3152  lua_error(L);
3153  return SWIG_arg;
3154 }
3155 
3156 
3157 static int _wrap_PhysicsManager_CreateRigidProxy__SWIG_1(lua_State* L) {
3158  int SWIG_arg = 0;
3160  Mezzanine::Real arg2 ;
3162  Mezzanine::Boole arg4 ;
3163  Mezzanine::Physics::RigidProxy *result = 0 ;
3164 
3165  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",4,4)
3166  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",1,"Mezzanine::Physics::PhysicsManager *");
3167  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",2,"Mezzanine::Real const");
3168  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",3,"Mezzanine::Physics::CollisionShape *");
3169  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",4,"Mezzanine::Boole const");
3170 
3171  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3172  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3173  }
3174 
3175  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
3176 
3177  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
3178  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",3,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
3179  }
3180 
3181  arg4 = (lua_toboolean(L, 4)!=0);
3182  result = (Mezzanine::Physics::RigidProxy *)(arg1)->CreateRigidProxy(arg2,arg3,arg4);
3183  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
3184  return SWIG_arg;
3185 
3186  if(0) SWIG_fail;
3187 
3188 fail:
3189  lua_error(L);
3190  return SWIG_arg;
3191 }
3192 
3193 
3194 static int _wrap_PhysicsManager_CreateRigidProxy__SWIG_2(lua_State* L) {
3195  int SWIG_arg = 0;
3197  Mezzanine::Real arg2 ;
3199  Mezzanine::Physics::RigidProxy *result = 0 ;
3200 
3201  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",3,3)
3202  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",1,"Mezzanine::Physics::PhysicsManager *");
3203  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",2,"Mezzanine::Real const");
3204  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",3,"Mezzanine::Physics::CollisionShape *");
3205 
3206  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3207  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3208  }
3209 
3210  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
3211 
3212  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
3213  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",3,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
3214  }
3215 
3216  result = (Mezzanine::Physics::RigidProxy *)(arg1)->CreateRigidProxy(arg2,arg3);
3217  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
3218  return SWIG_arg;
3219 
3220  if(0) SWIG_fail;
3221 
3222 fail:
3223  lua_error(L);
3224  return SWIG_arg;
3225 }
3226 
3227 
3228 static int _wrap_PhysicsManager_CreateRigidProxy__SWIG_3(lua_State* L) {
3229  int SWIG_arg = 0;
3231  XML::Node *arg2 = 0 ;
3232  Mezzanine::Physics::RigidProxy *result = 0 ;
3233 
3234  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",2,2)
3235  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",1,"Mezzanine::Physics::PhysicsManager *");
3236  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateRigidProxy",2,"XML::Node const &");
3237 
3238  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3239  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3240  }
3241 
3242 
3243  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
3244  SWIG_fail_ptr("PhysicsManager_CreateRigidProxy",2,SWIGTYPE_p_XML__Node);
3245  }
3246 
3247  result = (Mezzanine::Physics::RigidProxy *)(arg1)->CreateRigidProxy((XML::Node const &)*arg2);
3248  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
3249  return SWIG_arg;
3250 
3251  if(0) SWIG_fail;
3252 
3253 fail:
3254  lua_error(L);
3255  return SWIG_arg;
3256 }
3257 
3258 
3259 static int _wrap_PhysicsManager_CreateRigidProxy(lua_State* L) {
3260  int argc;
3261  int argv[5]={
3262  1,2,3,4,5
3263  };
3264 
3265  argc = lua_gettop(L);
3266  if (argc == 2) {
3267  int _v;
3268  {
3269  void *ptr;
3270  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3271  _v = 0;
3272  } else {
3273  _v = 1;
3274  }
3275  }
3276  if (_v) {
3277  {
3278  void *ptr;
3279  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
3280  _v = 0;
3281  } else {
3282  _v = 1;
3283  }
3284  }
3285  if (_v) {
3286  return _wrap_PhysicsManager_CreateRigidProxy__SWIG_3(L);
3287  }
3288  }
3289  }
3290  if (argc == 2) {
3291  int _v;
3292  {
3293  void *ptr;
3294  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3295  _v = 0;
3296  } else {
3297  _v = 1;
3298  }
3299  }
3300  if (_v) {
3301  {
3302  _v = lua_isnumber(L,argv[1]);
3303  }
3304  if (_v) {
3305  return _wrap_PhysicsManager_CreateRigidProxy__SWIG_0(L);
3306  }
3307  }
3308  }
3309  if (argc == 3) {
3310  int _v;
3311  {
3312  void *ptr;
3313  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3314  _v = 0;
3315  } else {
3316  _v = 1;
3317  }
3318  }
3319  if (_v) {
3320  {
3321  _v = lua_isnumber(L,argv[1]);
3322  }
3323  if (_v) {
3324  {
3325  void *ptr;
3326  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
3327  _v = 0;
3328  } else {
3329  _v = 1;
3330  }
3331  }
3332  if (_v) {
3333  return _wrap_PhysicsManager_CreateRigidProxy__SWIG_2(L);
3334  }
3335  }
3336  }
3337  }
3338  if (argc == 4) {
3339  int _v;
3340  {
3341  void *ptr;
3342  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3343  _v = 0;
3344  } else {
3345  _v = 1;
3346  }
3347  }
3348  if (_v) {
3349  {
3350  _v = lua_isnumber(L,argv[1]);
3351  }
3352  if (_v) {
3353  {
3354  void *ptr;
3355  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
3356  _v = 0;
3357  } else {
3358  _v = 1;
3359  }
3360  }
3361  if (_v) {
3362  {
3363  _v = lua_isboolean(L,argv[3]);
3364  }
3365  if (_v) {
3366  return _wrap_PhysicsManager_CreateRigidProxy__SWIG_1(L);
3367  }
3368  }
3369  }
3370  }
3371  }
3372 
3373  lua_pushstring(L,"Wrong arguments for overloaded function 'PhysicsManager_CreateRigidProxy'\n"
3374  " Possible C/C++ prototypes are:\n"
3375  " Mezzanine::Physics::PhysicsManager::CreateRigidProxy(Mezzanine::Real const)\n"
3376  " Mezzanine::Physics::PhysicsManager::CreateRigidProxy(Mezzanine::Real const,Mezzanine::Physics::CollisionShape *,Mezzanine::Boole const)\n"
3377  " Mezzanine::Physics::PhysicsManager::CreateRigidProxy(Mezzanine::Real const,Mezzanine::Physics::CollisionShape *)\n"
3378  " Mezzanine::Physics::PhysicsManager::CreateRigidProxy(XML::Node const &)\n");
3379  lua_error(L);return 0;
3380 }
3381 
3382 
3383 static int _wrap_PhysicsManager_CreateSoftProxy__SWIG_0(lua_State* L) {
3384  int SWIG_arg = 0;
3386  Mezzanine::Real arg2 ;
3387  Mezzanine::Physics::SoftProxy *result = 0 ;
3388 
3389  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateSoftProxy",2,2)
3390  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateSoftProxy",1,"Mezzanine::Physics::PhysicsManager *");
3391  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateSoftProxy",2,"Mezzanine::Real const");
3392 
3393  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3394  SWIG_fail_ptr("PhysicsManager_CreateSoftProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3395  }
3396 
3397  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
3398  result = (Mezzanine::Physics::SoftProxy *)(arg1)->CreateSoftProxy(arg2);
3399  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0); SWIG_arg++;
3400  return SWIG_arg;
3401 
3402  if(0) SWIG_fail;
3403 
3404 fail:
3405  lua_error(L);
3406  return SWIG_arg;
3407 }
3408 
3409 
3410 static int _wrap_PhysicsManager_CreateSoftProxy__SWIG_1(lua_State* L) {
3411  int SWIG_arg = 0;
3413  XML::Node *arg2 = 0 ;
3414  Mezzanine::Physics::SoftProxy *result = 0 ;
3415 
3416  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::CreateSoftProxy",2,2)
3417  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateSoftProxy",1,"Mezzanine::Physics::PhysicsManager *");
3418  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::CreateSoftProxy",2,"XML::Node const &");
3419 
3420  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3421  SWIG_fail_ptr("PhysicsManager_CreateSoftProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3422  }
3423 
3424 
3425  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
3426  SWIG_fail_ptr("PhysicsManager_CreateSoftProxy",2,SWIGTYPE_p_XML__Node);
3427  }
3428 
3429  result = (Mezzanine::Physics::SoftProxy *)(arg1)->CreateSoftProxy((XML::Node const &)*arg2);
3430  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0); SWIG_arg++;
3431  return SWIG_arg;
3432 
3433  if(0) SWIG_fail;
3434 
3435 fail:
3436  lua_error(L);
3437  return SWIG_arg;
3438 }
3439 
3440 
3441 static int _wrap_PhysicsManager_CreateSoftProxy(lua_State* L) {
3442  int argc;
3443  int argv[3]={
3444  1,2,3
3445  };
3446 
3447  argc = lua_gettop(L);
3448  if (argc == 2) {
3449  int _v;
3450  {
3451  void *ptr;
3452  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3453  _v = 0;
3454  } else {
3455  _v = 1;
3456  }
3457  }
3458  if (_v) {
3459  {
3460  void *ptr;
3461  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
3462  _v = 0;
3463  } else {
3464  _v = 1;
3465  }
3466  }
3467  if (_v) {
3468  return _wrap_PhysicsManager_CreateSoftProxy__SWIG_1(L);
3469  }
3470  }
3471  }
3472  if (argc == 2) {
3473  int _v;
3474  {
3475  void *ptr;
3476  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3477  _v = 0;
3478  } else {
3479  _v = 1;
3480  }
3481  }
3482  if (_v) {
3483  {
3484  _v = lua_isnumber(L,argv[1]);
3485  }
3486  if (_v) {
3487  return _wrap_PhysicsManager_CreateSoftProxy__SWIG_0(L);
3488  }
3489  }
3490  }
3491 
3492  lua_pushstring(L,"Wrong arguments for overloaded function 'PhysicsManager_CreateSoftProxy'\n"
3493  " Possible C/C++ prototypes are:\n"
3494  " Mezzanine::Physics::PhysicsManager::CreateSoftProxy(Mezzanine::Real const)\n"
3495  " Mezzanine::Physics::PhysicsManager::CreateSoftProxy(XML::Node const &)\n");
3496  lua_error(L);return 0;
3497 }
3498 
3499 
3500 static int _wrap_PhysicsManager_GetProxy(lua_State* L) {
3501  int SWIG_arg = 0;
3503  Mezzanine::UInt32 arg2 ;
3505 
3506  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetProxy",2,2)
3507  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetProxy",1,"Mezzanine::Physics::PhysicsManager const *");
3508  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetProxy",2,"Mezzanine::UInt32 const");
3509 
3510  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3511  SWIG_fail_ptr("PhysicsManager_GetProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3512  }
3513 
3514  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
3515  arg2 = (Mezzanine::UInt32 const)lua_tonumber(L, 2);
3516  result = (Mezzanine::Physics::CollidableProxy *)((Mezzanine::Physics::PhysicsManager const *)arg1)->GetProxy(arg2);
3517  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
3518  return SWIG_arg;
3519 
3520  if(0) SWIG_fail;
3521 
3522 fail:
3523  lua_error(L);
3524  return SWIG_arg;
3525 }
3526 
3527 
3528 static int _wrap_PhysicsManager_GetNumProxies(lua_State* L) {
3529  int SWIG_arg = 0;
3531  Mezzanine::UInt32 result;
3532 
3533  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetNumProxies",1,1)
3534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetNumProxies",1,"Mezzanine::Physics::PhysicsManager const *");
3535 
3536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3537  SWIG_fail_ptr("PhysicsManager_GetNumProxies",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3538  }
3539 
3540  result = (Mezzanine::UInt32)((Mezzanine::Physics::PhysicsManager const *)arg1)->GetNumProxies();
3541  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3542  return SWIG_arg;
3543 
3544  if(0) SWIG_fail;
3545 
3546 fail:
3547  lua_error(L);
3548  return SWIG_arg;
3549 }
3550 
3551 
3552 static int _wrap_PhysicsManager_DestroyProxy(lua_State* L) {
3553  int SWIG_arg = 0;
3556 
3557  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::DestroyProxy",2,2)
3558  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DestroyProxy",1,"Mezzanine::Physics::PhysicsManager *");
3559  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DestroyProxy",2,"Mezzanine::Physics::CollidableProxy *");
3560 
3561  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3562  SWIG_fail_ptr("PhysicsManager_DestroyProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3563  }
3564 
3565 
3566  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
3567  SWIG_fail_ptr("PhysicsManager_DestroyProxy",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
3568  }
3569 
3570  (arg1)->DestroyProxy(arg2);
3571 
3572  return SWIG_arg;
3573 
3574  if(0) SWIG_fail;
3575 
3576 fail:
3577  lua_error(L);
3578  return SWIG_arg;
3579 }
3580 
3581 
3582 static int _wrap_PhysicsManager_DestroyAllProxies(lua_State* L) {
3583  int SWIG_arg = 0;
3585 
3586  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::DestroyAllProxies",1,1)
3587  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DestroyAllProxies",1,"Mezzanine::Physics::PhysicsManager *");
3588 
3589  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3590  SWIG_fail_ptr("PhysicsManager_DestroyAllProxies",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3591  }
3592 
3593  (arg1)->DestroyAllProxies();
3594 
3595  return SWIG_arg;
3596 
3597  if(0) SWIG_fail;
3598 
3599 fail:
3600  lua_error(L);
3601  return SWIG_arg;
3602 }
3603 
3604 
3605 static int _wrap_PhysicsManager_AddConstraint__SWIG_0(lua_State* L) {
3606  int SWIG_arg = 0;
3609  Mezzanine::Boole arg3 ;
3610 
3611  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::AddConstraint",3,3)
3612  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddConstraint",1,"Mezzanine::Physics::PhysicsManager *");
3613  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddConstraint",2,"Mezzanine::Physics::Constraint *");
3614  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddConstraint",3,"Mezzanine::Boole");
3615 
3616  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3617  SWIG_fail_ptr("PhysicsManager_AddConstraint",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3618  }
3619 
3620 
3621  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
3622  SWIG_fail_ptr("PhysicsManager_AddConstraint",2,SWIGTYPE_p_Mezzanine__Physics__Constraint);
3623  }
3624 
3625  arg3 = (lua_toboolean(L, 3)!=0);
3626  (arg1)->AddConstraint(arg2,arg3);
3627 
3628  return SWIG_arg;
3629 
3630  if(0) SWIG_fail;
3631 
3632 fail:
3633  lua_error(L);
3634  return SWIG_arg;
3635 }
3636 
3637 
3638 static int _wrap_PhysicsManager_AddConstraint__SWIG_1(lua_State* L) {
3639  int SWIG_arg = 0;
3642 
3643  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::AddConstraint",2,2)
3644  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddConstraint",1,"Mezzanine::Physics::PhysicsManager *");
3645  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddConstraint",2,"Mezzanine::Physics::Constraint *");
3646 
3647  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3648  SWIG_fail_ptr("PhysicsManager_AddConstraint",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3649  }
3650 
3651 
3652  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
3653  SWIG_fail_ptr("PhysicsManager_AddConstraint",2,SWIGTYPE_p_Mezzanine__Physics__Constraint);
3654  }
3655 
3656  (arg1)->AddConstraint(arg2);
3657 
3658  return SWIG_arg;
3659 
3660  if(0) SWIG_fail;
3661 
3662 fail:
3663  lua_error(L);
3664  return SWIG_arg;
3665 }
3666 
3667 
3668 static int _wrap_PhysicsManager_AddConstraint(lua_State* L) {
3669  int argc;
3670  int argv[4]={
3671  1,2,3,4
3672  };
3673 
3674  argc = lua_gettop(L);
3675  if (argc == 2) {
3676  int _v;
3677  {
3678  void *ptr;
3679  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3680  _v = 0;
3681  } else {
3682  _v = 1;
3683  }
3684  }
3685  if (_v) {
3686  {
3687  void *ptr;
3688  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Constraint, 0)) {
3689  _v = 0;
3690  } else {
3691  _v = 1;
3692  }
3693  }
3694  if (_v) {
3695  return _wrap_PhysicsManager_AddConstraint__SWIG_1(L);
3696  }
3697  }
3698  }
3699  if (argc == 3) {
3700  int _v;
3701  {
3702  void *ptr;
3703  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3704  _v = 0;
3705  } else {
3706  _v = 1;
3707  }
3708  }
3709  if (_v) {
3710  {
3711  void *ptr;
3712  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Constraint, 0)) {
3713  _v = 0;
3714  } else {
3715  _v = 1;
3716  }
3717  }
3718  if (_v) {
3719  {
3720  _v = lua_isboolean(L,argv[2]);
3721  }
3722  if (_v) {
3723  return _wrap_PhysicsManager_AddConstraint__SWIG_0(L);
3724  }
3725  }
3726  }
3727  }
3728 
3729  lua_pushstring(L,"Wrong arguments for overloaded function 'PhysicsManager_AddConstraint'\n"
3730  " Possible C/C++ prototypes are:\n"
3731  " Mezzanine::Physics::PhysicsManager::AddConstraint(Mezzanine::Physics::Constraint *,Mezzanine::Boole)\n"
3732  " Mezzanine::Physics::PhysicsManager::AddConstraint(Mezzanine::Physics::Constraint *)\n");
3733  lua_error(L);return 0;
3734 }
3735 
3736 
3737 static int _wrap_PhysicsManager_GetConstraint(lua_State* L) {
3738  int SWIG_arg = 0;
3740  Mezzanine::Whole *arg2 = 0 ;
3741  Mezzanine::Whole temp2 ;
3742  Mezzanine::Physics::Constraint *result = 0 ;
3743 
3744  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetConstraint",2,2)
3745  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetConstraint",1,"Mezzanine::Physics::PhysicsManager *");
3746  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetConstraint",2,"Mezzanine::Whole const &");
3747 
3748  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3749  SWIG_fail_ptr("PhysicsManager_GetConstraint",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3750  }
3751 
3752  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
3753  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
3754  result = (Mezzanine::Physics::Constraint *)(arg1)->GetConstraint((Mezzanine::Whole const &)*arg2);
3755  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Constraint,0); SWIG_arg++;
3756  return SWIG_arg;
3757 
3758  if(0) SWIG_fail;
3759 
3760 fail:
3761  lua_error(L);
3762  return SWIG_arg;
3763 }
3764 
3765 
3766 static int _wrap_PhysicsManager_GetNumConstraints(lua_State* L) {
3767  int SWIG_arg = 0;
3769  Mezzanine::Whole result;
3770 
3771  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetNumConstraints",1,1)
3772  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetNumConstraints",1,"Mezzanine::Physics::PhysicsManager *");
3773 
3774  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3775  SWIG_fail_ptr("PhysicsManager_GetNumConstraints",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3776  }
3777 
3778  result = (Mezzanine::Whole)(arg1)->GetNumConstraints();
3779  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3780  return SWIG_arg;
3781 
3782  if(0) SWIG_fail;
3783 
3784 fail:
3785  lua_error(L);
3786  return SWIG_arg;
3787 }
3788 
3789 
3790 static int _wrap_PhysicsManager_RemoveConstraint(lua_State* L) {
3791  int SWIG_arg = 0;
3794 
3795  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::RemoveConstraint",2,2)
3796  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveConstraint",1,"Mezzanine::Physics::PhysicsManager *");
3797  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveConstraint",2,"Mezzanine::Physics::Constraint *");
3798 
3799  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3800  SWIG_fail_ptr("PhysicsManager_RemoveConstraint",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3801  }
3802 
3803 
3804  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
3805  SWIG_fail_ptr("PhysicsManager_RemoveConstraint",2,SWIGTYPE_p_Mezzanine__Physics__Constraint);
3806  }
3807 
3808  (arg1)->RemoveConstraint(arg2);
3809 
3810  return SWIG_arg;
3811 
3812  if(0) SWIG_fail;
3813 
3814 fail:
3815  lua_error(L);
3816  return SWIG_arg;
3817 }
3818 
3819 
3820 static int _wrap_PhysicsManager_DestroyAllConstraints(lua_State* L) {
3821  int SWIG_arg = 0;
3823 
3824  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::DestroyAllConstraints",1,1)
3825  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DestroyAllConstraints",1,"Mezzanine::Physics::PhysicsManager *");
3826 
3827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3828  SWIG_fail_ptr("PhysicsManager_DestroyAllConstraints",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3829  }
3830 
3831  (arg1)->DestroyAllConstraints();
3832 
3833  return SWIG_arg;
3834 
3835  if(0) SWIG_fail;
3836 
3837 fail:
3838  lua_error(L);
3839  return SWIG_arg;
3840 }
3841 
3842 
3843 static int _wrap_PhysicsManager_AddWorldTrigger(lua_State* L) {
3844  int SWIG_arg = 0;
3847 
3848  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::AddWorldTrigger",2,2)
3849  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddWorldTrigger",1,"Mezzanine::Physics::PhysicsManager *");
3850  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::AddWorldTrigger",2,"Mezzanine::WorldTrigger *");
3851 
3852  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3853  SWIG_fail_ptr("PhysicsManager_AddWorldTrigger",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3854  }
3855 
3856 
3857  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__WorldTrigger,0))){
3858  SWIG_fail_ptr("PhysicsManager_AddWorldTrigger",2,SWIGTYPE_p_Mezzanine__WorldTrigger);
3859  }
3860 
3861  (arg1)->AddWorldTrigger(arg2);
3862 
3863  return SWIG_arg;
3864 
3865  if(0) SWIG_fail;
3866 
3867 fail:
3868  lua_error(L);
3869  return SWIG_arg;
3870 }
3871 
3872 
3873 static int _wrap_PhysicsManager_GetWorldTrigger__SWIG_0(lua_State* L) {
3874  int SWIG_arg = 0;
3876  Mezzanine::String *arg2 = 0 ;
3877  Mezzanine::String temp2 ;
3878  Mezzanine::WorldTrigger *result = 0 ;
3879 
3880  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetWorldTrigger",2,2)
3881  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldTrigger",1,"Mezzanine::Physics::PhysicsManager *");
3882  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldTrigger",2,"Mezzanine::String const &");
3883 
3884  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3885  SWIG_fail_ptr("PhysicsManager_GetWorldTrigger",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3886  }
3887 
3888  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
3889  result = (Mezzanine::WorldTrigger *)(arg1)->GetWorldTrigger((Mezzanine::String const &)*arg2);
3890  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldTrigger,0); SWIG_arg++;
3891  return SWIG_arg;
3892 
3893  if(0) SWIG_fail;
3894 
3895 fail:
3896  lua_error(L);
3897  return SWIG_arg;
3898 }
3899 
3900 
3901 static int _wrap_PhysicsManager_GetWorldTrigger__SWIG_1(lua_State* L) {
3902  int SWIG_arg = 0;
3904  Mezzanine::Whole *arg2 = 0 ;
3905  Mezzanine::Whole temp2 ;
3906  Mezzanine::WorldTrigger *result = 0 ;
3907 
3908  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetWorldTrigger",2,2)
3909  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldTrigger",1,"Mezzanine::Physics::PhysicsManager *");
3910  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldTrigger",2,"Mezzanine::Whole const &");
3911 
3912  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3913  SWIG_fail_ptr("PhysicsManager_GetWorldTrigger",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3914  }
3915 
3916  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
3917  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
3918  result = (Mezzanine::WorldTrigger *)(arg1)->GetWorldTrigger((Mezzanine::Whole const &)*arg2);
3919  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldTrigger,0); SWIG_arg++;
3920  return SWIG_arg;
3921 
3922  if(0) SWIG_fail;
3923 
3924 fail:
3925  lua_error(L);
3926  return SWIG_arg;
3927 }
3928 
3929 
3930 static int _wrap_PhysicsManager_GetWorldTrigger(lua_State* L) {
3931  int argc;
3932  int argv[3]={
3933  1,2,3
3934  };
3935 
3936  argc = lua_gettop(L);
3937  if (argc == 2) {
3938  int _v;
3939  {
3940  void *ptr;
3941  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3942  _v = 0;
3943  } else {
3944  _v = 1;
3945  }
3946  }
3947  if (_v) {
3948  {
3949  _v = lua_isnumber(L,argv[1]);
3950  }
3951  if (_v) {
3952  return _wrap_PhysicsManager_GetWorldTrigger__SWIG_1(L);
3953  }
3954  }
3955  }
3956  if (argc == 2) {
3957  int _v;
3958  {
3959  void *ptr;
3960  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
3961  _v = 0;
3962  } else {
3963  _v = 1;
3964  }
3965  }
3966  if (_v) {
3967  {
3968  _v = lua_isstring(L,argv[1]);
3969  }
3970  if (_v) {
3971  return _wrap_PhysicsManager_GetWorldTrigger__SWIG_0(L);
3972  }
3973  }
3974  }
3975 
3976  lua_pushstring(L,"Wrong arguments for overloaded function 'PhysicsManager_GetWorldTrigger'\n"
3977  " Possible C/C++ prototypes are:\n"
3978  " Mezzanine::Physics::PhysicsManager::GetWorldTrigger(Mezzanine::String const &)\n"
3979  " Mezzanine::Physics::PhysicsManager::GetWorldTrigger(Mezzanine::Whole const &)\n");
3980  lua_error(L);return 0;
3981 }
3982 
3983 
3984 static int _wrap_PhysicsManager_GetNumWorldTriggers(lua_State* L) {
3985  int SWIG_arg = 0;
3987  Mezzanine::Whole result;
3988 
3989  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetNumWorldTriggers",1,1)
3990  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetNumWorldTriggers",1,"Mezzanine::Physics::PhysicsManager *");
3991 
3992  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
3993  SWIG_fail_ptr("PhysicsManager_GetNumWorldTriggers",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
3994  }
3995 
3996  result = (Mezzanine::Whole)(arg1)->GetNumWorldTriggers();
3997  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3998  return SWIG_arg;
3999 
4000  if(0) SWIG_fail;
4001 
4002 fail:
4003  lua_error(L);
4004  return SWIG_arg;
4005 }
4006 
4007 
4008 static int _wrap_PhysicsManager_RemoveWorldTrigger(lua_State* L) {
4009  int SWIG_arg = 0;
4012 
4013  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::RemoveWorldTrigger",2,2)
4014  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveWorldTrigger",1,"Mezzanine::Physics::PhysicsManager *");
4015  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveWorldTrigger",2,"Mezzanine::WorldTrigger *");
4016 
4017  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4018  SWIG_fail_ptr("PhysicsManager_RemoveWorldTrigger",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4019  }
4020 
4021 
4022  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__WorldTrigger,0))){
4023  SWIG_fail_ptr("PhysicsManager_RemoveWorldTrigger",2,SWIGTYPE_p_Mezzanine__WorldTrigger);
4024  }
4025 
4026  (arg1)->RemoveWorldTrigger(arg2);
4027 
4028  return SWIG_arg;
4029 
4030  if(0) SWIG_fail;
4031 
4032 fail:
4033  lua_error(L);
4034  return SWIG_arg;
4035 }
4036 
4037 
4038 static int _wrap_PhysicsManager_DestroyAllWorldTriggers(lua_State* L) {
4039  int SWIG_arg = 0;
4041 
4042  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::DestroyAllWorldTriggers",1,1)
4043  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DestroyAllWorldTriggers",1,"Mezzanine::Physics::PhysicsManager *");
4044 
4045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4046  SWIG_fail_ptr("PhysicsManager_DestroyAllWorldTriggers",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4047  }
4048 
4049  (arg1)->DestroyAllWorldTriggers();
4050 
4051  return SWIG_arg;
4052 
4053  if(0) SWIG_fail;
4054 
4055 fail:
4056  lua_error(L);
4057  return SWIG_arg;
4058 }
4059 
4060 
4061 static int _wrap_PhysicsManager_GetCollision(lua_State* L) {
4062  int SWIG_arg = 0;
4064  CollidablePair *arg2 = (CollidablePair *) 0 ;
4065  Mezzanine::Physics::Collision *result = 0 ;
4066 
4067  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetCollision",2,2)
4068  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetCollision",1,"Mezzanine::Physics::PhysicsManager *");
4069  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetCollision",2,"CollidablePair *");
4070 
4071  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4072  SWIG_fail_ptr("PhysicsManager_GetCollision",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4073  }
4074 
4075 
4076  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_CollidablePair,0))){
4077  SWIG_fail_ptr("PhysicsManager_GetCollision",2,SWIGTYPE_p_CollidablePair);
4078  }
4079 
4080  result = (Mezzanine::Physics::Collision *)(arg1)->GetCollision(arg2);
4081  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Collision,0); SWIG_arg++;
4082  return SWIG_arg;
4083 
4084  if(0) SWIG_fail;
4085 
4086 fail:
4087  lua_error(L);
4088  return SWIG_arg;
4089 }
4090 
4091 
4092 static int _wrap_PhysicsManager_GetNumCollisions(lua_State* L) {
4093  int SWIG_arg = 0;
4095  Mezzanine::Whole result;
4096 
4097  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetNumCollisions",1,1)
4098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetNumCollisions",1,"Mezzanine::Physics::PhysicsManager *");
4099 
4100  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4101  SWIG_fail_ptr("PhysicsManager_GetNumCollisions",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4102  }
4103 
4104  result = (Mezzanine::Whole)(arg1)->GetNumCollisions();
4105  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
4106  return SWIG_arg;
4107 
4108  if(0) SWIG_fail;
4109 
4110 fail:
4111  lua_error(L);
4112  return SWIG_arg;
4113 }
4114 
4115 
4116 static int _wrap_PhysicsManager_RemoveCollision(lua_State* L) {
4117  int SWIG_arg = 0;
4120 
4121  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::RemoveCollision",2,2)
4122  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveCollision",1,"Mezzanine::Physics::PhysicsManager *");
4123  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveCollision",2,"Mezzanine::Physics::Collision *");
4124 
4125  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4126  SWIG_fail_ptr("PhysicsManager_RemoveCollision",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4127  }
4128 
4129 
4130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
4131  SWIG_fail_ptr("PhysicsManager_RemoveCollision",2,SWIGTYPE_p_Mezzanine__Physics__Collision);
4132  }
4133 
4134  (arg1)->RemoveCollision(arg2);
4135 
4136  return SWIG_arg;
4137 
4138  if(0) SWIG_fail;
4139 
4140 fail:
4141  lua_error(L);
4142  return SWIG_arg;
4143 }
4144 
4145 
4146 static int _wrap_PhysicsManager_RemoveCollisionsContainingProxy(lua_State* L) {
4147  int SWIG_arg = 0;
4150 
4151  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::RemoveCollisionsContainingProxy",2,2)
4152  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveCollisionsContainingProxy",1,"Mezzanine::Physics::PhysicsManager *");
4153  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::RemoveCollisionsContainingProxy",2,"Mezzanine::Physics::CollidableProxy *");
4154 
4155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4156  SWIG_fail_ptr("PhysicsManager_RemoveCollisionsContainingProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4157  }
4158 
4159 
4160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
4161  SWIG_fail_ptr("PhysicsManager_RemoveCollisionsContainingProxy",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
4162  }
4163 
4164  (arg1)->RemoveCollisionsContainingProxy(arg2);
4165 
4166  return SWIG_arg;
4167 
4168  if(0) SWIG_fail;
4169 
4170 fail:
4171  lua_error(L);
4172  return SWIG_arg;
4173 }
4174 
4175 
4176 static int _wrap_PhysicsManager_DestroyAllCollisions(lua_State* L) {
4177  int SWIG_arg = 0;
4179 
4180  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::DestroyAllCollisions",1,1)
4181  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DestroyAllCollisions",1,"Mezzanine::Physics::PhysicsManager *");
4182 
4183  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4184  SWIG_fail_ptr("PhysicsManager_DestroyAllCollisions",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4185  }
4186 
4187  (arg1)->DestroyAllCollisions();
4188 
4189  return SWIG_arg;
4190 
4191  if(0) SWIG_fail;
4192 
4193 fail:
4194  lua_error(L);
4195  return SWIG_arg;
4196 }
4197 
4198 
4199 static int _wrap_PhysicsManager_BeginCollision(lua_State* L) {
4200  int SWIG_arg = 0;
4203 
4204  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::BeginCollision",1,1)
4205  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::BeginCollision",1,"Mezzanine::Physics::PhysicsManager *");
4206 
4207  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4208  SWIG_fail_ptr("PhysicsManager_BeginCollision",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4209  }
4210 
4211  result = (arg1)->BeginCollision();
4212  {
4214  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator,1); SWIG_arg++;
4215  }
4216  return SWIG_arg;
4217 
4218  if(0) SWIG_fail;
4219 
4220 fail:
4221  lua_error(L);
4222  return SWIG_arg;
4223 }
4224 
4225 
4226 static int _wrap_PhysicsManager_EndCollision(lua_State* L) {
4227  int SWIG_arg = 0;
4230 
4231  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::EndCollision",1,1)
4232  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::EndCollision",1,"Mezzanine::Physics::PhysicsManager *");
4233 
4234  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4235  SWIG_fail_ptr("PhysicsManager_EndCollision",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4236  }
4237 
4238  result = (arg1)->EndCollision();
4239  {
4241  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator,1); SWIG_arg++;
4242  }
4243  return SWIG_arg;
4244 
4245  if(0) SWIG_fail;
4246 
4247 fail:
4248  lua_error(L);
4249  return SWIG_arg;
4250 }
4251 
4252 
4253 static int _wrap_PhysicsManager_SetDebugRenderingMode(lua_State* L) {
4254  int SWIG_arg = 0;
4256  Mezzanine::Integer arg2 ;
4257 
4258  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::SetDebugRenderingMode",2,2)
4259  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetDebugRenderingMode",1,"Mezzanine::Physics::PhysicsManager *");
4260  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetDebugRenderingMode",2,"Mezzanine::Integer const");
4261 
4262  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4263  SWIG_fail_ptr("PhysicsManager_SetDebugRenderingMode",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4264  }
4265 
4266  arg2 = (Mezzanine::Integer const)lua_tonumber(L, 2);
4267  (arg1)->SetDebugRenderingMode(arg2);
4268 
4269  return SWIG_arg;
4270 
4271  if(0) SWIG_fail;
4272 
4273 fail:
4274  lua_error(L);
4275  return SWIG_arg;
4276 }
4277 
4278 
4279 static int _wrap_PhysicsManager_GetDebugRenderingMode(lua_State* L) {
4280  int SWIG_arg = 0;
4282  Mezzanine::Integer result;
4283 
4284  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetDebugRenderingMode",1,1)
4285  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetDebugRenderingMode",1,"Mezzanine::Physics::PhysicsManager const *");
4286 
4287  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4288  SWIG_fail_ptr("PhysicsManager_GetDebugRenderingMode",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4289  }
4290 
4291  result = (Mezzanine::Integer)((Mezzanine::Physics::PhysicsManager const *)arg1)->GetDebugRenderingMode();
4292  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
4293  return SWIG_arg;
4294 
4295  if(0) SWIG_fail;
4296 
4297 fail:
4298  lua_error(L);
4299  return SWIG_arg;
4300 }
4301 
4302 
4303 static int _wrap_PhysicsManager_ResetPhysicsWorld__SWIG_0(lua_State* L) {
4304  int SWIG_arg = 0;
4307 
4308  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld",2,2)
4309  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld",1,"Mezzanine::Physics::PhysicsManager *");
4310  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld",2,"ManagerConstructionInfo *");
4311 
4312  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4313  SWIG_fail_ptr("PhysicsManager_ResetPhysicsWorld",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4314  }
4315 
4316 
4317  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_ManagerConstructionInfo,0))){
4318  SWIG_fail_ptr("PhysicsManager_ResetPhysicsWorld",2,SWIGTYPE_p_ManagerConstructionInfo);
4319  }
4320 
4321  (arg1)->ResetPhysicsWorld(arg2);
4322 
4323  return SWIG_arg;
4324 
4325  if(0) SWIG_fail;
4326 
4327 fail:
4328  lua_error(L);
4329  return SWIG_arg;
4330 }
4331 
4332 
4333 static int _wrap_PhysicsManager_ResetPhysicsWorld__SWIG_1(lua_State* L) {
4334  int SWIG_arg = 0;
4336 
4337  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld",1,1)
4338  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld",1,"Mezzanine::Physics::PhysicsManager *");
4339 
4340  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4341  SWIG_fail_ptr("PhysicsManager_ResetPhysicsWorld",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4342  }
4343 
4344  (arg1)->ResetPhysicsWorld();
4345 
4346  return SWIG_arg;
4347 
4348  if(0) SWIG_fail;
4349 
4350 fail:
4351  lua_error(L);
4352  return SWIG_arg;
4353 }
4354 
4355 
4356 static int _wrap_PhysicsManager_ResetPhysicsWorld(lua_State* L) {
4357  int argc;
4358  int argv[3]={
4359  1,2,3
4360  };
4361 
4362  argc = lua_gettop(L);
4363  if (argc == 1) {
4364  int _v;
4365  {
4366  void *ptr;
4367  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
4368  _v = 0;
4369  } else {
4370  _v = 1;
4371  }
4372  }
4373  if (_v) {
4374  return _wrap_PhysicsManager_ResetPhysicsWorld__SWIG_1(L);
4375  }
4376  }
4377  if (argc == 2) {
4378  int _v;
4379  {
4380  void *ptr;
4381  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
4382  _v = 0;
4383  } else {
4384  _v = 1;
4385  }
4386  }
4387  if (_v) {
4388  {
4389  void *ptr;
4390  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_ManagerConstructionInfo, 0)) {
4391  _v = 0;
4392  } else {
4393  _v = 1;
4394  }
4395  }
4396  if (_v) {
4397  return _wrap_PhysicsManager_ResetPhysicsWorld__SWIG_0(L);
4398  }
4399  }
4400  }
4401 
4402  lua_pushstring(L,"Wrong arguments for overloaded function 'PhysicsManager_ResetPhysicsWorld'\n"
4403  " Possible C/C++ prototypes are:\n"
4404  " Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld(ManagerConstructionInfo *)\n"
4405  " Mezzanine::Physics::PhysicsManager::ResetPhysicsWorld()\n");
4406  lua_error(L);return 0;
4407 }
4408 
4409 
4410 static int _wrap_PhysicsManager_ClearPhysicsMetaData(lua_State* L) {
4411  int SWIG_arg = 0;
4413 
4414  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::ClearPhysicsMetaData",1,1)
4415  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::ClearPhysicsMetaData",1,"Mezzanine::Physics::PhysicsManager *");
4416 
4417  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4418  SWIG_fail_ptr("PhysicsManager_ClearPhysicsMetaData",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4419  }
4420 
4421  (arg1)->ClearPhysicsMetaData();
4422 
4423  return SWIG_arg;
4424 
4425  if(0) SWIG_fail;
4426 
4427 fail:
4428  lua_error(L);
4429  return SWIG_arg;
4430 }
4431 
4432 
4433 static int _wrap_PhysicsManager_SetSimulationSubstepModifier(lua_State* L) {
4434  int SWIG_arg = 0;
4436  Mezzanine::Whole *arg2 = 0 ;
4437  Mezzanine::Whole temp2 ;
4438 
4439  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::SetSimulationSubstepModifier",2,2)
4440  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetSimulationSubstepModifier",1,"Mezzanine::Physics::PhysicsManager *");
4441  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::SetSimulationSubstepModifier",2,"Mezzanine::Whole const &");
4442 
4443  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4444  SWIG_fail_ptr("PhysicsManager_SetSimulationSubstepModifier",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4445  }
4446 
4447  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
4448  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
4449  (arg1)->SetSimulationSubstepModifier((Mezzanine::Whole const &)*arg2);
4450 
4451  return SWIG_arg;
4452 
4453  if(0) SWIG_fail;
4454 
4455 fail:
4456  lua_error(L);
4457  return SWIG_arg;
4458 }
4459 
4460 
4461 static int _wrap_PhysicsManager_Pause(lua_State* L) {
4462  int SWIG_arg = 0;
4464  Mezzanine::UInt32 arg2 ;
4465 
4466  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::Pause",2,2)
4467  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::Pause",1,"Mezzanine::Physics::PhysicsManager *");
4468  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::Pause",2,"Mezzanine::UInt32 const");
4469 
4470  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4471  SWIG_fail_ptr("PhysicsManager_Pause",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4472  }
4473 
4474  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
4475  arg2 = (Mezzanine::UInt32 const)lua_tonumber(L, 2);
4476  (arg1)->Pause(arg2);
4477 
4478  return SWIG_arg;
4479 
4480  if(0) SWIG_fail;
4481 
4482 fail:
4483  lua_error(L);
4484  return SWIG_arg;
4485 }
4486 
4487 
4488 static int _wrap_PhysicsManager_MainLoopInitialize(lua_State* L) {
4489  int SWIG_arg = 0;
4491 
4492  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::MainLoopInitialize",1,1)
4493  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::MainLoopInitialize",1,"Mezzanine::Physics::PhysicsManager *");
4494 
4495  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4496  SWIG_fail_ptr("PhysicsManager_MainLoopInitialize",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4497  }
4498 
4499  (arg1)->MainLoopInitialize();
4500 
4501  return SWIG_arg;
4502 
4503  if(0) SWIG_fail;
4504 
4505 fail:
4506  lua_error(L);
4507  return SWIG_arg;
4508 }
4509 
4510 
4511 static int _wrap_PhysicsManager_Initialize(lua_State* L) {
4512  int SWIG_arg = 0;
4514 
4515  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::Initialize",1,1)
4516  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::Initialize",1,"Mezzanine::Physics::PhysicsManager *");
4517 
4518  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4519  SWIG_fail_ptr("PhysicsManager_Initialize",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4520  }
4521 
4522  (arg1)->Initialize();
4523 
4524  return SWIG_arg;
4525 
4526  if(0) SWIG_fail;
4527 
4528 fail:
4529  lua_error(L);
4530  return SWIG_arg;
4531 }
4532 
4533 
4534 static int _wrap_PhysicsManager_Deinitialize(lua_State* L) {
4535  int SWIG_arg = 0;
4537 
4538  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::Deinitialize",1,1)
4539  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::Deinitialize",1,"Mezzanine::Physics::PhysicsManager *");
4540 
4541  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4542  SWIG_fail_ptr("PhysicsManager_Deinitialize",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4543  }
4544 
4545  (arg1)->Deinitialize();
4546 
4547  return SWIG_arg;
4548 
4549  if(0) SWIG_fail;
4550 
4551 fail:
4552  lua_error(L);
4553  return SWIG_arg;
4554 }
4555 
4556 
4557 static int _wrap_PhysicsManager_DoPerFrameWork(lua_State* L) {
4558  int SWIG_arg = 0;
4561 
4562  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::DoPerFrameWork",2,2)
4563  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DoPerFrameWork",1,"Mezzanine::Physics::PhysicsManager *");
4564  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::DoPerFrameWork",2,"Mezzanine::Threading::DefaultThreadSpecificStorage::Type &");
4565 
4566  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4567  SWIG_fail_ptr("PhysicsManager_DoPerFrameWork",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4568  }
4569 
4570 
4571  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,0))){
4572  SWIG_fail_ptr("PhysicsManager_DoPerFrameWork",2,SWIGTYPE_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type);
4573  }
4574 
4575  (arg1)->DoPerFrameWork(*arg2);
4576 
4577  return SWIG_arg;
4578 
4579  if(0) SWIG_fail;
4580 
4581 fail:
4582  lua_error(L);
4583  return SWIG_arg;
4584 }
4585 
4586 
4587 static int _wrap_PhysicsManager_GetSimulationWork(lua_State* L) {
4588  int SWIG_arg = 0;
4591 
4592  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetSimulationWork",1,1)
4593  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetSimulationWork",1,"Mezzanine::Physics::PhysicsManager *");
4594 
4595  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4596  SWIG_fail_ptr("PhysicsManager_GetSimulationWork",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4597  }
4598 
4599  result = (Mezzanine::Threading::DefaultWorkUnit *)(arg1)->GetSimulationWork();
4600  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Threading__DefaultWorkUnit,0); SWIG_arg++;
4601  return SWIG_arg;
4602 
4603  if(0) SWIG_fail;
4604 
4605 fail:
4606  lua_error(L);
4607  return SWIG_arg;
4608 }
4609 
4610 
4611 static int _wrap_PhysicsManager_GetWorldTriggerUpdateWork(lua_State* L) {
4612  int SWIG_arg = 0;
4615 
4616  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetWorldTriggerUpdateWork",1,1)
4617  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetWorldTriggerUpdateWork",1,"Mezzanine::Physics::PhysicsManager *");
4618 
4619  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4620  SWIG_fail_ptr("PhysicsManager_GetWorldTriggerUpdateWork",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4621  }
4622 
4623  result = (Mezzanine::Physics::WorldTriggerUpdateWorkUnit *)(arg1)->GetWorldTriggerUpdateWork();
4624  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit,0); SWIG_arg++;
4625  return SWIG_arg;
4626 
4627  if(0) SWIG_fail;
4628 
4629 fail:
4630  lua_error(L);
4631  return SWIG_arg;
4632 }
4633 
4634 
4635 static int _wrap_PhysicsManager_GetDebugDrawWork(lua_State* L) {
4636  int SWIG_arg = 0;
4639 
4640  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetDebugDrawWork",1,1)
4641  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetDebugDrawWork",1,"Mezzanine::Physics::PhysicsManager *");
4642 
4643  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4644  SWIG_fail_ptr("PhysicsManager_GetDebugDrawWork",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4645  }
4646 
4647  result = (Mezzanine::Physics::DebugDrawWorkUnit *)(arg1)->GetDebugDrawWork();
4648  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DebugDrawWorkUnit,0); SWIG_arg++;
4649  return SWIG_arg;
4650 
4651  if(0) SWIG_fail;
4652 
4653 fail:
4654  lua_error(L);
4655  return SWIG_arg;
4656 }
4657 
4658 
4659 static int _wrap_PhysicsManager_GetInterfaceType(lua_State* L) {
4660  int SWIG_arg = 0;
4662  ManagerBase::ManagerType result;
4663 
4664  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetInterfaceType",1,1)
4665  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetInterfaceType",1,"Mezzanine::Physics::PhysicsManager const *");
4666 
4667  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4668  SWIG_fail_ptr("PhysicsManager_GetInterfaceType",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4669  }
4670 
4671  result = ((Mezzanine::Physics::PhysicsManager const *)arg1)->GetInterfaceType();
4672  {
4674  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_ManagerBase__ManagerType,1); SWIG_arg++;
4675  }
4676  return SWIG_arg;
4677 
4678  if(0) SWIG_fail;
4679 
4680 fail:
4681  lua_error(L);
4682  return SWIG_arg;
4683 }
4684 
4685 
4686 static int _wrap_PhysicsManager_GetImplementationTypeName(lua_State* L) {
4687  int SWIG_arg = 0;
4689  Mezzanine::String result;
4690 
4691  SWIG_check_num_args("Mezzanine::Physics::PhysicsManager::GetImplementationTypeName",1,1)
4692  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PhysicsManager::GetImplementationTypeName",1,"Mezzanine::Physics::PhysicsManager const *");
4693 
4694  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
4695  SWIG_fail_ptr("PhysicsManager_GetImplementationTypeName",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
4696  }
4697 
4698  result = ((Mezzanine::Physics::PhysicsManager const *)arg1)->GetImplementationTypeName();
4699  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
4700  return SWIG_arg;
4701 
4702  if(0) SWIG_fail;
4703 
4704 fail:
4705  lua_error(L);
4706  return SWIG_arg;
4707 }
4708 
4709 
4710 static void swig_delete_PhysicsManager(void *obj) {
4712 delete arg1;
4713 }
4714 static swig_lua_method swig_Mezzanine_Physics_PhysicsManager_methods[] = {
4715  {"PauseSimulation", _wrap_PhysicsManager_PauseSimulation},
4716  {"SimulationIsPaused", _wrap_PhysicsManager_SimulationIsPaused},
4717  {"GetTimeMultiplier", _wrap_PhysicsManager_GetTimeMultiplier},
4718  {"SetTimeMultiplier", _wrap_PhysicsManager_SetTimeMultiplier},
4719  {"SetWorldGravity", _wrap_PhysicsManager_SetWorldGravity},
4720  {"GetWorldGravity", _wrap_PhysicsManager_GetWorldGravity},
4721  {"SetWorldSoftGravity", _wrap_PhysicsManager_SetWorldSoftGravity},
4722  {"GetWorldSoftGravity", _wrap_PhysicsManager_GetWorldSoftGravity},
4723  {"CreateGhostProxy", _wrap_PhysicsManager_CreateGhostProxy},
4724  {"CreateRigidProxy", _wrap_PhysicsManager_CreateRigidProxy},
4725  {"CreateSoftProxy", _wrap_PhysicsManager_CreateSoftProxy},
4726  {"GetProxy", _wrap_PhysicsManager_GetProxy},
4727  {"GetNumProxies", _wrap_PhysicsManager_GetNumProxies},
4728  {"DestroyProxy", _wrap_PhysicsManager_DestroyProxy},
4729  {"DestroyAllProxies", _wrap_PhysicsManager_DestroyAllProxies},
4730  {"AddConstraint", _wrap_PhysicsManager_AddConstraint},
4731  {"GetConstraint", _wrap_PhysicsManager_GetConstraint},
4732  {"GetNumConstraints", _wrap_PhysicsManager_GetNumConstraints},
4733  {"RemoveConstraint", _wrap_PhysicsManager_RemoveConstraint},
4734  {"DestroyAllConstraints", _wrap_PhysicsManager_DestroyAllConstraints},
4735  {"AddWorldTrigger", _wrap_PhysicsManager_AddWorldTrigger},
4736  {"GetWorldTrigger", _wrap_PhysicsManager_GetWorldTrigger},
4737  {"GetNumWorldTriggers", _wrap_PhysicsManager_GetNumWorldTriggers},
4738  {"RemoveWorldTrigger", _wrap_PhysicsManager_RemoveWorldTrigger},
4739  {"DestroyAllWorldTriggers", _wrap_PhysicsManager_DestroyAllWorldTriggers},
4740  {"GetCollision", _wrap_PhysicsManager_GetCollision},
4741  {"GetNumCollisions", _wrap_PhysicsManager_GetNumCollisions},
4742  {"RemoveCollision", _wrap_PhysicsManager_RemoveCollision},
4743  {"RemoveCollisionsContainingProxy", _wrap_PhysicsManager_RemoveCollisionsContainingProxy},
4744  {"DestroyAllCollisions", _wrap_PhysicsManager_DestroyAllCollisions},
4745  {"BeginCollision", _wrap_PhysicsManager_BeginCollision},
4746  {"EndCollision", _wrap_PhysicsManager_EndCollision},
4747  {"SetDebugRenderingMode", _wrap_PhysicsManager_SetDebugRenderingMode},
4748  {"GetDebugRenderingMode", _wrap_PhysicsManager_GetDebugRenderingMode},
4749  {"ResetPhysicsWorld", _wrap_PhysicsManager_ResetPhysicsWorld},
4750  {"ClearPhysicsMetaData", _wrap_PhysicsManager_ClearPhysicsMetaData},
4751  {"SetSimulationSubstepModifier", _wrap_PhysicsManager_SetSimulationSubstepModifier},
4752  {"Pause", _wrap_PhysicsManager_Pause},
4753  {"MainLoopInitialize", _wrap_PhysicsManager_MainLoopInitialize},
4754  {"Initialize", _wrap_PhysicsManager_Initialize},
4755  {"Deinitialize", _wrap_PhysicsManager_Deinitialize},
4756  {"DoPerFrameWork", _wrap_PhysicsManager_DoPerFrameWork},
4757  {"GetSimulationWork", _wrap_PhysicsManager_GetSimulationWork},
4758  {"GetWorldTriggerUpdateWork", _wrap_PhysicsManager_GetWorldTriggerUpdateWork},
4759  {"GetDebugDrawWork", _wrap_PhysicsManager_GetDebugDrawWork},
4760  {"GetInterfaceType", _wrap_PhysicsManager_GetInterfaceType},
4761  {"GetImplementationTypeName", _wrap_PhysicsManager_GetImplementationTypeName},
4762  {0,0}
4763 };
4764 static swig_lua_attribute swig_Mezzanine_Physics_PhysicsManager_attributes[] = {
4765  {0,0,0}
4766 };
4767 static swig_lua_class *swig_Mezzanine_Physics_PhysicsManager_bases[] = {0};
4768 static const char *swig_Mezzanine_Physics_PhysicsManager_base_names[] = {0};
4769 static swig_lua_class _wrap_class_Mezzanine_Physics_PhysicsManager = { "PhysicsManager", &SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,_wrap_new_PhysicsManager, swig_delete_PhysicsManager, swig_Mezzanine_Physics_PhysicsManager_methods, swig_Mezzanine_Physics_PhysicsManager_attributes, swig_Mezzanine_Physics_PhysicsManager_bases, swig_Mezzanine_Physics_PhysicsManager_base_names };
4770 
4771 static int _wrap_new_DefaultPhysicsManagerFactory(lua_State* L) {
4772  int SWIG_arg = 0;
4774 
4775  SWIG_check_num_args("Mezzanine::Physics::DefaultPhysicsManagerFactory::DefaultPhysicsManagerFactory",0,0)
4776  result = (Mezzanine::Physics::DefaultPhysicsManagerFactory *)new Mezzanine::Physics::DefaultPhysicsManagerFactory();
4777  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory,1); SWIG_arg++;
4778  return SWIG_arg;
4779 
4780  if(0) SWIG_fail;
4781 
4782 fail:
4783  lua_error(L);
4784  return SWIG_arg;
4785 }
4786 
4787 
4788 static int _wrap_DefaultPhysicsManagerFactory_GetManagerTypeName(lua_State* L) {
4789  int SWIG_arg = 0;
4791  Mezzanine::String result;
4792 
4793  SWIG_check_num_args("Mezzanine::Physics::DefaultPhysicsManagerFactory::GetManagerTypeName",1,1)
4794  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::GetManagerTypeName",1,"Mezzanine::Physics::DefaultPhysicsManagerFactory const *");
4795 
4796  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory,0))){
4797  SWIG_fail_ptr("DefaultPhysicsManagerFactory_GetManagerTypeName",1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory);
4798  }
4799 
4800  result = ((Mezzanine::Physics::DefaultPhysicsManagerFactory const *)arg1)->GetManagerTypeName();
4801  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
4802  return SWIG_arg;
4803 
4804  if(0) SWIG_fail;
4805 
4806 fail:
4807  lua_error(L);
4808  return SWIG_arg;
4809 }
4810 
4811 
4812 static int _wrap_DefaultPhysicsManagerFactory_CreateManager__SWIG_0(lua_State* L) {
4813  int SWIG_arg = 0;
4815  Mezzanine::NameValuePairList *arg2 = 0 ;
4816  ManagerBase *result = 0 ;
4817 
4818  SWIG_check_num_args("Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager",2,2)
4819  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager",1,"Mezzanine::Physics::DefaultPhysicsManagerFactory *");
4820  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager",2,"Mezzanine::NameValuePairList &");
4821 
4822  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory,0))){
4823  SWIG_fail_ptr("DefaultPhysicsManagerFactory_CreateManager",1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory);
4824  }
4825 
4826 
4827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t,0))){
4828  SWIG_fail_ptr("DefaultPhysicsManagerFactory_CreateManager",2,SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t);
4829  }
4830 
4831  result = (ManagerBase *)(arg1)->CreateManager(*arg2);
4832  SWIG_NewPointerObj(L,result,SWIGTYPE_p_ManagerBase,0); SWIG_arg++;
4833  return SWIG_arg;
4834 
4835  if(0) SWIG_fail;
4836 
4837 fail:
4838  lua_error(L);
4839  return SWIG_arg;
4840 }
4841 
4842 
4843 static int _wrap_DefaultPhysicsManagerFactory_CreateManager__SWIG_1(lua_State* L) {
4844  int SWIG_arg = 0;
4846  XML::Node *arg2 = 0 ;
4847  ManagerBase *result = 0 ;
4848 
4849  SWIG_check_num_args("Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager",2,2)
4850  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager",1,"Mezzanine::Physics::DefaultPhysicsManagerFactory *");
4851  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager",2,"XML::Node &");
4852 
4853  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory,0))){
4854  SWIG_fail_ptr("DefaultPhysicsManagerFactory_CreateManager",1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory);
4855  }
4856 
4857 
4858  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
4859  SWIG_fail_ptr("DefaultPhysicsManagerFactory_CreateManager",2,SWIGTYPE_p_XML__Node);
4860  }
4861 
4862  result = (ManagerBase *)(arg1)->CreateManager(*arg2);
4863  SWIG_NewPointerObj(L,result,SWIGTYPE_p_ManagerBase,0); SWIG_arg++;
4864  return SWIG_arg;
4865 
4866  if(0) SWIG_fail;
4867 
4868 fail:
4869  lua_error(L);
4870  return SWIG_arg;
4871 }
4872 
4873 
4874 static int _wrap_DefaultPhysicsManagerFactory_CreateManager(lua_State* L) {
4875  int argc;
4876  int argv[3]={
4877  1,2,3
4878  };
4879 
4880  argc = lua_gettop(L);
4881  if (argc == 2) {
4882  int _v;
4883  {
4884  void *ptr;
4885  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory, 0)) {
4886  _v = 0;
4887  } else {
4888  _v = 1;
4889  }
4890  }
4891  if (_v) {
4892  {
4893  void *ptr;
4894  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t, 0)) {
4895  _v = 0;
4896  } else {
4897  _v = 1;
4898  }
4899  }
4900  if (_v) {
4901  return _wrap_DefaultPhysicsManagerFactory_CreateManager__SWIG_0(L);
4902  }
4903  }
4904  }
4905  if (argc == 2) {
4906  int _v;
4907  {
4908  void *ptr;
4909  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory, 0)) {
4910  _v = 0;
4911  } else {
4912  _v = 1;
4913  }
4914  }
4915  if (_v) {
4916  {
4917  void *ptr;
4918  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
4919  _v = 0;
4920  } else {
4921  _v = 1;
4922  }
4923  }
4924  if (_v) {
4925  return _wrap_DefaultPhysicsManagerFactory_CreateManager__SWIG_1(L);
4926  }
4927  }
4928  }
4929 
4930  lua_pushstring(L,"Wrong arguments for overloaded function 'DefaultPhysicsManagerFactory_CreateManager'\n"
4931  " Possible C/C++ prototypes are:\n"
4932  " Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager(Mezzanine::NameValuePairList &)\n"
4933  " Mezzanine::Physics::DefaultPhysicsManagerFactory::CreateManager(XML::Node &)\n");
4934  lua_error(L);return 0;
4935 }
4936 
4937 
4938 static int _wrap_DefaultPhysicsManagerFactory_DestroyManager(lua_State* L) {
4939  int SWIG_arg = 0;
4941  ManagerBase *arg2 = (ManagerBase *) 0 ;
4942 
4943  SWIG_check_num_args("Mezzanine::Physics::DefaultPhysicsManagerFactory::DestroyManager",2,2)
4944  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::DestroyManager",1,"Mezzanine::Physics::DefaultPhysicsManagerFactory *");
4945  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::DefaultPhysicsManagerFactory::DestroyManager",2,"ManagerBase *");
4946 
4947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory,0))){
4948  SWIG_fail_ptr("DefaultPhysicsManagerFactory_DestroyManager",1,SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory);
4949  }
4950 
4951 
4952  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_ManagerBase,0))){
4953  SWIG_fail_ptr("DefaultPhysicsManagerFactory_DestroyManager",2,SWIGTYPE_p_ManagerBase);
4954  }
4955 
4956  (arg1)->DestroyManager(arg2);
4957 
4958  return SWIG_arg;
4959 
4960  if(0) SWIG_fail;
4961 
4962 fail:
4963  lua_error(L);
4964  return SWIG_arg;
4965 }
4966 
4967 
4968 static void swig_delete_DefaultPhysicsManagerFactory(void *obj) {
4970 delete arg1;
4971 }
4972 static swig_lua_method swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_methods[] = {
4973  {"GetManagerTypeName", _wrap_DefaultPhysicsManagerFactory_GetManagerTypeName},
4974  {"CreateManager", _wrap_DefaultPhysicsManagerFactory_CreateManager},
4975  {"DestroyManager", _wrap_DefaultPhysicsManagerFactory_DestroyManager},
4976  {0,0}
4977 };
4978 static swig_lua_attribute swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_attributes[] = {
4979  {0,0,0}
4980 };
4981 static swig_lua_class *swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_bases[] = {0};
4982 static const char *swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_base_names[] = {0};
4983 static swig_lua_class _wrap_class_Mezzanine_Physics_DefaultPhysicsManagerFactory = { "DefaultPhysicsManagerFactory", &SWIGTYPE_p_Mezzanine__Physics__DefaultPhysicsManagerFactory,_wrap_new_DefaultPhysicsManagerFactory, swig_delete_DefaultPhysicsManagerFactory, swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_methods, swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_attributes, swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_bases, swig_Mezzanine_Physics_DefaultPhysicsManagerFactory_base_names };
4984 
4985 static int _wrap_CollisionShape_GetName(lua_State* L) {
4986  int SWIG_arg = 0;
4988  Mezzanine::String *result = 0 ;
4989 
4990  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::GetName",1,1)
4991  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::GetName",1,"Mezzanine::Physics::CollisionShape const *");
4992 
4993  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
4994  SWIG_fail_ptr("CollisionShape_GetName",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
4995  }
4996 
4997  result = (Mezzanine::String *) &((Mezzanine::Physics::CollisionShape const *)arg1)->GetName();
4998  lua_pushlstring(L,result->data(),result->size()); SWIG_arg++;
4999  return SWIG_arg;
5000 
5001  if(0) SWIG_fail;
5002 
5003 fail:
5004  lua_error(L);
5005  return SWIG_arg;
5006 }
5007 
5008 
5009 static int _wrap_CollisionShape_GetType(lua_State* L) {
5010  int SWIG_arg = 0;
5013 
5014  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::GetType",1,1)
5015  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::GetType",1,"Mezzanine::Physics::CollisionShape const *");
5016 
5017  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5018  SWIG_fail_ptr("CollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5019  }
5020 
5022  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
5023  return SWIG_arg;
5024 
5025  if(0) SWIG_fail;
5026 
5027 fail:
5028  lua_error(L);
5029  return SWIG_arg;
5030 }
5031 
5032 
5033 static int _wrap_CollisionShape_SetMargin(lua_State* L) {
5034  int SWIG_arg = 0;
5036  Mezzanine::Real *arg2 = 0 ;
5037  Mezzanine::Real temp2 ;
5038 
5039  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::SetMargin",2,2)
5040  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::SetMargin",1,"Mezzanine::Physics::CollisionShape *");
5041  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::SetMargin",2,"Mezzanine::Real const &");
5042 
5043  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5044  SWIG_fail_ptr("CollisionShape_SetMargin",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5045  }
5046 
5047  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
5048  (arg1)->SetMargin((Mezzanine::Real const &)*arg2);
5049 
5050  return SWIG_arg;
5051 
5052  if(0) SWIG_fail;
5053 
5054 fail:
5055  lua_error(L);
5056  return SWIG_arg;
5057 }
5058 
5059 
5060 static int _wrap_CollisionShape_GetMargin(lua_State* L) {
5061  int SWIG_arg = 0;
5063  Mezzanine::Real result;
5064 
5065  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::GetMargin",1,1)
5066  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::GetMargin",1,"Mezzanine::Physics::CollisionShape const *");
5067 
5068  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5069  SWIG_fail_ptr("CollisionShape_GetMargin",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5070  }
5071 
5072  result = (Mezzanine::Real)((Mezzanine::Physics::CollisionShape const *)arg1)->GetMargin();
5073  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5074  return SWIG_arg;
5075 
5076  if(0) SWIG_fail;
5077 
5078 fail:
5079  lua_error(L);
5080  return SWIG_arg;
5081 }
5082 
5083 
5084 static int _wrap_CollisionShape_SetScaling(lua_State* L) {
5085  int SWIG_arg = 0;
5087  Mezzanine::Physics::Vector3 *arg2 = 0 ;
5088 
5089  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::SetScaling",2,2)
5090  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::SetScaling",1,"Mezzanine::Physics::CollisionShape *");
5091  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::SetScaling",2,"Mezzanine::Physics::Vector3 const &");
5092 
5093  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5094  SWIG_fail_ptr("CollisionShape_SetScaling",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5095  }
5096 
5097 
5098  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
5099  SWIG_fail_ptr("CollisionShape_SetScaling",2,SWIGTYPE_p_Mezzanine__Vector3);
5100  }
5101 
5102  (arg1)->SetScaling((Mezzanine::Physics::Vector3 const &)*arg2);
5103 
5104  return SWIG_arg;
5105 
5106  if(0) SWIG_fail;
5107 
5108 fail:
5109  lua_error(L);
5110  return SWIG_arg;
5111 }
5112 
5113 
5114 static int _wrap_CollisionShape_GetScaling(lua_State* L) {
5115  int SWIG_arg = 0;
5118 
5119  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::GetScaling",1,1)
5120  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::GetScaling",1,"Mezzanine::Physics::CollisionShape const *");
5121 
5122  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5123  SWIG_fail_ptr("CollisionShape_GetScaling",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5124  }
5125 
5126  result = ((Mezzanine::Physics::CollisionShape const *)arg1)->GetScaling();
5127  {
5129  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
5130  }
5131  return SWIG_arg;
5132 
5133  if(0) SWIG_fail;
5134 
5135 fail:
5136  lua_error(L);
5137  return SWIG_arg;
5138 }
5139 
5140 
5141 static int _wrap_CollisionShape_ProtoSerialize(lua_State* L) {
5142  int SWIG_arg = 0;
5144  XML::Node *arg2 = 0 ;
5145 
5146  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::ProtoSerialize",2,2)
5147  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::ProtoSerialize",1,"Mezzanine::Physics::CollisionShape const *");
5148  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::ProtoSerialize",2,"XML::Node &");
5149 
5150  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5151  SWIG_fail_ptr("CollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5152  }
5153 
5154 
5155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
5156  SWIG_fail_ptr("CollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
5157  }
5158 
5159  ((Mezzanine::Physics::CollisionShape const *)arg1)->ProtoSerialize(*arg2);
5160 
5161  return SWIG_arg;
5162 
5163  if(0) SWIG_fail;
5164 
5165 fail:
5166  lua_error(L);
5167  return SWIG_arg;
5168 }
5169 
5170 
5171 static int _wrap_CollisionShape_ProtoDeSerialize(lua_State* L) {
5172  int SWIG_arg = 0;
5174  XML::Node *arg2 = 0 ;
5175 
5176  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::ProtoDeSerialize",2,2)
5177  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::CollisionShape *");
5178  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::ProtoDeSerialize",2,"XML::Node const &");
5179 
5180  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5181  SWIG_fail_ptr("CollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5182  }
5183 
5184 
5185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
5186  SWIG_fail_ptr("CollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
5187  }
5188 
5189  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
5190 
5191  return SWIG_arg;
5192 
5193  if(0) SWIG_fail;
5194 
5195 fail:
5196  lua_error(L);
5197  return SWIG_arg;
5198 }
5199 
5200 
5201 static int _wrap_CollisionShape_SerializableName(lua_State* L) {
5202  int SWIG_arg = 0;
5203  Mezzanine::String result;
5204 
5205  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::SerializableName",0,0)
5206  result = Mezzanine::Physics::CollisionShape::SerializableName();
5207  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
5208  return SWIG_arg;
5209 
5210  if(0) SWIG_fail;
5211 
5212 fail:
5213  lua_error(L);
5214  return SWIG_arg;
5215 }
5216 
5217 
5218 static int _wrap_CollisionShape__SetShapeName(lua_State* L) {
5219  int SWIG_arg = 0;
5221  Mezzanine::String *arg2 = 0 ;
5222  Mezzanine::String temp2 ;
5223 
5224  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::_SetShapeName",2,2)
5225  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::_SetShapeName",1,"Mezzanine::Physics::CollisionShape *");
5226  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::_SetShapeName",2,"Mezzanine::String const &");
5227 
5228  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5229  SWIG_fail_ptr("CollisionShape__SetShapeName",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5230  }
5231 
5232  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
5233  (arg1)->_SetShapeName((Mezzanine::String const &)*arg2);
5234 
5235  return SWIG_arg;
5236 
5237  if(0) SWIG_fail;
5238 
5239 fail:
5240  lua_error(L);
5241  return SWIG_arg;
5242 }
5243 
5244 
5245 static int _wrap_CollisionShape__GetInternalShape(lua_State* L) {
5246  int SWIG_arg = 0;
5248  btCollisionShape *result = 0 ;
5249 
5250  SWIG_check_num_args("Mezzanine::Physics::CollisionShape::_GetInternalShape",1,1)
5251  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShape::_GetInternalShape",1,"Mezzanine::Physics::CollisionShape const *");
5252 
5253  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5254  SWIG_fail_ptr("CollisionShape__GetInternalShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5255  }
5256 
5257  result = (btCollisionShape *)((Mezzanine::Physics::CollisionShape const *)arg1)->_GetInternalShape();
5258  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCollisionShape,0); SWIG_arg++;
5259  return SWIG_arg;
5260 
5261  if(0) SWIG_fail;
5262 
5263 fail:
5264  lua_error(L);
5265  return SWIG_arg;
5266 }
5267 
5268 
5269 static void swig_delete_CollisionShape(void *obj) {
5271 delete arg1;
5272 }
5273 static swig_lua_method swig_Mezzanine_Physics_CollisionShape_methods[] = {
5274  {"GetName", _wrap_CollisionShape_GetName},
5275  {"GetType", _wrap_CollisionShape_GetType},
5276  {"SetMargin", _wrap_CollisionShape_SetMargin},
5277  {"GetMargin", _wrap_CollisionShape_GetMargin},
5278  {"SetScaling", _wrap_CollisionShape_SetScaling},
5279  {"GetScaling", _wrap_CollisionShape_GetScaling},
5280  {"ProtoSerialize", _wrap_CollisionShape_ProtoSerialize},
5281  {"ProtoDeSerialize", _wrap_CollisionShape_ProtoDeSerialize},
5282  {"_SetShapeName", _wrap_CollisionShape__SetShapeName},
5283  {"_GetInternalShape", _wrap_CollisionShape__GetInternalShape},
5284  {0,0}
5285 };
5286 static swig_lua_attribute swig_Mezzanine_Physics_CollisionShape_attributes[] = {
5287  {0,0,0}
5288 };
5289 static swig_lua_class *swig_Mezzanine_Physics_CollisionShape_bases[] = {0};
5290 static const char *swig_Mezzanine_Physics_CollisionShape_base_names[] = {0};
5291 static swig_lua_class _wrap_class_Mezzanine_Physics_CollisionShape = { "CollisionShape", &SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0, swig_delete_CollisionShape, swig_Mezzanine_Physics_CollisionShape_methods, swig_Mezzanine_Physics_CollisionShape_attributes, swig_Mezzanine_Physics_CollisionShape_bases, swig_Mezzanine_Physics_CollisionShape_base_names };
5292 
5293 static int _wrap_CreateShape__SWIG_0(lua_State* L) {
5294  int SWIG_arg = 0;
5296  Mezzanine::String *arg2 = 0 ;
5297  btCollisionShape *arg3 = (btCollisionShape *) 0 ;
5298  Mezzanine::String temp2 ;
5300 
5301  SWIG_check_num_args("Mezzanine::Physics::CreateShape",3,3)
5302  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::CreateShape",1,"Mezzanine::Physics::CollisionShape::ShapeType");
5303  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CreateShape",2,"Mezzanine::String const &");
5304  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CreateShape",3,"btCollisionShape *");
5305  arg1 = (Mezzanine::Physics::CollisionShape::ShapeType)(int)lua_tonumber(L, 1);
5306  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
5307 
5308  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_btCollisionShape,0))){
5309  SWIG_fail_ptr("CreateShape",3,SWIGTYPE_p_btCollisionShape);
5310  }
5311 
5312  result = (Mezzanine::Physics::CollisionShape *)Mezzanine::Physics::CreateShape(arg1,(std::string const &)*arg2,arg3);
5313  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
5314  return SWIG_arg;
5315 
5316  if(0) SWIG_fail;
5317 
5318 fail:
5319  lua_error(L);
5320  return SWIG_arg;
5321 }
5322 
5323 
5324 static int _wrap_CreateShape__SWIG_1(lua_State* L) {
5325  int SWIG_arg = 0;
5326  XML::Node arg1 ;
5327  XML::Node *argp1 ;
5329 
5330  SWIG_check_num_args("Mezzanine::Physics::CreateShape",1,1)
5331  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::CreateShape",1,"XML::Node");
5332 
5333  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
5334  SWIG_fail_ptr("CreateShape",1,SWIGTYPE_p_XML__Node);
5335  }
5336  arg1 = *argp1;
5337 
5339  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
5340  return SWIG_arg;
5341 
5342  if(0) SWIG_fail;
5343 
5344 fail:
5345  lua_error(L);
5346  return SWIG_arg;
5347 }
5348 
5349 
5350 static int _wrap_CreateShape(lua_State* L) {
5351  int argc;
5352  int argv[4]={
5353  1,2,3,4
5354  };
5355 
5356  argc = lua_gettop(L);
5357  if (argc == 1) {
5358  int _v;
5359  {
5360  void *ptr;
5361  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
5362  _v = 0;
5363  } else {
5364  _v = 1;
5365  }
5366  }
5367  if (_v) {
5368  return _wrap_CreateShape__SWIG_1(L);
5369  }
5370  }
5371  if (argc == 3) {
5372  int _v;
5373  {
5374  _v = lua_isnumber(L,argv[0]);
5375  }
5376  if (_v) {
5377  {
5378  _v = lua_isstring(L,argv[1]);
5379  }
5380  if (_v) {
5381  {
5382  void *ptr;
5383  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_btCollisionShape, 0)) {
5384  _v = 0;
5385  } else {
5386  _v = 1;
5387  }
5388  }
5389  if (_v) {
5390  return _wrap_CreateShape__SWIG_0(L);
5391  }
5392  }
5393  }
5394  }
5395 
5396  lua_pushstring(L,"Wrong arguments for overloaded function 'CreateShape'\n"
5397  " Possible C/C++ prototypes are:\n"
5398  " Mezzanine::Physics::CreateShape(Mezzanine::Physics::CollisionShape::ShapeType,Mezzanine::String const &,btCollisionShape *)\n"
5399  " Mezzanine::Physics::CreateShape(XML::Node)\n");
5400  lua_error(L);return 0;
5401 }
5402 
5403 
5404 static int _wrap_InternalShapeTypeToShapeType(lua_State* L) {
5405  int SWIG_arg = 0;
5406  int arg1 ;
5408 
5409  SWIG_check_num_args("Mezzanine::Physics::InternalShapeTypeToShapeType",1,1)
5410  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::InternalShapeTypeToShapeType",1,"int");
5411  arg1 = (int)lua_tonumber(L, 1);
5412  result = (Mezzanine::Physics::CollisionShape::ShapeType)Mezzanine::Physics::InternalShapeTypeToShapeType(arg1);
5413  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
5414  return SWIG_arg;
5415 
5416  if(0) SWIG_fail;
5417 
5418 fail:
5419  lua_error(L);
5420  return SWIG_arg;
5421 }
5422 
5423 
5424 static int _wrap_ShapeTypeToString(lua_State* L) {
5425  int SWIG_arg = 0;
5427  Mezzanine::String result;
5428 
5429  SWIG_check_num_args("Mezzanine::Physics::ShapeTypeToString",1,1)
5430  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::ShapeTypeToString",1,"Mezzanine::Physics::CollisionShape::ShapeType");
5431  arg1 = (Mezzanine::Physics::CollisionShape::ShapeType)(int)lua_tonumber(L, 1);
5432  result = Mezzanine::Physics::ShapeTypeToString(arg1);
5433  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
5434  return SWIG_arg;
5435 
5436  if(0) SWIG_fail;
5437 
5438 fail:
5439  lua_error(L);
5440  return SWIG_arg;
5441 }
5442 
5443 
5444 static int _wrap_StringToShapeType(lua_State* L) {
5445  int SWIG_arg = 0;
5446  Mezzanine::String *arg1 = 0 ;
5447  Mezzanine::String temp1 ;
5449 
5450  SWIG_check_num_args("Mezzanine::Physics::StringToShapeType",1,1)
5451  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::StringToShapeType",1,"Mezzanine::String const &");
5452  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
5453  result = (Mezzanine::Physics::CollisionShape::ShapeType)Mezzanine::Physics::StringToShapeType((std::string const &)*arg1);
5454  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
5455  return SWIG_arg;
5456 
5457  if(0) SWIG_fail;
5458 
5459 fail:
5460  lua_error(L);
5461  return SWIG_arg;
5462 }
5463 
5464 
5465 static int _wrap_CollisionShapeDeSerializer_ProtoDeSerialize(lua_State* L) {
5466  int SWIG_arg = 0;
5468  XML::Node *arg2 = 0 ;
5470 
5471  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeDeSerializer::ProtoDeSerialize",2,2)
5472  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::ProtoDeSerialize",1,"Mezzanine::Physics::CollisionShapeDeSerializer *");
5473  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::ProtoDeSerialize",2,"XML::Node const &");
5474 
5475  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer,0))){
5476  SWIG_fail_ptr("CollisionShapeDeSerializer_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer);
5477  }
5478 
5479 
5480  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
5481  SWIG_fail_ptr("CollisionShapeDeSerializer_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
5482  }
5483 
5484  result = (Mezzanine::Physics::CollisionShape *)(arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
5485  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
5486  return SWIG_arg;
5487 
5488  if(0) SWIG_fail;
5489 
5490 fail:
5491  lua_error(L);
5492  return SWIG_arg;
5493 }
5494 
5495 
5496 static int _wrap_CollisionShapeDeSerializer_DeSerialize(lua_State* L) {
5497  int SWIG_arg = 0;
5499  std::istream *arg2 = 0 ;
5500  std::istream *result = 0 ;
5501 
5502  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeDeSerializer::DeSerialize",2,2)
5503  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::DeSerialize",1,"Mezzanine::Physics::CollisionShapeDeSerializer *");
5504  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::DeSerialize",2,"std::istream &");
5505 
5506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer,0))){
5507  SWIG_fail_ptr("CollisionShapeDeSerializer_DeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer);
5508  }
5509 
5510 
5511  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__istream,0))){
5512  SWIG_fail_ptr("CollisionShapeDeSerializer_DeSerialize",2,SWIGTYPE_p_std__istream);
5513  }
5514 
5515  result = (std::istream *) &(arg1)->DeSerialize(*arg2);
5516  SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__istream,0); SWIG_arg++;
5517  return SWIG_arg;
5518 
5519  if(0) SWIG_fail;
5520 
5521 fail:
5522  lua_error(L);
5523  return SWIG_arg;
5524 }
5525 
5526 
5527 static int _wrap_CollisionShapeDeSerializer_DeSerializeAndRetrieve(lua_State* L) {
5528  int SWIG_arg = 0;
5530  std::istream *arg2 = 0 ;
5532 
5533  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeDeSerializer::DeSerializeAndRetrieve",2,2)
5534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::DeSerializeAndRetrieve",1,"Mezzanine::Physics::CollisionShapeDeSerializer *");
5535  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::DeSerializeAndRetrieve",2,"std::istream &");
5536 
5537  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer,0))){
5538  SWIG_fail_ptr("CollisionShapeDeSerializer_DeSerializeAndRetrieve",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer);
5539  }
5540 
5541 
5542  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__istream,0))){
5543  SWIG_fail_ptr("CollisionShapeDeSerializer_DeSerializeAndRetrieve",2,SWIGTYPE_p_std__istream);
5544  }
5545 
5546  result = (Mezzanine::Physics::CollisionShape *)(arg1)->DeSerializeAndRetrieve(*arg2);
5547  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
5548  return SWIG_arg;
5549 
5550  if(0) SWIG_fail;
5551 
5552 fail:
5553  lua_error(L);
5554  return SWIG_arg;
5555 }
5556 
5557 
5558 static int _wrap_CollisionShapeDeSerializer_ContainerName(lua_State* L) {
5559  int SWIG_arg = 0;
5561  Mezzanine::String result;
5562 
5563  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeDeSerializer::ContainerName",1,1)
5564  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeDeSerializer::ContainerName",1,"Mezzanine::Physics::CollisionShapeDeSerializer const *");
5565 
5566  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer,0))){
5567  SWIG_fail_ptr("CollisionShapeDeSerializer_ContainerName",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer);
5568  }
5569 
5570  result = ((Mezzanine::Physics::CollisionShapeDeSerializer const *)arg1)->ContainerName();
5571  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
5572  return SWIG_arg;
5573 
5574  if(0) SWIG_fail;
5575 
5576 fail:
5577  lua_error(L);
5578  return SWIG_arg;
5579 }
5580 
5581 
5582 static int _wrap_new_CollisionShapeDeSerializer(lua_State* L) {
5583  int SWIG_arg = 0;
5585 
5586  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeDeSerializer::CollisionShapeDeSerializer",0,0)
5587  result = (Mezzanine::Physics::CollisionShapeDeSerializer *)new Mezzanine::Physics::CollisionShapeDeSerializer();
5588  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer,1); SWIG_arg++;
5589  return SWIG_arg;
5590 
5591  if(0) SWIG_fail;
5592 
5593 fail:
5594  lua_error(L);
5595  return SWIG_arg;
5596 }
5597 
5598 
5599 static void swig_delete_CollisionShapeDeSerializer(void *obj) {
5601 delete arg1;
5602 }
5603 static swig_lua_method swig_Mezzanine_Physics_CollisionShapeDeSerializer_methods[] = {
5604  {"ProtoDeSerialize", _wrap_CollisionShapeDeSerializer_ProtoDeSerialize},
5605  {"DeSerialize", _wrap_CollisionShapeDeSerializer_DeSerialize},
5606  {"DeSerializeAndRetrieve", _wrap_CollisionShapeDeSerializer_DeSerializeAndRetrieve},
5607  {"ContainerName", _wrap_CollisionShapeDeSerializer_ContainerName},
5608  {0,0}
5609 };
5610 static swig_lua_attribute swig_Mezzanine_Physics_CollisionShapeDeSerializer_attributes[] = {
5611  {0,0,0}
5612 };
5613 static swig_lua_class *swig_Mezzanine_Physics_CollisionShapeDeSerializer_bases[] = {0};
5614 static const char *swig_Mezzanine_Physics_CollisionShapeDeSerializer_base_names[] = {0};
5615 static swig_lua_class _wrap_class_Mezzanine_Physics_CollisionShapeDeSerializer = { "CollisionShapeDeSerializer", &SWIGTYPE_p_Mezzanine__Physics__CollisionShapeDeSerializer,_wrap_new_CollisionShapeDeSerializer, swig_delete_CollisionShapeDeSerializer, swig_Mezzanine_Physics_CollisionShapeDeSerializer_methods, swig_Mezzanine_Physics_CollisionShapeDeSerializer_attributes, swig_Mezzanine_Physics_CollisionShapeDeSerializer_bases, swig_Mezzanine_Physics_CollisionShapeDeSerializer_base_names };
5616 
5617 static int _wrap_new_SingletonCollisionShapeManager(lua_State* L) {
5618  int SWIG_arg = 0;
5620 
5621  SWIG_check_num_args("Mezzanine::Singleton< CollisionShapeManager >::Singleton",0,0)
5622  result = (Mezzanine::Singleton< CollisionShapeManager > *)new Mezzanine::Singleton< CollisionShapeManager >();
5623  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SingletonT_CollisionShapeManager_t,1); SWIG_arg++;
5624  return SWIG_arg;
5625 
5626  if(0) SWIG_fail;
5627 
5628 fail:
5629  lua_error(L);
5630  return SWIG_arg;
5631 }
5632 
5633 
5634 static int _wrap_SingletonCollisionShapeManager_GetSingletonPtr(lua_State* L) {
5635  int SWIG_arg = 0;
5636  CollisionShapeManager *result = 0 ;
5637 
5638  SWIG_check_num_args("Mezzanine::Singleton< CollisionShapeManager >::GetSingletonPtr",0,0)
5639  result = (CollisionShapeManager *)Mezzanine::Singleton< CollisionShapeManager >::SWIGTEMPLATEDISAMBIGUATOR GetSingletonPtr();
5640  SWIG_NewPointerObj(L,result,SWIGTYPE_p_CollisionShapeManager,0); SWIG_arg++;
5641  return SWIG_arg;
5642 
5643  if(0) SWIG_fail;
5644 
5645 fail:
5646  lua_error(L);
5647  return SWIG_arg;
5648 }
5649 
5650 
5651 static int _wrap_SingletonCollisionShapeManager_SingletonValid(lua_State* L) {
5652  int SWIG_arg = 0;
5653  Mezzanine::Boole result;
5654 
5655  SWIG_check_num_args("Mezzanine::Singleton< CollisionShapeManager >::SingletonValid",0,0)
5656  result = (Mezzanine::Boole)Mezzanine::Singleton< CollisionShapeManager >::SWIGTEMPLATEDISAMBIGUATOR SingletonValid();
5657  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5658  return SWIG_arg;
5659 
5660  if(0) SWIG_fail;
5661 
5662 fail:
5663  lua_error(L);
5664  return SWIG_arg;
5665 }
5666 
5667 
5668 static void swig_delete_SingletonCollisionShapeManager(void *obj) {
5670 delete arg1;
5671 }
5672 static swig_lua_method swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__methods[] = {
5673  {0,0}
5674 };
5675 static swig_lua_attribute swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__attributes[] = {
5676  {0,0,0}
5677 };
5678 static swig_lua_class *swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__bases[] = {0};
5679 static const char *swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__base_names[] = {0};
5680 static swig_lua_class _wrap_class_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg_ = { "SingletonCollisionShapeManager", &SWIGTYPE_p_Mezzanine__SingletonT_CollisionShapeManager_t,_wrap_new_SingletonCollisionShapeManager, swig_delete_SingletonCollisionShapeManager, swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__methods, swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__attributes, swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__bases, swig_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg__base_names };
5681 
5682 static int _wrap_new_CollisionShapeManager__SWIG_0(lua_State* L) {
5683  int SWIG_arg = 0;
5685 
5686  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::CollisionShapeManager",0,0)
5687  result = (Mezzanine::Physics::CollisionShapeManager *)new Mezzanine::Physics::CollisionShapeManager();
5688  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,1); SWIG_arg++;
5689  return SWIG_arg;
5690 
5691  if(0) SWIG_fail;
5692 
5693 fail:
5694  lua_error(L);
5695  return SWIG_arg;
5696 }
5697 
5698 
5699 static int _wrap_new_CollisionShapeManager__SWIG_1(lua_State* L) {
5700  int SWIG_arg = 0;
5701  XML::Node *arg1 = 0 ;
5703 
5704  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::CollisionShapeManager",1,1)
5705  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::CollisionShapeManager",1,"XML::Node &");
5706 
5707  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
5708  SWIG_fail_ptr("new_CollisionShapeManager",1,SWIGTYPE_p_XML__Node);
5709  }
5710 
5712  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,1); SWIG_arg++;
5713  return SWIG_arg;
5714 
5715  if(0) SWIG_fail;
5716 
5717 fail:
5718  lua_error(L);
5719  return SWIG_arg;
5720 }
5721 
5722 
5723 static int _wrap_new_CollisionShapeManager(lua_State* L) {
5724  int argc;
5725  int argv[2]={
5726  1,2
5727  };
5728 
5729  argc = lua_gettop(L);
5730  if (argc == 0) {
5731  return _wrap_new_CollisionShapeManager__SWIG_0(L);
5732  }
5733  if (argc == 1) {
5734  int _v;
5735  {
5736  void *ptr;
5737  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
5738  _v = 0;
5739  } else {
5740  _v = 1;
5741  }
5742  }
5743  if (_v) {
5744  return _wrap_new_CollisionShapeManager__SWIG_1(L);
5745  }
5746  }
5747 
5748  lua_pushstring(L,"Wrong arguments for overloaded function 'new_CollisionShapeManager'\n"
5749  " Possible C/C++ prototypes are:\n"
5750  " Mezzanine::Physics::CollisionShapeManager::CollisionShapeManager()\n"
5751  " Mezzanine::Physics::CollisionShapeManager::CollisionShapeManager(XML::Node &)\n");
5752  lua_error(L);return 0;
5753 }
5754 
5755 
5756 static int _wrap_CollisionShapeManager_StoreShape(lua_State* L) {
5757  int SWIG_arg = 0;
5760 
5761  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::StoreShape",2,2)
5762  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::StoreShape",1,"Mezzanine::Physics::CollisionShapeManager *");
5763  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::StoreShape",2,"Mezzanine::Physics::CollisionShape *");
5764 
5765  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5766  SWIG_fail_ptr("CollisionShapeManager_StoreShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5767  }
5768 
5769 
5770  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5771  SWIG_fail_ptr("CollisionShapeManager_StoreShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5772  }
5773 
5774  (arg1)->StoreShape(arg2);
5775 
5776  return SWIG_arg;
5777 
5778  if(0) SWIG_fail;
5779 
5780 fail:
5781  lua_error(L);
5782  return SWIG_arg;
5783 }
5784 
5785 
5786 static int _wrap_CollisionShapeManager_GetShape(lua_State* L) {
5787  int SWIG_arg = 0;
5789  Mezzanine::String *arg2 = 0 ;
5790  Mezzanine::String temp2 ;
5792 
5793  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GetShape",2,2)
5794  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GetShape",1,"Mezzanine::Physics::CollisionShapeManager *");
5795  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GetShape",2,"Mezzanine::String const &");
5796 
5797  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5798  SWIG_fail_ptr("CollisionShapeManager_GetShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5799  }
5800 
5801  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
5802  result = (Mezzanine::Physics::CollisionShape *)(arg1)->GetShape((Mezzanine::String const &)*arg2);
5803  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
5804  return SWIG_arg;
5805 
5806  if(0) SWIG_fail;
5807 
5808 fail:
5809  lua_error(L);
5810  return SWIG_arg;
5811 }
5812 
5813 
5814 static int _wrap_CollisionShapeManager_GetNumStoredShapes(lua_State* L) {
5815  int SWIG_arg = 0;
5817  Mezzanine::Whole result;
5818 
5819  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GetNumStoredShapes",1,1)
5820  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GetNumStoredShapes",1,"Mezzanine::Physics::CollisionShapeManager *");
5821 
5822  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5823  SWIG_fail_ptr("CollisionShapeManager_GetNumStoredShapes",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5824  }
5825 
5826  result = (Mezzanine::Whole)(arg1)->GetNumStoredShapes();
5827  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5828  return SWIG_arg;
5829 
5830  if(0) SWIG_fail;
5831 
5832 fail:
5833  lua_error(L);
5834  return SWIG_arg;
5835 }
5836 
5837 
5838 static int _wrap_CollisionShapeManager_RemoveShape__SWIG_0(lua_State* L) {
5839  int SWIG_arg = 0;
5842 
5843  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::RemoveShape",2,2)
5844  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::RemoveShape",1,"Mezzanine::Physics::CollisionShapeManager *");
5845  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::RemoveShape",2,"Mezzanine::Physics::CollisionShape *");
5846 
5847  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5848  SWIG_fail_ptr("CollisionShapeManager_RemoveShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5849  }
5850 
5851 
5852  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5853  SWIG_fail_ptr("CollisionShapeManager_RemoveShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5854  }
5855 
5856  (arg1)->RemoveShape(arg2);
5857 
5858  return SWIG_arg;
5859 
5860  if(0) SWIG_fail;
5861 
5862 fail:
5863  lua_error(L);
5864  return SWIG_arg;
5865 }
5866 
5867 
5868 static int _wrap_CollisionShapeManager_RemoveShape__SWIG_1(lua_State* L) {
5869  int SWIG_arg = 0;
5871  Mezzanine::String *arg2 = 0 ;
5872  Mezzanine::String temp2 ;
5873 
5874  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::RemoveShape",2,2)
5875  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::RemoveShape",1,"Mezzanine::Physics::CollisionShapeManager *");
5876  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::RemoveShape",2,"Mezzanine::String const &");
5877 
5878  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5879  SWIG_fail_ptr("CollisionShapeManager_RemoveShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5880  }
5881 
5882  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
5883  (arg1)->RemoveShape((Mezzanine::String const &)*arg2);
5884 
5885  return SWIG_arg;
5886 
5887  if(0) SWIG_fail;
5888 
5889 fail:
5890  lua_error(L);
5891  return SWIG_arg;
5892 }
5893 
5894 
5895 static int _wrap_CollisionShapeManager_RemoveShape(lua_State* L) {
5896  int argc;
5897  int argv[3]={
5898  1,2,3
5899  };
5900 
5901  argc = lua_gettop(L);
5902  if (argc == 2) {
5903  int _v;
5904  {
5905  void *ptr;
5906  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
5907  _v = 0;
5908  } else {
5909  _v = 1;
5910  }
5911  }
5912  if (_v) {
5913  {
5914  void *ptr;
5915  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
5916  _v = 0;
5917  } else {
5918  _v = 1;
5919  }
5920  }
5921  if (_v) {
5922  return _wrap_CollisionShapeManager_RemoveShape__SWIG_0(L);
5923  }
5924  }
5925  }
5926  if (argc == 2) {
5927  int _v;
5928  {
5929  void *ptr;
5930  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
5931  _v = 0;
5932  } else {
5933  _v = 1;
5934  }
5935  }
5936  if (_v) {
5937  {
5938  _v = lua_isstring(L,argv[1]);
5939  }
5940  if (_v) {
5941  return _wrap_CollisionShapeManager_RemoveShape__SWIG_1(L);
5942  }
5943  }
5944  }
5945 
5946  lua_pushstring(L,"Wrong arguments for overloaded function 'CollisionShapeManager_RemoveShape'\n"
5947  " Possible C/C++ prototypes are:\n"
5948  " Mezzanine::Physics::CollisionShapeManager::RemoveShape(Mezzanine::Physics::CollisionShape *)\n"
5949  " Mezzanine::Physics::CollisionShapeManager::RemoveShape(Mezzanine::String const &)\n");
5950  lua_error(L);return 0;
5951 }
5952 
5953 
5954 static int _wrap_CollisionShapeManager_RemoveAllShapes(lua_State* L) {
5955  int SWIG_arg = 0;
5957 
5958  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::RemoveAllShapes",1,1)
5959  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::RemoveAllShapes",1,"Mezzanine::Physics::CollisionShapeManager *");
5960 
5961  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5962  SWIG_fail_ptr("CollisionShapeManager_RemoveAllShapes",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5963  }
5964 
5965  (arg1)->RemoveAllShapes();
5966 
5967  return SWIG_arg;
5968 
5969  if(0) SWIG_fail;
5970 
5971 fail:
5972  lua_error(L);
5973  return SWIG_arg;
5974 }
5975 
5976 
5977 static int _wrap_CollisionShapeManager_DestroyShape__SWIG_0(lua_State* L) {
5978  int SWIG_arg = 0;
5981 
5982  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::DestroyShape",2,2)
5983  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::DestroyShape",1,"Mezzanine::Physics::CollisionShapeManager *");
5984  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::DestroyShape",2,"Mezzanine::Physics::CollisionShape *");
5985 
5986  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
5987  SWIG_fail_ptr("CollisionShapeManager_DestroyShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
5988  }
5989 
5990 
5991  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
5992  SWIG_fail_ptr("CollisionShapeManager_DestroyShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
5993  }
5994 
5995  (arg1)->DestroyShape(arg2);
5996 
5997  return SWIG_arg;
5998 
5999  if(0) SWIG_fail;
6000 
6001 fail:
6002  lua_error(L);
6003  return SWIG_arg;
6004 }
6005 
6006 
6007 static int _wrap_CollisionShapeManager_DestroyShape__SWIG_1(lua_State* L) {
6008  int SWIG_arg = 0;
6010  Mezzanine::String *arg2 = 0 ;
6011  Mezzanine::String temp2 ;
6012 
6013  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::DestroyShape",2,2)
6014  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::DestroyShape",1,"Mezzanine::Physics::CollisionShapeManager *");
6015  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::DestroyShape",2,"Mezzanine::String const &");
6016 
6017  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6018  SWIG_fail_ptr("CollisionShapeManager_DestroyShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6019  }
6020 
6021  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6022  (arg1)->DestroyShape((Mezzanine::String const &)*arg2);
6023 
6024  return SWIG_arg;
6025 
6026  if(0) SWIG_fail;
6027 
6028 fail:
6029  lua_error(L);
6030  return SWIG_arg;
6031 }
6032 
6033 
6034 static int _wrap_CollisionShapeManager_DestroyShape(lua_State* L) {
6035  int argc;
6036  int argv[3]={
6037  1,2,3
6038  };
6039 
6040  argc = lua_gettop(L);
6041  if (argc == 2) {
6042  int _v;
6043  {
6044  void *ptr;
6045  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6046  _v = 0;
6047  } else {
6048  _v = 1;
6049  }
6050  }
6051  if (_v) {
6052  {
6053  void *ptr;
6054  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
6055  _v = 0;
6056  } else {
6057  _v = 1;
6058  }
6059  }
6060  if (_v) {
6061  return _wrap_CollisionShapeManager_DestroyShape__SWIG_0(L);
6062  }
6063  }
6064  }
6065  if (argc == 2) {
6066  int _v;
6067  {
6068  void *ptr;
6069  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6070  _v = 0;
6071  } else {
6072  _v = 1;
6073  }
6074  }
6075  if (_v) {
6076  {
6077  _v = lua_isstring(L,argv[1]);
6078  }
6079  if (_v) {
6080  return _wrap_CollisionShapeManager_DestroyShape__SWIG_1(L);
6081  }
6082  }
6083  }
6084 
6085  lua_pushstring(L,"Wrong arguments for overloaded function 'CollisionShapeManager_DestroyShape'\n"
6086  " Possible C/C++ prototypes are:\n"
6087  " Mezzanine::Physics::CollisionShapeManager::DestroyShape(Mezzanine::Physics::CollisionShape *)\n"
6088  " Mezzanine::Physics::CollisionShapeManager::DestroyShape(Mezzanine::String const &)\n");
6089  lua_error(L);return 0;
6090 }
6091 
6092 
6093 static int _wrap_CollisionShapeManager_DestroyAllShapes(lua_State* L) {
6094  int SWIG_arg = 0;
6096 
6097  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::DestroyAllShapes",1,1)
6098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::DestroyAllShapes",1,"Mezzanine::Physics::CollisionShapeManager *");
6099 
6100  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6101  SWIG_fail_ptr("CollisionShapeManager_DestroyAllShapes",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6102  }
6103 
6104  (arg1)->DestroyAllShapes();
6105 
6106  return SWIG_arg;
6107 
6108  if(0) SWIG_fail;
6109 
6110 fail:
6111  lua_error(L);
6112  return SWIG_arg;
6113 }
6114 
6115 
6116 static int _wrap_CollisionShapeManager_BeginCollisionShape(lua_State* L) {
6117  int SWIG_arg = 0;
6120 
6121  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::BeginCollisionShape",1,1)
6122  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::BeginCollisionShape",1,"Mezzanine::Physics::CollisionShapeManager *");
6123 
6124  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6125  SWIG_fail_ptr("CollisionShapeManager_BeginCollisionShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6126  }
6127 
6128  result = (arg1)->BeginCollisionShape();
6129  {
6131  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator,1); SWIG_arg++;
6132  }
6133  return SWIG_arg;
6134 
6135  if(0) SWIG_fail;
6136 
6137 fail:
6138  lua_error(L);
6139  return SWIG_arg;
6140 }
6141 
6142 
6143 static int _wrap_CollisionShapeManager_EndCollisionShape(lua_State* L) {
6144  int SWIG_arg = 0;
6147 
6148  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::EndCollisionShape",1,1)
6149  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::EndCollisionShape",1,"Mezzanine::Physics::CollisionShapeManager *");
6150 
6151  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6152  SWIG_fail_ptr("CollisionShapeManager_EndCollisionShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6153  }
6154 
6155  result = (arg1)->EndCollisionShape();
6156  {
6158  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator,1); SWIG_arg++;
6159  }
6160  return SWIG_arg;
6161 
6162  if(0) SWIG_fail;
6163 
6164 fail:
6165  lua_error(L);
6166  return SWIG_arg;
6167 }
6168 
6169 
6170 static int _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_0(lua_State* L) {
6171  int SWIG_arg = 0;
6173  Mezzanine::String *arg2 = 0 ;
6175  Mezzanine::Boole arg4 ;
6176  Mezzanine::String temp2 ;
6178 
6179  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",4,4)
6180  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",1,"Mezzanine::Physics::CollisionShapeManager *");
6181  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",2,"Mezzanine::String const &");
6182  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",3,"Mezzanine::Graphics::Mesh *");
6183  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",4,"Mezzanine::Boole");
6184 
6185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6186  SWIG_fail_ptr("CollisionShapeManager_GenerateConvexHull",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6187  }
6188 
6189  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6190 
6191  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
6192  SWIG_fail_ptr("CollisionShapeManager_GenerateConvexHull",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
6193  }
6194 
6195  arg4 = (lua_toboolean(L, 4)!=0);
6196  result = (Mezzanine::Physics::ConvexHullCollisionShape *)(arg1)->GenerateConvexHull((Mezzanine::String const &)*arg2,arg3,arg4);
6197  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0); SWIG_arg++;
6198  return SWIG_arg;
6199 
6200  if(0) SWIG_fail;
6201 
6202 fail:
6203  lua_error(L);
6204  return SWIG_arg;
6205 }
6206 
6207 
6208 static int _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_1(lua_State* L) {
6209  int SWIG_arg = 0;
6211  Mezzanine::String *arg2 = 0 ;
6213  Mezzanine::String temp2 ;
6215 
6216  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",3,3)
6217  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",1,"Mezzanine::Physics::CollisionShapeManager *");
6218  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",2,"Mezzanine::String const &");
6219  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",3,"Mezzanine::Graphics::Mesh *");
6220 
6221  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6222  SWIG_fail_ptr("CollisionShapeManager_GenerateConvexHull",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6223  }
6224 
6225  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6226 
6227  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
6228  SWIG_fail_ptr("CollisionShapeManager_GenerateConvexHull",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
6229  }
6230 
6231  result = (Mezzanine::Physics::ConvexHullCollisionShape *)(arg1)->GenerateConvexHull((Mezzanine::String const &)*arg2,arg3);
6232  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0); SWIG_arg++;
6233  return SWIG_arg;
6234 
6235  if(0) SWIG_fail;
6236 
6237 fail:
6238  lua_error(L);
6239  return SWIG_arg;
6240 }
6241 
6242 
6243 static int _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_2(lua_State* L) {
6244  int SWIG_arg = 0;
6246  Mezzanine::String *arg2 = 0 ;
6247  Mezzanine::String *arg3 = 0 ;
6248  Mezzanine::String *arg4 = 0 ;
6249  Mezzanine::Boole arg5 ;
6250  Mezzanine::String temp2 ;
6251  Mezzanine::String temp3 ;
6252  Mezzanine::String temp4 ;
6254 
6255  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",5,5)
6256  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",1,"Mezzanine::Physics::CollisionShapeManager *");
6257  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",2,"Mezzanine::String const &");
6258  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",3,"Mezzanine::String const &");
6259  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",4,"Mezzanine::String const &");
6260  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",5,"Mezzanine::Boole");
6261 
6262  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6263  SWIG_fail_ptr("CollisionShapeManager_GenerateConvexHull",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6264  }
6265 
6266  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6267  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
6268  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
6269  arg5 = (lua_toboolean(L, 5)!=0);
6270  result = (Mezzanine::Physics::ConvexHullCollisionShape *)(arg1)->GenerateConvexHull((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,arg5);
6271  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0); SWIG_arg++;
6272  return SWIG_arg;
6273 
6274  if(0) SWIG_fail;
6275 
6276 fail:
6277  lua_error(L);
6278  return SWIG_arg;
6279 }
6280 
6281 
6282 static int _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_3(lua_State* L) {
6283  int SWIG_arg = 0;
6285  Mezzanine::String *arg2 = 0 ;
6286  Mezzanine::String *arg3 = 0 ;
6287  Mezzanine::String *arg4 = 0 ;
6288  Mezzanine::String temp2 ;
6289  Mezzanine::String temp3 ;
6290  Mezzanine::String temp4 ;
6292 
6293  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",4,4)
6294  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",1,"Mezzanine::Physics::CollisionShapeManager *");
6295  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",2,"Mezzanine::String const &");
6296  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",3,"Mezzanine::String const &");
6297  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull",4,"Mezzanine::String const &");
6298 
6299  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6300  SWIG_fail_ptr("CollisionShapeManager_GenerateConvexHull",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6301  }
6302 
6303  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6304  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
6305  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
6306  result = (Mezzanine::Physics::ConvexHullCollisionShape *)(arg1)->GenerateConvexHull((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4);
6307  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0); SWIG_arg++;
6308  return SWIG_arg;
6309 
6310  if(0) SWIG_fail;
6311 
6312 fail:
6313  lua_error(L);
6314  return SWIG_arg;
6315 }
6316 
6317 
6318 static int _wrap_CollisionShapeManager_GenerateConvexHull(lua_State* L) {
6319  int argc;
6320  int argv[6]={
6321  1,2,3,4,5,6
6322  };
6323 
6324  argc = lua_gettop(L);
6325  if (argc == 3) {
6326  int _v;
6327  {
6328  void *ptr;
6329  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6330  _v = 0;
6331  } else {
6332  _v = 1;
6333  }
6334  }
6335  if (_v) {
6336  {
6337  _v = lua_isstring(L,argv[1]);
6338  }
6339  if (_v) {
6340  {
6341  void *ptr;
6342  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
6343  _v = 0;
6344  } else {
6345  _v = 1;
6346  }
6347  }
6348  if (_v) {
6349  return _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_1(L);
6350  }
6351  }
6352  }
6353  }
6354  if (argc == 4) {
6355  int _v;
6356  {
6357  void *ptr;
6358  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6359  _v = 0;
6360  } else {
6361  _v = 1;
6362  }
6363  }
6364  if (_v) {
6365  {
6366  _v = lua_isstring(L,argv[1]);
6367  }
6368  if (_v) {
6369  {
6370  void *ptr;
6371  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
6372  _v = 0;
6373  } else {
6374  _v = 1;
6375  }
6376  }
6377  if (_v) {
6378  {
6379  _v = lua_isboolean(L,argv[3]);
6380  }
6381  if (_v) {
6382  return _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_0(L);
6383  }
6384  }
6385  }
6386  }
6387  }
6388  if (argc == 4) {
6389  int _v;
6390  {
6391  void *ptr;
6392  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6393  _v = 0;
6394  } else {
6395  _v = 1;
6396  }
6397  }
6398  if (_v) {
6399  {
6400  _v = lua_isstring(L,argv[1]);
6401  }
6402  if (_v) {
6403  {
6404  _v = lua_isstring(L,argv[2]);
6405  }
6406  if (_v) {
6407  {
6408  _v = lua_isstring(L,argv[3]);
6409  }
6410  if (_v) {
6411  return _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_3(L);
6412  }
6413  }
6414  }
6415  }
6416  }
6417  if (argc == 5) {
6418  int _v;
6419  {
6420  void *ptr;
6421  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6422  _v = 0;
6423  } else {
6424  _v = 1;
6425  }
6426  }
6427  if (_v) {
6428  {
6429  _v = lua_isstring(L,argv[1]);
6430  }
6431  if (_v) {
6432  {
6433  _v = lua_isstring(L,argv[2]);
6434  }
6435  if (_v) {
6436  {
6437  _v = lua_isstring(L,argv[3]);
6438  }
6439  if (_v) {
6440  {
6441  _v = lua_isboolean(L,argv[4]);
6442  }
6443  if (_v) {
6444  return _wrap_CollisionShapeManager_GenerateConvexHull__SWIG_2(L);
6445  }
6446  }
6447  }
6448  }
6449  }
6450  }
6451 
6452  lua_pushstring(L,"Wrong arguments for overloaded function 'CollisionShapeManager_GenerateConvexHull'\n"
6453  " Possible C/C++ prototypes are:\n"
6454  " Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull(Mezzanine::String const &,Mezzanine::Graphics::Mesh *,Mezzanine::Boole)\n"
6455  " Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull(Mezzanine::String const &,Mezzanine::Graphics::Mesh *)\n"
6456  " Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Boole)\n"
6457  " Mezzanine::Physics::CollisionShapeManager::GenerateConvexHull(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &)\n");
6458  lua_error(L);return 0;
6459 }
6460 
6461 
6462 static int _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_0(lua_State* L) {
6463  int SWIG_arg = 0;
6465  Mezzanine::String *arg2 = 0 ;
6467  Mezzanine::Boole arg4 ;
6468  Mezzanine::String temp2 ;
6470 
6471  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",4,4)
6472  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6473  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",2,"Mezzanine::String const &");
6474  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",3,"Mezzanine::Graphics::Mesh *");
6475  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",4,"Mezzanine::Boole");
6476 
6477  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6478  SWIG_fail_ptr("CollisionShapeManager_GenerateDynamicTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6479  }
6480 
6481  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6482 
6483  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
6484  SWIG_fail_ptr("CollisionShapeManager_GenerateDynamicTriMesh",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
6485  }
6486 
6487  arg4 = (lua_toboolean(L, 4)!=0);
6488  result = (Mezzanine::Physics::DynamicMeshCollisionShape *)(arg1)->GenerateDynamicTriMesh((Mezzanine::String const &)*arg2,arg3,arg4);
6489  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,0); SWIG_arg++;
6490  return SWIG_arg;
6491 
6492  if(0) SWIG_fail;
6493 
6494 fail:
6495  lua_error(L);
6496  return SWIG_arg;
6497 }
6498 
6499 
6500 static int _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_1(lua_State* L) {
6501  int SWIG_arg = 0;
6503  Mezzanine::String *arg2 = 0 ;
6505  Mezzanine::String temp2 ;
6507 
6508  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",3,3)
6509  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6510  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",2,"Mezzanine::String const &");
6511  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",3,"Mezzanine::Graphics::Mesh *");
6512 
6513  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6514  SWIG_fail_ptr("CollisionShapeManager_GenerateDynamicTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6515  }
6516 
6517  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6518 
6519  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
6520  SWIG_fail_ptr("CollisionShapeManager_GenerateDynamicTriMesh",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
6521  }
6522 
6523  result = (Mezzanine::Physics::DynamicMeshCollisionShape *)(arg1)->GenerateDynamicTriMesh((Mezzanine::String const &)*arg2,arg3);
6524  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,0); SWIG_arg++;
6525  return SWIG_arg;
6526 
6527  if(0) SWIG_fail;
6528 
6529 fail:
6530  lua_error(L);
6531  return SWIG_arg;
6532 }
6533 
6534 
6535 static int _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_2(lua_State* L) {
6536  int SWIG_arg = 0;
6538  Mezzanine::String *arg2 = 0 ;
6539  Mezzanine::String *arg3 = 0 ;
6540  Mezzanine::String *arg4 = 0 ;
6541  Mezzanine::Boole arg5 ;
6542  Mezzanine::String temp2 ;
6543  Mezzanine::String temp3 ;
6544  Mezzanine::String temp4 ;
6546 
6547  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",5,5)
6548  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6549  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",2,"Mezzanine::String const &");
6550  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",3,"Mezzanine::String const &");
6551  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",4,"Mezzanine::String const &");
6552  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",5,"Mezzanine::Boole");
6553 
6554  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6555  SWIG_fail_ptr("CollisionShapeManager_GenerateDynamicTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6556  }
6557 
6558  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6559  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
6560  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
6561  arg5 = (lua_toboolean(L, 5)!=0);
6562  result = (Mezzanine::Physics::DynamicMeshCollisionShape *)(arg1)->GenerateDynamicTriMesh((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,arg5);
6563  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,0); SWIG_arg++;
6564  return SWIG_arg;
6565 
6566  if(0) SWIG_fail;
6567 
6568 fail:
6569  lua_error(L);
6570  return SWIG_arg;
6571 }
6572 
6573 
6574 static int _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_3(lua_State* L) {
6575  int SWIG_arg = 0;
6577  Mezzanine::String *arg2 = 0 ;
6578  Mezzanine::String *arg3 = 0 ;
6579  Mezzanine::String *arg4 = 0 ;
6580  Mezzanine::String temp2 ;
6581  Mezzanine::String temp3 ;
6582  Mezzanine::String temp4 ;
6584 
6585  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",4,4)
6586  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6587  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",2,"Mezzanine::String const &");
6588  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",3,"Mezzanine::String const &");
6589  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh",4,"Mezzanine::String const &");
6590 
6591  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6592  SWIG_fail_ptr("CollisionShapeManager_GenerateDynamicTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6593  }
6594 
6595  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6596  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
6597  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
6598  result = (Mezzanine::Physics::DynamicMeshCollisionShape *)(arg1)->GenerateDynamicTriMesh((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4);
6599  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,0); SWIG_arg++;
6600  return SWIG_arg;
6601 
6602  if(0) SWIG_fail;
6603 
6604 fail:
6605  lua_error(L);
6606  return SWIG_arg;
6607 }
6608 
6609 
6610 static int _wrap_CollisionShapeManager_GenerateDynamicTriMesh(lua_State* L) {
6611  int argc;
6612  int argv[6]={
6613  1,2,3,4,5,6
6614  };
6615 
6616  argc = lua_gettop(L);
6617  if (argc == 3) {
6618  int _v;
6619  {
6620  void *ptr;
6621  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6622  _v = 0;
6623  } else {
6624  _v = 1;
6625  }
6626  }
6627  if (_v) {
6628  {
6629  _v = lua_isstring(L,argv[1]);
6630  }
6631  if (_v) {
6632  {
6633  void *ptr;
6634  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
6635  _v = 0;
6636  } else {
6637  _v = 1;
6638  }
6639  }
6640  if (_v) {
6641  return _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_1(L);
6642  }
6643  }
6644  }
6645  }
6646  if (argc == 4) {
6647  int _v;
6648  {
6649  void *ptr;
6650  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6651  _v = 0;
6652  } else {
6653  _v = 1;
6654  }
6655  }
6656  if (_v) {
6657  {
6658  _v = lua_isstring(L,argv[1]);
6659  }
6660  if (_v) {
6661  {
6662  void *ptr;
6663  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
6664  _v = 0;
6665  } else {
6666  _v = 1;
6667  }
6668  }
6669  if (_v) {
6670  {
6671  _v = lua_isboolean(L,argv[3]);
6672  }
6673  if (_v) {
6674  return _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_0(L);
6675  }
6676  }
6677  }
6678  }
6679  }
6680  if (argc == 4) {
6681  int _v;
6682  {
6683  void *ptr;
6684  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6685  _v = 0;
6686  } else {
6687  _v = 1;
6688  }
6689  }
6690  if (_v) {
6691  {
6692  _v = lua_isstring(L,argv[1]);
6693  }
6694  if (_v) {
6695  {
6696  _v = lua_isstring(L,argv[2]);
6697  }
6698  if (_v) {
6699  {
6700  _v = lua_isstring(L,argv[3]);
6701  }
6702  if (_v) {
6703  return _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_3(L);
6704  }
6705  }
6706  }
6707  }
6708  }
6709  if (argc == 5) {
6710  int _v;
6711  {
6712  void *ptr;
6713  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6714  _v = 0;
6715  } else {
6716  _v = 1;
6717  }
6718  }
6719  if (_v) {
6720  {
6721  _v = lua_isstring(L,argv[1]);
6722  }
6723  if (_v) {
6724  {
6725  _v = lua_isstring(L,argv[2]);
6726  }
6727  if (_v) {
6728  {
6729  _v = lua_isstring(L,argv[3]);
6730  }
6731  if (_v) {
6732  {
6733  _v = lua_isboolean(L,argv[4]);
6734  }
6735  if (_v) {
6736  return _wrap_CollisionShapeManager_GenerateDynamicTriMesh__SWIG_2(L);
6737  }
6738  }
6739  }
6740  }
6741  }
6742  }
6743 
6744  lua_pushstring(L,"Wrong arguments for overloaded function 'CollisionShapeManager_GenerateDynamicTriMesh'\n"
6745  " Possible C/C++ prototypes are:\n"
6746  " Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh(Mezzanine::String const &,Mezzanine::Graphics::Mesh *,Mezzanine::Boole)\n"
6747  " Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh(Mezzanine::String const &,Mezzanine::Graphics::Mesh *)\n"
6748  " Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Boole)\n"
6749  " Mezzanine::Physics::CollisionShapeManager::GenerateDynamicTriMesh(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &)\n");
6750  lua_error(L);return 0;
6751 }
6752 
6753 
6754 static int _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_0(lua_State* L) {
6755  int SWIG_arg = 0;
6757  Mezzanine::String *arg2 = 0 ;
6759  Mezzanine::Boole arg4 ;
6760  Mezzanine::String temp2 ;
6762 
6763  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",4,4)
6764  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6765  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",2,"Mezzanine::String const &");
6766  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",3,"Mezzanine::Graphics::Mesh *");
6767  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",4,"Mezzanine::Boole");
6768 
6769  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6770  SWIG_fail_ptr("CollisionShapeManager_GenerateStaticTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6771  }
6772 
6773  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6774 
6775  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
6776  SWIG_fail_ptr("CollisionShapeManager_GenerateStaticTriMesh",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
6777  }
6778 
6779  arg4 = (lua_toboolean(L, 4)!=0);
6780  result = (Mezzanine::Physics::StaticMeshCollisionShape *)(arg1)->GenerateStaticTriMesh((Mezzanine::String const &)*arg2,arg3,arg4);
6781  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,0); SWIG_arg++;
6782  return SWIG_arg;
6783 
6784  if(0) SWIG_fail;
6785 
6786 fail:
6787  lua_error(L);
6788  return SWIG_arg;
6789 }
6790 
6791 
6792 static int _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_1(lua_State* L) {
6793  int SWIG_arg = 0;
6795  Mezzanine::String *arg2 = 0 ;
6797  Mezzanine::String temp2 ;
6799 
6800  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",3,3)
6801  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6802  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",2,"Mezzanine::String const &");
6803  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",3,"Mezzanine::Graphics::Mesh *");
6804 
6805  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6806  SWIG_fail_ptr("CollisionShapeManager_GenerateStaticTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6807  }
6808 
6809  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6810 
6811  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
6812  SWIG_fail_ptr("CollisionShapeManager_GenerateStaticTriMesh",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
6813  }
6814 
6815  result = (Mezzanine::Physics::StaticMeshCollisionShape *)(arg1)->GenerateStaticTriMesh((Mezzanine::String const &)*arg2,arg3);
6816  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,0); SWIG_arg++;
6817  return SWIG_arg;
6818 
6819  if(0) SWIG_fail;
6820 
6821 fail:
6822  lua_error(L);
6823  return SWIG_arg;
6824 }
6825 
6826 
6827 static int _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_2(lua_State* L) {
6828  int SWIG_arg = 0;
6830  Mezzanine::String *arg2 = 0 ;
6831  Mezzanine::String *arg3 = 0 ;
6832  Mezzanine::String *arg4 = 0 ;
6833  Mezzanine::Boole arg5 ;
6834  Mezzanine::String temp2 ;
6835  Mezzanine::String temp3 ;
6836  Mezzanine::String temp4 ;
6838 
6839  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",5,5)
6840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6841  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",2,"Mezzanine::String const &");
6842  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",3,"Mezzanine::String const &");
6843  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",4,"Mezzanine::String const &");
6844  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",5,"Mezzanine::Boole");
6845 
6846  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6847  SWIG_fail_ptr("CollisionShapeManager_GenerateStaticTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6848  }
6849 
6850  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6851  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
6852  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
6853  arg5 = (lua_toboolean(L, 5)!=0);
6854  result = (Mezzanine::Physics::StaticMeshCollisionShape *)(arg1)->GenerateStaticTriMesh((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,arg5);
6855  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,0); SWIG_arg++;
6856  return SWIG_arg;
6857 
6858  if(0) SWIG_fail;
6859 
6860 fail:
6861  lua_error(L);
6862  return SWIG_arg;
6863 }
6864 
6865 
6866 static int _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_3(lua_State* L) {
6867  int SWIG_arg = 0;
6869  Mezzanine::String *arg2 = 0 ;
6870  Mezzanine::String *arg3 = 0 ;
6871  Mezzanine::String *arg4 = 0 ;
6872  Mezzanine::String temp2 ;
6873  Mezzanine::String temp3 ;
6874  Mezzanine::String temp4 ;
6876 
6877  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",4,4)
6878  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",1,"Mezzanine::Physics::CollisionShapeManager *");
6879  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",2,"Mezzanine::String const &");
6880  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",3,"Mezzanine::String const &");
6881  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh",4,"Mezzanine::String const &");
6882 
6883  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
6884  SWIG_fail_ptr("CollisionShapeManager_GenerateStaticTriMesh",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
6885  }
6886 
6887  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
6888  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
6889  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
6890  result = (Mezzanine::Physics::StaticMeshCollisionShape *)(arg1)->GenerateStaticTriMesh((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4);
6891  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,0); SWIG_arg++;
6892  return SWIG_arg;
6893 
6894  if(0) SWIG_fail;
6895 
6896 fail:
6897  lua_error(L);
6898  return SWIG_arg;
6899 }
6900 
6901 
6902 static int _wrap_CollisionShapeManager_GenerateStaticTriMesh(lua_State* L) {
6903  int argc;
6904  int argv[6]={
6905  1,2,3,4,5,6
6906  };
6907 
6908  argc = lua_gettop(L);
6909  if (argc == 3) {
6910  int _v;
6911  {
6912  void *ptr;
6913  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6914  _v = 0;
6915  } else {
6916  _v = 1;
6917  }
6918  }
6919  if (_v) {
6920  {
6921  _v = lua_isstring(L,argv[1]);
6922  }
6923  if (_v) {
6924  {
6925  void *ptr;
6926  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
6927  _v = 0;
6928  } else {
6929  _v = 1;
6930  }
6931  }
6932  if (_v) {
6933  return _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_1(L);
6934  }
6935  }
6936  }
6937  }
6938  if (argc == 4) {
6939  int _v;
6940  {
6941  void *ptr;
6942  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6943  _v = 0;
6944  } else {
6945  _v = 1;
6946  }
6947  }
6948  if (_v) {
6949  {
6950  _v = lua_isstring(L,argv[1]);
6951  }
6952  if (_v) {
6953  {
6954  void *ptr;
6955  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
6956  _v = 0;
6957  } else {
6958  _v = 1;
6959  }
6960  }
6961  if (_v) {
6962  {
6963  _v = lua_isboolean(L,argv[3]);
6964  }
6965  if (_v) {
6966  return _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_0(L);
6967  }
6968  }
6969  }
6970  }
6971  }
6972  if (argc == 4) {
6973  int _v;
6974  {
6975  void *ptr;
6976  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
6977  _v = 0;
6978  } else {
6979  _v = 1;
6980  }
6981  }
6982  if (_v) {
6983  {
6984  _v = lua_isstring(L,argv[1]);
6985  }
6986  if (_v) {
6987  {
6988  _v = lua_isstring(L,argv[2]);
6989  }
6990  if (_v) {
6991  {
6992  _v = lua_isstring(L,argv[3]);
6993  }
6994  if (_v) {
6995  return _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_3(L);
6996  }
6997  }
6998  }
6999  }
7000  }
7001  if (argc == 5) {
7002  int _v;
7003  {
7004  void *ptr;
7005  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
7006  _v = 0;
7007  } else {
7008  _v = 1;
7009  }
7010  }
7011  if (_v) {
7012  {
7013  _v = lua_isstring(L,argv[1]);
7014  }
7015  if (_v) {
7016  {
7017  _v = lua_isstring(L,argv[2]);
7018  }
7019  if (_v) {
7020  {
7021  _v = lua_isstring(L,argv[3]);
7022  }
7023  if (_v) {
7024  {
7025  _v = lua_isboolean(L,argv[4]);
7026  }
7027  if (_v) {
7028  return _wrap_CollisionShapeManager_GenerateStaticTriMesh__SWIG_2(L);
7029  }
7030  }
7031  }
7032  }
7033  }
7034  }
7035 
7036  lua_pushstring(L,"Wrong arguments for overloaded function 'CollisionShapeManager_GenerateStaticTriMesh'\n"
7037  " Possible C/C++ prototypes are:\n"
7038  " Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh(Mezzanine::String const &,Mezzanine::Graphics::Mesh *,Mezzanine::Boole)\n"
7039  " Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh(Mezzanine::String const &,Mezzanine::Graphics::Mesh *)\n"
7040  " Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Boole)\n"
7041  " Mezzanine::Physics::CollisionShapeManager::GenerateStaticTriMesh(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &)\n");
7042  lua_error(L);return 0;
7043 }
7044 
7045 
7046 static int _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_0(lua_State* L) {
7047  int SWIG_arg = 0;
7049  Mezzanine::String *arg2 = 0 ;
7051  Mezzanine::Whole arg4 ;
7052  Mezzanine::Real arg5 ;
7053  Mezzanine::Real arg6 ;
7054  Mezzanine::Boole arg7 ;
7055  Mezzanine::String temp2 ;
7057 
7058  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",7,7)
7059  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",1,"Mezzanine::Physics::CollisionShapeManager *");
7060  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",2,"Mezzanine::String const &");
7061  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",3,"Mezzanine::Graphics::Mesh *");
7062  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",4,"Mezzanine::Whole");
7063  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",5,"Mezzanine::Real");
7064  if(!lua_isnumber(L,6)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",6,"Mezzanine::Real");
7065  if(!lua_isboolean(L,7)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",7,"Mezzanine::Boole");
7066 
7067  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7068  SWIG_fail_ptr("CollisionShapeManager_PerformConvexDecomposition",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7069  }
7070 
7071  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7072 
7073  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
7074  SWIG_fail_ptr("CollisionShapeManager_PerformConvexDecomposition",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
7075  }
7076 
7077  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
7078  arg4 = (Mezzanine::Whole)lua_tonumber(L, 4);
7079  arg5 = (Mezzanine::Real)lua_tonumber(L, 5);
7080  arg6 = (Mezzanine::Real)lua_tonumber(L, 6);
7081  arg7 = (lua_toboolean(L, 7)!=0);
7082  result = (Mezzanine::Physics::CompoundCollisionShape *)(arg1)->PerformConvexDecomposition((Mezzanine::String const &)*arg2,arg3,arg4,arg5,arg6,arg7);
7083  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0); SWIG_arg++;
7084  return SWIG_arg;
7085 
7086  if(0) SWIG_fail;
7087 
7088 fail:
7089  lua_error(L);
7090  return SWIG_arg;
7091 }
7092 
7093 
7094 static int _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_1(lua_State* L) {
7095  int SWIG_arg = 0;
7097  Mezzanine::String *arg2 = 0 ;
7099  Mezzanine::Whole arg4 ;
7100  Mezzanine::Real arg5 ;
7101  Mezzanine::Real arg6 ;
7102  Mezzanine::String temp2 ;
7104 
7105  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",6,6)
7106  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",1,"Mezzanine::Physics::CollisionShapeManager *");
7107  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",2,"Mezzanine::String const &");
7108  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",3,"Mezzanine::Graphics::Mesh *");
7109  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",4,"Mezzanine::Whole");
7110  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",5,"Mezzanine::Real");
7111  if(!lua_isnumber(L,6)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",6,"Mezzanine::Real");
7112 
7113  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7114  SWIG_fail_ptr("CollisionShapeManager_PerformConvexDecomposition",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7115  }
7116 
7117  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7118 
7119  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Graphics__Mesh,0))){
7120  SWIG_fail_ptr("CollisionShapeManager_PerformConvexDecomposition",3,SWIGTYPE_p_Mezzanine__Graphics__Mesh);
7121  }
7122 
7123  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
7124  arg4 = (Mezzanine::Whole)lua_tonumber(L, 4);
7125  arg5 = (Mezzanine::Real)lua_tonumber(L, 5);
7126  arg6 = (Mezzanine::Real)lua_tonumber(L, 6);
7127  result = (Mezzanine::Physics::CompoundCollisionShape *)(arg1)->PerformConvexDecomposition((Mezzanine::String const &)*arg2,arg3,arg4,arg5,arg6);
7128  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0); SWIG_arg++;
7129  return SWIG_arg;
7130 
7131  if(0) SWIG_fail;
7132 
7133 fail:
7134  lua_error(L);
7135  return SWIG_arg;
7136 }
7137 
7138 
7139 static int _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_2(lua_State* L) {
7140  int SWIG_arg = 0;
7142  Mezzanine::String *arg2 = 0 ;
7143  Mezzanine::String *arg3 = 0 ;
7144  Mezzanine::String *arg4 = 0 ;
7145  Mezzanine::Whole arg5 ;
7146  Mezzanine::Real arg6 ;
7147  Mezzanine::Real arg7 ;
7148  Mezzanine::Boole arg8 ;
7149  Mezzanine::String temp2 ;
7150  Mezzanine::String temp3 ;
7151  Mezzanine::String temp4 ;
7153 
7154  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",8,8)
7155  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",1,"Mezzanine::Physics::CollisionShapeManager *");
7156  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",2,"Mezzanine::String const &");
7157  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",3,"Mezzanine::String const &");
7158  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",4,"Mezzanine::String const &");
7159  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",5,"Mezzanine::Whole");
7160  if(!lua_isnumber(L,6)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",6,"Mezzanine::Real");
7161  if(!lua_isnumber(L,7)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",7,"Mezzanine::Real");
7162  if(!lua_isboolean(L,8)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",8,"Mezzanine::Boole");
7163 
7164  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7165  SWIG_fail_ptr("CollisionShapeManager_PerformConvexDecomposition",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7166  }
7167 
7168  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7169  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
7170  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
7171  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
7172  arg5 = (Mezzanine::Whole)lua_tonumber(L, 5);
7173  arg6 = (Mezzanine::Real)lua_tonumber(L, 6);
7174  arg7 = (Mezzanine::Real)lua_tonumber(L, 7);
7175  arg8 = (lua_toboolean(L, 8)!=0);
7176  result = (Mezzanine::Physics::CompoundCollisionShape *)(arg1)->PerformConvexDecomposition((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,arg5,arg6,arg7,arg8);
7177  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0); SWIG_arg++;
7178  return SWIG_arg;
7179 
7180  if(0) SWIG_fail;
7181 
7182 fail:
7183  lua_error(L);
7184  return SWIG_arg;
7185 }
7186 
7187 
7188 static int _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_3(lua_State* L) {
7189  int SWIG_arg = 0;
7191  Mezzanine::String *arg2 = 0 ;
7192  Mezzanine::String *arg3 = 0 ;
7193  Mezzanine::String *arg4 = 0 ;
7194  Mezzanine::Whole arg5 ;
7195  Mezzanine::Real arg6 ;
7196  Mezzanine::Real arg7 ;
7197  Mezzanine::String temp2 ;
7198  Mezzanine::String temp3 ;
7199  Mezzanine::String temp4 ;
7201 
7202  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",7,7)
7203  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",1,"Mezzanine::Physics::CollisionShapeManager *");
7204  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",2,"Mezzanine::String const &");
7205  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",3,"Mezzanine::String const &");
7206  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",4,"Mezzanine::String const &");
7207  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",5,"Mezzanine::Whole");
7208  if(!lua_isnumber(L,6)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",6,"Mezzanine::Real");
7209  if(!lua_isnumber(L,7)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition",7,"Mezzanine::Real");
7210 
7211  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7212  SWIG_fail_ptr("CollisionShapeManager_PerformConvexDecomposition",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7213  }
7214 
7215  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7216  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
7217  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
7218  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
7219  arg5 = (Mezzanine::Whole)lua_tonumber(L, 5);
7220  arg6 = (Mezzanine::Real)lua_tonumber(L, 6);
7221  arg7 = (Mezzanine::Real)lua_tonumber(L, 7);
7222  result = (Mezzanine::Physics::CompoundCollisionShape *)(arg1)->PerformConvexDecomposition((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,arg5,arg6,arg7);
7223  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0); SWIG_arg++;
7224  return SWIG_arg;
7225 
7226  if(0) SWIG_fail;
7227 
7228 fail:
7229  lua_error(L);
7230  return SWIG_arg;
7231 }
7232 
7233 
7234 static int _wrap_CollisionShapeManager_PerformConvexDecomposition(lua_State* L) {
7235  int argc;
7236  int argv[9]={
7237  1,2,3,4,5,6,7,8,9
7238  };
7239 
7240  argc = lua_gettop(L);
7241  if (argc == 6) {
7242  int _v;
7243  {
7244  void *ptr;
7245  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
7246  _v = 0;
7247  } else {
7248  _v = 1;
7249  }
7250  }
7251  if (_v) {
7252  {
7253  _v = lua_isstring(L,argv[1]);
7254  }
7255  if (_v) {
7256  {
7257  void *ptr;
7258  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
7259  _v = 0;
7260  } else {
7261  _v = 1;
7262  }
7263  }
7264  if (_v) {
7265  {
7266  _v = lua_isnumber(L,argv[3]);
7267  }
7268  if (_v) {
7269  {
7270  _v = lua_isnumber(L,argv[4]);
7271  }
7272  if (_v) {
7273  {
7274  _v = lua_isnumber(L,argv[5]);
7275  }
7276  if (_v) {
7277  return _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_1(L);
7278  }
7279  }
7280  }
7281  }
7282  }
7283  }
7284  }
7285  if (argc == 7) {
7286  int _v;
7287  {
7288  void *ptr;
7289  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
7290  _v = 0;
7291  } else {
7292  _v = 1;
7293  }
7294  }
7295  if (_v) {
7296  {
7297  _v = lua_isstring(L,argv[1]);
7298  }
7299  if (_v) {
7300  {
7301  void *ptr;
7302  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Graphics__Mesh, 0)) {
7303  _v = 0;
7304  } else {
7305  _v = 1;
7306  }
7307  }
7308  if (_v) {
7309  {
7310  _v = lua_isnumber(L,argv[3]);
7311  }
7312  if (_v) {
7313  {
7314  _v = lua_isnumber(L,argv[4]);
7315  }
7316  if (_v) {
7317  {
7318  _v = lua_isnumber(L,argv[5]);
7319  }
7320  if (_v) {
7321  {
7322  _v = lua_isboolean(L,argv[6]);
7323  }
7324  if (_v) {
7325  return _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_0(L);
7326  }
7327  }
7328  }
7329  }
7330  }
7331  }
7332  }
7333  }
7334  if (argc == 7) {
7335  int _v;
7336  {
7337  void *ptr;
7338  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
7339  _v = 0;
7340  } else {
7341  _v = 1;
7342  }
7343  }
7344  if (_v) {
7345  {
7346  _v = lua_isstring(L,argv[1]);
7347  }
7348  if (_v) {
7349  {
7350  _v = lua_isstring(L,argv[2]);
7351  }
7352  if (_v) {
7353  {
7354  _v = lua_isstring(L,argv[3]);
7355  }
7356  if (_v) {
7357  {
7358  _v = lua_isnumber(L,argv[4]);
7359  }
7360  if (_v) {
7361  {
7362  _v = lua_isnumber(L,argv[5]);
7363  }
7364  if (_v) {
7365  {
7366  _v = lua_isnumber(L,argv[6]);
7367  }
7368  if (_v) {
7369  return _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_3(L);
7370  }
7371  }
7372  }
7373  }
7374  }
7375  }
7376  }
7377  }
7378  if (argc == 8) {
7379  int _v;
7380  {
7381  void *ptr;
7382  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager, 0)) {
7383  _v = 0;
7384  } else {
7385  _v = 1;
7386  }
7387  }
7388  if (_v) {
7389  {
7390  _v = lua_isstring(L,argv[1]);
7391  }
7392  if (_v) {
7393  {
7394  _v = lua_isstring(L,argv[2]);
7395  }
7396  if (_v) {
7397  {
7398  _v = lua_isstring(L,argv[3]);
7399  }
7400  if (_v) {
7401  {
7402  _v = lua_isnumber(L,argv[4]);
7403  }
7404  if (_v) {
7405  {
7406  _v = lua_isnumber(L,argv[5]);
7407  }
7408  if (_v) {
7409  {
7410  _v = lua_isnumber(L,argv[6]);
7411  }
7412  if (_v) {
7413  {
7414  _v = lua_isboolean(L,argv[7]);
7415  }
7416  if (_v) {
7417  return _wrap_CollisionShapeManager_PerformConvexDecomposition__SWIG_2(L);
7418  }
7419  }
7420  }
7421  }
7422  }
7423  }
7424  }
7425  }
7426  }
7427 
7428  lua_pushstring(L,"Wrong arguments for overloaded function 'CollisionShapeManager_PerformConvexDecomposition'\n"
7429  " Possible C/C++ prototypes are:\n"
7430  " Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition(Mezzanine::String const &,Mezzanine::Graphics::Mesh *,Mezzanine::Whole,Mezzanine::Real,Mezzanine::Real,Mezzanine::Boole)\n"
7431  " Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition(Mezzanine::String const &,Mezzanine::Graphics::Mesh *,Mezzanine::Whole,Mezzanine::Real,Mezzanine::Real)\n"
7432  " Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole,Mezzanine::Real,Mezzanine::Real,Mezzanine::Boole)\n"
7433  " Mezzanine::Physics::CollisionShapeManager::PerformConvexDecomposition(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole,Mezzanine::Real,Mezzanine::Real)\n");
7434  lua_error(L);return 0;
7435 }
7436 
7437 
7438 static int _wrap_CollisionShapeManager_LoadAllShapesFromXMLFile(lua_State* L) {
7439  int SWIG_arg = 0;
7441  Mezzanine::String *arg2 = 0 ;
7442  Mezzanine::String *arg3 = 0 ;
7443  Mezzanine::String temp2 ;
7444  Mezzanine::String temp3 ;
7445 
7446  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromXMLFile",3,3)
7447  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromXMLFile",1,"Mezzanine::Physics::CollisionShapeManager *");
7448  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromXMLFile",2,"Mezzanine::String const &");
7449  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromXMLFile",3,"Mezzanine::String const &");
7450 
7451  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7452  SWIG_fail_ptr("CollisionShapeManager_LoadAllShapesFromXMLFile",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7453  }
7454 
7455  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7456  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
7457  (arg1)->LoadAllShapesFromXMLFile((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3);
7458 
7459  return SWIG_arg;
7460 
7461  if(0) SWIG_fail;
7462 
7463 fail:
7464  lua_error(L);
7465  return SWIG_arg;
7466 }
7467 
7468 
7469 static int _wrap_CollisionShapeManager_SaveAllStoredShapesToXMLFile(lua_State* L) {
7470  int SWIG_arg = 0;
7472  Mezzanine::String *arg2 = 0 ;
7473  Mezzanine::String temp2 ;
7474 
7475  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::SaveAllStoredShapesToXMLFile",2,2)
7476  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveAllStoredShapesToXMLFile",1,"Mezzanine::Physics::CollisionShapeManager *");
7477  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveAllStoredShapesToXMLFile",2,"Mezzanine::String const &");
7478 
7479  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7480  SWIG_fail_ptr("CollisionShapeManager_SaveAllStoredShapesToXMLFile",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7481  }
7482 
7483  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7484  (arg1)->SaveAllStoredShapesToXMLFile((Mezzanine::String const &)*arg2);
7485 
7486  return SWIG_arg;
7487 
7488  if(0) SWIG_fail;
7489 
7490 fail:
7491  lua_error(L);
7492  return SWIG_arg;
7493 }
7494 
7495 
7496 static int _wrap_CollisionShapeManager_SaveShapesToXMLFile(lua_State* L) {
7497  int SWIG_arg = 0;
7499  Mezzanine::String *arg2 = 0 ;
7501  Mezzanine::String temp2 ;
7502 
7503  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::SaveShapesToXMLFile",3,3)
7504  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveShapesToXMLFile",1,"Mezzanine::Physics::CollisionShapeManager *");
7505  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveShapesToXMLFile",2,"Mezzanine::String const &");
7506  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveShapesToXMLFile",3,"Mezzanine::Physics::CollisionShapeManager::ShapeVector &");
7507 
7508  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7509  SWIG_fail_ptr("CollisionShapeManager_SaveShapesToXMLFile",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7510  }
7511 
7512  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7513 
7514  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t,0))){
7515  SWIG_fail_ptr("CollisionShapeManager_SaveShapesToXMLFile",3,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t);
7516  }
7517 
7518  (arg1)->SaveShapesToXMLFile((Mezzanine::String const &)*arg2,*arg3);
7519 
7520  return SWIG_arg;
7521 
7522  if(0) SWIG_fail;
7523 
7524 fail:
7525  lua_error(L);
7526  return SWIG_arg;
7527 }
7528 
7529 
7530 static int _wrap_CollisionShapeManager_LoadAllShapesFromBinaryFile(lua_State* L) {
7531  int SWIG_arg = 0;
7533  Mezzanine::String *arg2 = 0 ;
7534  Mezzanine::String *arg3 = 0 ;
7535  Mezzanine::String temp2 ;
7536  Mezzanine::String temp3 ;
7537 
7538  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromBinaryFile",3,3)
7539  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromBinaryFile",1,"Mezzanine::Physics::CollisionShapeManager *");
7540  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromBinaryFile",2,"Mezzanine::String const &");
7541  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::LoadAllShapesFromBinaryFile",3,"Mezzanine::String const &");
7542 
7543  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7544  SWIG_fail_ptr("CollisionShapeManager_LoadAllShapesFromBinaryFile",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7545  }
7546 
7547  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7548  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
7549  (arg1)->LoadAllShapesFromBinaryFile((Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3);
7550 
7551  return SWIG_arg;
7552 
7553  if(0) SWIG_fail;
7554 
7555 fail:
7556  lua_error(L);
7557  return SWIG_arg;
7558 }
7559 
7560 
7561 static int _wrap_CollisionShapeManager_SaveAllStoredShapesToBinaryFile(lua_State* L) {
7562  int SWIG_arg = 0;
7564  Mezzanine::String *arg2 = 0 ;
7565  Mezzanine::String temp2 ;
7566 
7567  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::SaveAllStoredShapesToBinaryFile",2,2)
7568  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveAllStoredShapesToBinaryFile",1,"Mezzanine::Physics::CollisionShapeManager *");
7569  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveAllStoredShapesToBinaryFile",2,"Mezzanine::String const &");
7570 
7571  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7572  SWIG_fail_ptr("CollisionShapeManager_SaveAllStoredShapesToBinaryFile",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7573  }
7574 
7575  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7576  (arg1)->SaveAllStoredShapesToBinaryFile((Mezzanine::String const &)*arg2);
7577 
7578  return SWIG_arg;
7579 
7580  if(0) SWIG_fail;
7581 
7582 fail:
7583  lua_error(L);
7584  return SWIG_arg;
7585 }
7586 
7587 
7588 static int _wrap_CollisionShapeManager_SaveShapesToBinaryFile(lua_State* L) {
7589  int SWIG_arg = 0;
7591  Mezzanine::String *arg2 = 0 ;
7593  Mezzanine::String temp2 ;
7594 
7595  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::SaveShapesToBinaryFile",3,3)
7596  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveShapesToBinaryFile",1,"Mezzanine::Physics::CollisionShapeManager *");
7597  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveShapesToBinaryFile",2,"Mezzanine::String const &");
7598  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SaveShapesToBinaryFile",3,"Mezzanine::Physics::CollisionShapeManager::ShapeVector &");
7599 
7600  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7601  SWIG_fail_ptr("CollisionShapeManager_SaveShapesToBinaryFile",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7602  }
7603 
7604  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7605 
7606  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t,0))){
7607  SWIG_fail_ptr("CollisionShapeManager_SaveShapesToBinaryFile",3,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t);
7608  }
7609 
7610  (arg1)->SaveShapesToBinaryFile((Mezzanine::String const &)*arg2,*arg3);
7611 
7612  return SWIG_arg;
7613 
7614  if(0) SWIG_fail;
7615 
7616 fail:
7617  lua_error(L);
7618  return SWIG_arg;
7619 }
7620 
7621 
7622 static int _wrap_CollisionShapeManager_GetUnnamedShapes(lua_State* L) {
7623  int SWIG_arg = 0;
7626 
7627  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GetUnnamedShapes",1,1)
7628  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GetUnnamedShapes",1,"Mezzanine::Physics::CollisionShapeManager *");
7629 
7630  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7631  SWIG_fail_ptr("CollisionShapeManager_GetUnnamedShapes",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7632  }
7633 
7634  result = (Mezzanine::Physics::CollisionShapeManager::ShapeVector *) &(arg1)->GetUnnamedShapes();
7635  SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t,0); SWIG_arg++;
7636  return SWIG_arg;
7637 
7638  if(0) SWIG_fail;
7639 
7640 fail:
7641  lua_error(L);
7642  return SWIG_arg;
7643 }
7644 
7645 
7646 static int _wrap_CollisionShapeManager_SetNameForUnnamedShape(lua_State* L) {
7647  int SWIG_arg = 0;
7649  Mezzanine::String *arg2 = 0 ;
7651  Mezzanine::String temp2 ;
7652 
7653  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::SetNameForUnnamedShape",3,3)
7654  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SetNameForUnnamedShape",1,"Mezzanine::Physics::CollisionShapeManager *");
7655  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SetNameForUnnamedShape",2,"Mezzanine::String const &");
7656  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::SetNameForUnnamedShape",3,"Mezzanine::Physics::CollisionShape *");
7657 
7658  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7659  SWIG_fail_ptr("CollisionShapeManager_SetNameForUnnamedShape",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7660  }
7661 
7662  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
7663 
7664  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
7665  SWIG_fail_ptr("CollisionShapeManager_SetNameForUnnamedShape",3,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
7666  }
7667 
7668  (arg1)->SetNameForUnnamedShape((Mezzanine::String const &)*arg2,arg3);
7669 
7670  return SWIG_arg;
7671 
7672  if(0) SWIG_fail;
7673 
7674 fail:
7675  lua_error(L);
7676  return SWIG_arg;
7677 }
7678 
7679 
7680 static int _wrap_CollisionShapeManager_Initialize(lua_State* L) {
7681  int SWIG_arg = 0;
7683 
7684  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::Initialize",1,1)
7685  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::Initialize",1,"Mezzanine::Physics::CollisionShapeManager *");
7686 
7687  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7688  SWIG_fail_ptr("CollisionShapeManager_Initialize",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7689  }
7690 
7691  (arg1)->Initialize();
7692 
7693  return SWIG_arg;
7694 
7695  if(0) SWIG_fail;
7696 
7697 fail:
7698  lua_error(L);
7699  return SWIG_arg;
7700 }
7701 
7702 
7703 static int _wrap_CollisionShapeManager_Deinitialize(lua_State* L) {
7704  int SWIG_arg = 0;
7706 
7707  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::Deinitialize",1,1)
7708  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::Deinitialize",1,"Mezzanine::Physics::CollisionShapeManager *");
7709 
7710  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7711  SWIG_fail_ptr("CollisionShapeManager_Deinitialize",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7712  }
7713 
7714  (arg1)->Deinitialize();
7715 
7716  return SWIG_arg;
7717 
7718  if(0) SWIG_fail;
7719 
7720 fail:
7721  lua_error(L);
7722  return SWIG_arg;
7723 }
7724 
7725 
7726 static int _wrap_CollisionShapeManager_GetInterfaceType(lua_State* L) {
7727  int SWIG_arg = 0;
7729  ManagerBase::ManagerType result;
7730 
7731  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GetInterfaceType",1,1)
7732  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GetInterfaceType",1,"Mezzanine::Physics::CollisionShapeManager const *");
7733 
7734  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7735  SWIG_fail_ptr("CollisionShapeManager_GetInterfaceType",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7736  }
7737 
7738  result = ((Mezzanine::Physics::CollisionShapeManager const *)arg1)->GetInterfaceType();
7739  {
7741  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_ManagerBase__ManagerType,1); SWIG_arg++;
7742  }
7743  return SWIG_arg;
7744 
7745  if(0) SWIG_fail;
7746 
7747 fail:
7748  lua_error(L);
7749  return SWIG_arg;
7750 }
7751 
7752 
7753 static int _wrap_CollisionShapeManager_GetImplementationTypeName(lua_State* L) {
7754  int SWIG_arg = 0;
7756  Mezzanine::String result;
7757 
7758  SWIG_check_num_args("Mezzanine::Physics::CollisionShapeManager::GetImplementationTypeName",1,1)
7759  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollisionShapeManager::GetImplementationTypeName",1,"Mezzanine::Physics::CollisionShapeManager const *");
7760 
7761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,0))){
7762  SWIG_fail_ptr("CollisionShapeManager_GetImplementationTypeName",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager);
7763  }
7764 
7765  result = ((Mezzanine::Physics::CollisionShapeManager const *)arg1)->GetImplementationTypeName();
7766  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
7767  return SWIG_arg;
7768 
7769  if(0) SWIG_fail;
7770 
7771 fail:
7772  lua_error(L);
7773  return SWIG_arg;
7774 }
7775 
7776 
7777 static void swig_delete_CollisionShapeManager(void *obj) {
7779 delete arg1;
7780 }
7781 static swig_lua_method swig_Mezzanine_Physics_CollisionShapeManager_methods[] = {
7782  {"StoreShape", _wrap_CollisionShapeManager_StoreShape},
7783  {"GetShape", _wrap_CollisionShapeManager_GetShape},
7784  {"GetNumStoredShapes", _wrap_CollisionShapeManager_GetNumStoredShapes},
7785  {"RemoveShape", _wrap_CollisionShapeManager_RemoveShape},
7786  {"RemoveAllShapes", _wrap_CollisionShapeManager_RemoveAllShapes},
7787  {"DestroyShape", _wrap_CollisionShapeManager_DestroyShape},
7788  {"DestroyAllShapes", _wrap_CollisionShapeManager_DestroyAllShapes},
7789  {"BeginCollisionShape", _wrap_CollisionShapeManager_BeginCollisionShape},
7790  {"EndCollisionShape", _wrap_CollisionShapeManager_EndCollisionShape},
7791  {"GenerateConvexHull", _wrap_CollisionShapeManager_GenerateConvexHull},
7792  {"GenerateDynamicTriMesh", _wrap_CollisionShapeManager_GenerateDynamicTriMesh},
7793  {"GenerateStaticTriMesh", _wrap_CollisionShapeManager_GenerateStaticTriMesh},
7794  {"PerformConvexDecomposition", _wrap_CollisionShapeManager_PerformConvexDecomposition},
7795  {"LoadAllShapesFromXMLFile", _wrap_CollisionShapeManager_LoadAllShapesFromXMLFile},
7796  {"SaveAllStoredShapesToXMLFile", _wrap_CollisionShapeManager_SaveAllStoredShapesToXMLFile},
7797  {"SaveShapesToXMLFile", _wrap_CollisionShapeManager_SaveShapesToXMLFile},
7798  {"LoadAllShapesFromBinaryFile", _wrap_CollisionShapeManager_LoadAllShapesFromBinaryFile},
7799  {"SaveAllStoredShapesToBinaryFile", _wrap_CollisionShapeManager_SaveAllStoredShapesToBinaryFile},
7800  {"SaveShapesToBinaryFile", _wrap_CollisionShapeManager_SaveShapesToBinaryFile},
7801  {"GetUnnamedShapes", _wrap_CollisionShapeManager_GetUnnamedShapes},
7802  {"SetNameForUnnamedShape", _wrap_CollisionShapeManager_SetNameForUnnamedShape},
7803  {"Initialize", _wrap_CollisionShapeManager_Initialize},
7804  {"Deinitialize", _wrap_CollisionShapeManager_Deinitialize},
7805  {"GetInterfaceType", _wrap_CollisionShapeManager_GetInterfaceType},
7806  {"GetImplementationTypeName", _wrap_CollisionShapeManager_GetImplementationTypeName},
7807  {0,0}
7808 };
7809 static swig_lua_attribute swig_Mezzanine_Physics_CollisionShapeManager_attributes[] = {
7810  {0,0,0}
7811 };
7812 static swig_lua_class *swig_Mezzanine_Physics_CollisionShapeManager_bases[] = {0};
7813 static const char *swig_Mezzanine_Physics_CollisionShapeManager_base_names[] = {0};
7814 static swig_lua_class _wrap_class_Mezzanine_Physics_CollisionShapeManager = { "CollisionShapeManager", &SWIGTYPE_p_Mezzanine__Physics__CollisionShapeManager,_wrap_new_CollisionShapeManager, swig_delete_CollisionShapeManager, swig_Mezzanine_Physics_CollisionShapeManager_methods, swig_Mezzanine_Physics_CollisionShapeManager_attributes, swig_Mezzanine_Physics_CollisionShapeManager_bases, swig_Mezzanine_Physics_CollisionShapeManager_base_names };
7815 
7816 static int _wrap_new_DefaultCollisionShapeManagerFactory(lua_State* L) {
7817  int SWIG_arg = 0;
7819 
7820  SWIG_check_num_args("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::DefaultCollisionShapeManagerFactory",0,0)
7821  result = (Mezzanine::Physics::DefaultCollisionShapeManagerFactory *)new Mezzanine::Physics::DefaultCollisionShapeManagerFactory();
7822  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,1); SWIG_arg++;
7823  return SWIG_arg;
7824 
7825  if(0) SWIG_fail;
7826 
7827 fail:
7828  lua_error(L);
7829  return SWIG_arg;
7830 }
7831 
7832 
7833 static int _wrap_DefaultCollisionShapeManagerFactory_GetManagerTypeName(lua_State* L) {
7834  int SWIG_arg = 0;
7836  Mezzanine::String result;
7837 
7838  SWIG_check_num_args("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::GetManagerTypeName",1,1)
7839  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::GetManagerTypeName",1,"Mezzanine::Physics::DefaultCollisionShapeManagerFactory const *");
7840 
7841  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,0))){
7842  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_GetManagerTypeName",1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory);
7843  }
7844 
7845  result = ((Mezzanine::Physics::DefaultCollisionShapeManagerFactory const *)arg1)->GetManagerTypeName();
7846  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
7847  return SWIG_arg;
7848 
7849  if(0) SWIG_fail;
7850 
7851 fail:
7852  lua_error(L);
7853  return SWIG_arg;
7854 }
7855 
7856 
7857 static int _wrap_DefaultCollisionShapeManagerFactory_CreateManager__SWIG_0(lua_State* L) {
7858  int SWIG_arg = 0;
7860  Mezzanine::NameValuePairList *arg2 = 0 ;
7861  ManagerBase *result = 0 ;
7862 
7863  SWIG_check_num_args("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager",2,2)
7864  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager",1,"Mezzanine::Physics::DefaultCollisionShapeManagerFactory *");
7865  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager",2,"Mezzanine::NameValuePairList &");
7866 
7867  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,0))){
7868  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_CreateManager",1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory);
7869  }
7870 
7871 
7872  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t,0))){
7873  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_CreateManager",2,SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t);
7874  }
7875 
7876  result = (ManagerBase *)(arg1)->CreateManager(*arg2);
7877  SWIG_NewPointerObj(L,result,SWIGTYPE_p_ManagerBase,0); SWIG_arg++;
7878  return SWIG_arg;
7879 
7880  if(0) SWIG_fail;
7881 
7882 fail:
7883  lua_error(L);
7884  return SWIG_arg;
7885 }
7886 
7887 
7888 static int _wrap_DefaultCollisionShapeManagerFactory_CreateManager__SWIG_1(lua_State* L) {
7889  int SWIG_arg = 0;
7891  XML::Node *arg2 = 0 ;
7892  ManagerBase *result = 0 ;
7893 
7894  SWIG_check_num_args("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager",2,2)
7895  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager",1,"Mezzanine::Physics::DefaultCollisionShapeManagerFactory *");
7896  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager",2,"XML::Node &");
7897 
7898  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,0))){
7899  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_CreateManager",1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory);
7900  }
7901 
7902 
7903  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
7904  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_CreateManager",2,SWIGTYPE_p_XML__Node);
7905  }
7906 
7907  result = (ManagerBase *)(arg1)->CreateManager(*arg2);
7908  SWIG_NewPointerObj(L,result,SWIGTYPE_p_ManagerBase,0); SWIG_arg++;
7909  return SWIG_arg;
7910 
7911  if(0) SWIG_fail;
7912 
7913 fail:
7914  lua_error(L);
7915  return SWIG_arg;
7916 }
7917 
7918 
7919 static int _wrap_DefaultCollisionShapeManagerFactory_CreateManager(lua_State* L) {
7920  int argc;
7921  int argv[3]={
7922  1,2,3
7923  };
7924 
7925  argc = lua_gettop(L);
7926  if (argc == 2) {
7927  int _v;
7928  {
7929  void *ptr;
7930  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory, 0)) {
7931  _v = 0;
7932  } else {
7933  _v = 1;
7934  }
7935  }
7936  if (_v) {
7937  {
7938  void *ptr;
7939  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__listT_std__pairT_std__string_std__string_t_t, 0)) {
7940  _v = 0;
7941  } else {
7942  _v = 1;
7943  }
7944  }
7945  if (_v) {
7946  return _wrap_DefaultCollisionShapeManagerFactory_CreateManager__SWIG_0(L);
7947  }
7948  }
7949  }
7950  if (argc == 2) {
7951  int _v;
7952  {
7953  void *ptr;
7954  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory, 0)) {
7955  _v = 0;
7956  } else {
7957  _v = 1;
7958  }
7959  }
7960  if (_v) {
7961  {
7962  void *ptr;
7963  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
7964  _v = 0;
7965  } else {
7966  _v = 1;
7967  }
7968  }
7969  if (_v) {
7970  return _wrap_DefaultCollisionShapeManagerFactory_CreateManager__SWIG_1(L);
7971  }
7972  }
7973  }
7974 
7975  lua_pushstring(L,"Wrong arguments for overloaded function 'DefaultCollisionShapeManagerFactory_CreateManager'\n"
7976  " Possible C/C++ prototypes are:\n"
7977  " Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager(Mezzanine::NameValuePairList &)\n"
7978  " Mezzanine::Physics::DefaultCollisionShapeManagerFactory::CreateManager(XML::Node &)\n");
7979  lua_error(L);return 0;
7980 }
7981 
7982 
7983 static int _wrap_DefaultCollisionShapeManagerFactory_DestroyManager(lua_State* L) {
7984  int SWIG_arg = 0;
7986  ManagerBase *arg2 = (ManagerBase *) 0 ;
7987 
7988  SWIG_check_num_args("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::DestroyManager",2,2)
7989  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::DestroyManager",1,"Mezzanine::Physics::DefaultCollisionShapeManagerFactory *");
7990  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::DefaultCollisionShapeManagerFactory::DestroyManager",2,"ManagerBase *");
7991 
7992  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,0))){
7993  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_DestroyManager",1,SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory);
7994  }
7995 
7996 
7997  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_ManagerBase,0))){
7998  SWIG_fail_ptr("DefaultCollisionShapeManagerFactory_DestroyManager",2,SWIGTYPE_p_ManagerBase);
7999  }
8000 
8001  (arg1)->DestroyManager(arg2);
8002 
8003  return SWIG_arg;
8004 
8005  if(0) SWIG_fail;
8006 
8007 fail:
8008  lua_error(L);
8009  return SWIG_arg;
8010 }
8011 
8012 
8013 static void swig_delete_DefaultCollisionShapeManagerFactory(void *obj) {
8015 delete arg1;
8016 }
8017 static swig_lua_method swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_methods[] = {
8018  {"GetManagerTypeName", _wrap_DefaultCollisionShapeManagerFactory_GetManagerTypeName},
8019  {"CreateManager", _wrap_DefaultCollisionShapeManagerFactory_CreateManager},
8020  {"DestroyManager", _wrap_DefaultCollisionShapeManagerFactory_DestroyManager},
8021  {0,0}
8022 };
8023 static swig_lua_attribute swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_attributes[] = {
8024  {0,0,0}
8025 };
8026 static swig_lua_class *swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_bases[] = {0};
8027 static const char *swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_base_names[] = {0};
8028 static swig_lua_class _wrap_class_Mezzanine_Physics_DefaultCollisionShapeManagerFactory = { "DefaultCollisionShapeManagerFactory", &SWIGTYPE_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,_wrap_new_DefaultCollisionShapeManagerFactory, swig_delete_DefaultCollisionShapeManagerFactory, swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_methods, swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_attributes, swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_bases, swig_Mezzanine_Physics_DefaultCollisionShapeManagerFactory_base_names };
8029 
8030 static int _wrap_PrimitiveCollisionShape_GetType(lua_State* L) {
8031  int SWIG_arg = 0;
8034 
8035  SWIG_check_num_args("Mezzanine::Physics::PrimitiveCollisionShape::GetType",1,1)
8036  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PrimitiveCollisionShape::GetType",1,"Mezzanine::Physics::PrimitiveCollisionShape const *");
8037 
8038  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape,0))){
8039  SWIG_fail_ptr("PrimitiveCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape);
8040  }
8041 
8043  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
8044  return SWIG_arg;
8045 
8046  if(0) SWIG_fail;
8047 
8048 fail:
8049  lua_error(L);
8050  return SWIG_arg;
8051 }
8052 
8053 
8054 static int _wrap_PrimitiveCollisionShape_GetBulletConvexShape(lua_State* L) {
8055  int SWIG_arg = 0;
8057  btConvexInternalShape *result = 0 ;
8058 
8059  SWIG_check_num_args("Mezzanine::Physics::PrimitiveCollisionShape::GetBulletConvexShape",1,1)
8060  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PrimitiveCollisionShape::GetBulletConvexShape",1,"Mezzanine::Physics::PrimitiveCollisionShape const *");
8061 
8062  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape,0))){
8063  SWIG_fail_ptr("PrimitiveCollisionShape_GetBulletConvexShape",1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape);
8064  }
8065 
8066  result = (btConvexInternalShape *)((Mezzanine::Physics::PrimitiveCollisionShape const *)arg1)->GetBulletConvexShape();
8067  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btConvexInternalShape,0); SWIG_arg++;
8068  return SWIG_arg;
8069 
8070  if(0) SWIG_fail;
8071 
8072 fail:
8073  lua_error(L);
8074  return SWIG_arg;
8075 }
8076 
8077 
8078 static int _wrap_PrimitiveCollisionShape_ProtoSerialize(lua_State* L) {
8079  int SWIG_arg = 0;
8081  XML::Node *arg2 = 0 ;
8082 
8083  SWIG_check_num_args("Mezzanine::Physics::PrimitiveCollisionShape::ProtoSerialize",2,2)
8084  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PrimitiveCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::PrimitiveCollisionShape const *");
8085  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PrimitiveCollisionShape::ProtoSerialize",2,"XML::Node &");
8086 
8087  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape,0))){
8088  SWIG_fail_ptr("PrimitiveCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape);
8089  }
8090 
8091 
8092  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
8093  SWIG_fail_ptr("PrimitiveCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
8094  }
8095 
8096  ((Mezzanine::Physics::PrimitiveCollisionShape const *)arg1)->ProtoSerialize(*arg2);
8097 
8098  return SWIG_arg;
8099 
8100  if(0) SWIG_fail;
8101 
8102 fail:
8103  lua_error(L);
8104  return SWIG_arg;
8105 }
8106 
8107 
8108 static int _wrap_PrimitiveCollisionShape_ProtoDeSerialize(lua_State* L) {
8109  int SWIG_arg = 0;
8111  XML::Node *arg2 = 0 ;
8112 
8113  SWIG_check_num_args("Mezzanine::Physics::PrimitiveCollisionShape::ProtoDeSerialize",2,2)
8114  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PrimitiveCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::PrimitiveCollisionShape *");
8115  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PrimitiveCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
8116 
8117  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape,0))){
8118  SWIG_fail_ptr("PrimitiveCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape);
8119  }
8120 
8121 
8122  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
8123  SWIG_fail_ptr("PrimitiveCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
8124  }
8125 
8126  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
8127 
8128  return SWIG_arg;
8129 
8130  if(0) SWIG_fail;
8131 
8132 fail:
8133  lua_error(L);
8134  return SWIG_arg;
8135 }
8136 
8137 
8138 static int _wrap_PrimitiveCollisionShape_SerializableName(lua_State* L) {
8139  int SWIG_arg = 0;
8140  Mezzanine::String result;
8141 
8142  SWIG_check_num_args("Mezzanine::Physics::PrimitiveCollisionShape::SerializableName",0,0)
8143  result = Mezzanine::Physics::PrimitiveCollisionShape::SerializableName();
8144  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
8145  return SWIG_arg;
8146 
8147  if(0) SWIG_fail;
8148 
8149 fail:
8150  lua_error(L);
8151  return SWIG_arg;
8152 }
8153 
8154 
8155 static void swig_delete_PrimitiveCollisionShape(void *obj) {
8157 delete arg1;
8158 }
8159 static swig_lua_method swig_Mezzanine_Physics_PrimitiveCollisionShape_methods[] = {
8160  {"GetType", _wrap_PrimitiveCollisionShape_GetType},
8161  {"GetBulletConvexShape", _wrap_PrimitiveCollisionShape_GetBulletConvexShape},
8162  {"ProtoSerialize", _wrap_PrimitiveCollisionShape_ProtoSerialize},
8163  {"ProtoDeSerialize", _wrap_PrimitiveCollisionShape_ProtoDeSerialize},
8164  {0,0}
8165 };
8166 static swig_lua_attribute swig_Mezzanine_Physics_PrimitiveCollisionShape_attributes[] = {
8167  {0,0,0}
8168 };
8169 static swig_lua_class *swig_Mezzanine_Physics_PrimitiveCollisionShape_bases[] = {0,0};
8170 static const char *swig_Mezzanine_Physics_PrimitiveCollisionShape_base_names[] = {"Mezzanine::Physics::CollisionShape *",0};
8171 static swig_lua_class _wrap_class_Mezzanine_Physics_PrimitiveCollisionShape = { "PrimitiveCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__PrimitiveCollisionShape,0, swig_delete_PrimitiveCollisionShape, swig_Mezzanine_Physics_PrimitiveCollisionShape_methods, swig_Mezzanine_Physics_PrimitiveCollisionShape_attributes, swig_Mezzanine_Physics_PrimitiveCollisionShape_bases, swig_Mezzanine_Physics_PrimitiveCollisionShape_base_names };
8172 
8173 static int _wrap_new_BoxCollisionShape__SWIG_0(lua_State* L) {
8174  int SWIG_arg = 0;
8175  Mezzanine::String *arg1 = 0 ;
8176  Mezzanine::Physics::Vector3 *arg2 = 0 ;
8177  Mezzanine::String temp1 ;
8179 
8180  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",2,2)
8181  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",1,"Mezzanine::String const &");
8182  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",2,"Mezzanine::Physics::Vector3 const &");
8183  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
8184 
8185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
8186  SWIG_fail_ptr("new_BoxCollisionShape",2,SWIGTYPE_p_Mezzanine__Vector3);
8187  }
8188 
8190  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,1); SWIG_arg++;
8191  return SWIG_arg;
8192 
8193  if(0) SWIG_fail;
8194 
8195 fail:
8196  lua_error(L);
8197  return SWIG_arg;
8198 }
8199 
8200 
8201 static int _wrap_new_BoxCollisionShape__SWIG_1(lua_State* L) {
8202  int SWIG_arg = 0;
8203  Mezzanine::String *arg1 = 0 ;
8204  btBoxShape *arg2 = (btBoxShape *) 0 ;
8205  Mezzanine::String temp1 ;
8207 
8208  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",2,2)
8209  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",1,"Mezzanine::String const &");
8210  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",2,"btBoxShape *");
8211  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
8212 
8213  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btBoxShape,0))){
8214  SWIG_fail_ptr("new_BoxCollisionShape",2,SWIGTYPE_p_btBoxShape);
8215  }
8216 
8218  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,1); SWIG_arg++;
8219  return SWIG_arg;
8220 
8221  if(0) SWIG_fail;
8222 
8223 fail:
8224  lua_error(L);
8225  return SWIG_arg;
8226 }
8227 
8228 
8229 static int _wrap_new_BoxCollisionShape__SWIG_2(lua_State* L) {
8230  int SWIG_arg = 0;
8231  XML::Node arg1 ;
8232  XML::Node *argp1 ;
8234 
8235  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",1,1)
8236  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape",1,"XML::Node");
8237 
8238  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
8239  SWIG_fail_ptr("new_BoxCollisionShape",1,SWIGTYPE_p_XML__Node);
8240  }
8241  arg1 = *argp1;
8242 
8244  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,1); SWIG_arg++;
8245  return SWIG_arg;
8246 
8247  if(0) SWIG_fail;
8248 
8249 fail:
8250  lua_error(L);
8251  return SWIG_arg;
8252 }
8253 
8254 
8255 static int _wrap_new_BoxCollisionShape(lua_State* L) {
8256  int argc;
8257  int argv[3]={
8258  1,2,3
8259  };
8260 
8261  argc = lua_gettop(L);
8262  if (argc == 1) {
8263  int _v;
8264  {
8265  void *ptr;
8266  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
8267  _v = 0;
8268  } else {
8269  _v = 1;
8270  }
8271  }
8272  if (_v) {
8273  return _wrap_new_BoxCollisionShape__SWIG_2(L);
8274  }
8275  }
8276  if (argc == 2) {
8277  int _v;
8278  {
8279  _v = lua_isstring(L,argv[0]);
8280  }
8281  if (_v) {
8282  {
8283  void *ptr;
8284  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btBoxShape, 0)) {
8285  _v = 0;
8286  } else {
8287  _v = 1;
8288  }
8289  }
8290  if (_v) {
8291  return _wrap_new_BoxCollisionShape__SWIG_1(L);
8292  }
8293  }
8294  }
8295  if (argc == 2) {
8296  int _v;
8297  {
8298  _v = lua_isstring(L,argv[0]);
8299  }
8300  if (_v) {
8301  {
8302  void *ptr;
8303  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
8304  _v = 0;
8305  } else {
8306  _v = 1;
8307  }
8308  }
8309  if (_v) {
8310  return _wrap_new_BoxCollisionShape__SWIG_0(L);
8311  }
8312  }
8313  }
8314 
8315  lua_pushstring(L,"Wrong arguments for overloaded function 'new_BoxCollisionShape'\n"
8316  " Possible C/C++ prototypes are:\n"
8317  " Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape(Mezzanine::String const &,Mezzanine::Physics::Vector3 const &)\n"
8318  " Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape(Mezzanine::String const &,btBoxShape *)\n"
8319  " Mezzanine::Physics::BoxCollisionShape::BoxCollisionShape(XML::Node)\n");
8320  lua_error(L);return 0;
8321 }
8322 
8323 
8324 static int _wrap_BoxCollisionShape_GetCleanHalfExtents(lua_State* L) {
8325  int SWIG_arg = 0;
8328 
8329  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::GetCleanHalfExtents",1,1)
8330  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::GetCleanHalfExtents",1,"Mezzanine::Physics::BoxCollisionShape const *");
8331 
8332  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8333  SWIG_fail_ptr("BoxCollisionShape_GetCleanHalfExtents",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8334  }
8335 
8336  result = ((Mezzanine::Physics::BoxCollisionShape const *)arg1)->GetCleanHalfExtents();
8337  {
8339  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
8340  }
8341  return SWIG_arg;
8342 
8343  if(0) SWIG_fail;
8344 
8345 fail:
8346  lua_error(L);
8347  return SWIG_arg;
8348 }
8349 
8350 
8351 static int _wrap_BoxCollisionShape_GetHalfExtents(lua_State* L) {
8352  int SWIG_arg = 0;
8355 
8356  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::GetHalfExtents",1,1)
8357  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::GetHalfExtents",1,"Mezzanine::Physics::BoxCollisionShape const *");
8358 
8359  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8360  SWIG_fail_ptr("BoxCollisionShape_GetHalfExtents",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8361  }
8362 
8363  result = ((Mezzanine::Physics::BoxCollisionShape const *)arg1)->GetHalfExtents();
8364  {
8366  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
8367  }
8368  return SWIG_arg;
8369 
8370  if(0) SWIG_fail;
8371 
8372 fail:
8373  lua_error(L);
8374  return SWIG_arg;
8375 }
8376 
8377 
8378 static int _wrap_BoxCollisionShape_GetHalfExtentsWithMargin(lua_State* L) {
8379  int SWIG_arg = 0;
8382 
8383  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::GetHalfExtentsWithMargin",1,1)
8384  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::GetHalfExtentsWithMargin",1,"Mezzanine::Physics::BoxCollisionShape const *");
8385 
8386  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8387  SWIG_fail_ptr("BoxCollisionShape_GetHalfExtentsWithMargin",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8388  }
8389 
8390  result = ((Mezzanine::Physics::BoxCollisionShape const *)arg1)->GetHalfExtentsWithMargin();
8391  {
8393  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
8394  }
8395  return SWIG_arg;
8396 
8397  if(0) SWIG_fail;
8398 
8399 fail:
8400  lua_error(L);
8401  return SWIG_arg;
8402 }
8403 
8404 
8405 static int _wrap_BoxCollisionShape_IsInside(lua_State* L) {
8406  int SWIG_arg = 0;
8408  Mezzanine::Physics::Vector3 *arg2 = 0 ;
8409  Mezzanine::Real *arg3 = 0 ;
8410  Mezzanine::Real temp3 ;
8411  Mezzanine::Boole result;
8412 
8413  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::IsInside",3,3)
8414  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::IsInside",1,"Mezzanine::Physics::BoxCollisionShape const *");
8415  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::IsInside",2,"Mezzanine::Physics::Vector3 const &");
8416  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::IsInside",3,"Mezzanine::Real const &");
8417 
8418  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8419  SWIG_fail_ptr("BoxCollisionShape_IsInside",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8420  }
8421 
8422 
8423  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
8424  SWIG_fail_ptr("BoxCollisionShape_IsInside",2,SWIGTYPE_p_Mezzanine__Vector3);
8425  }
8426 
8427  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
8428  result = (Mezzanine::Boole)((Mezzanine::Physics::BoxCollisionShape const *)arg1)->IsInside((Mezzanine::Physics::Vector3 const &)*arg2,(Mezzanine::Real const &)*arg3);
8429  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8430  return SWIG_arg;
8431 
8432  if(0) SWIG_fail;
8433 
8434 fail:
8435  lua_error(L);
8436  return SWIG_arg;
8437 }
8438 
8439 
8440 static int _wrap_BoxCollisionShape_GetType(lua_State* L) {
8441  int SWIG_arg = 0;
8444 
8445  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::GetType",1,1)
8446  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::GetType",1,"Mezzanine::Physics::BoxCollisionShape const *");
8447 
8448  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8449  SWIG_fail_ptr("BoxCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8450  }
8451 
8453  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
8454  return SWIG_arg;
8455 
8456  if(0) SWIG_fail;
8457 
8458 fail:
8459  lua_error(L);
8460  return SWIG_arg;
8461 }
8462 
8463 
8464 static int _wrap_BoxCollisionShape_GetBulletBoxShape(lua_State* L) {
8465  int SWIG_arg = 0;
8467  btBoxShape *result = 0 ;
8468 
8469  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::GetBulletBoxShape",1,1)
8470  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::GetBulletBoxShape",1,"Mezzanine::Physics::BoxCollisionShape const *");
8471 
8472  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8473  SWIG_fail_ptr("BoxCollisionShape_GetBulletBoxShape",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8474  }
8475 
8476  result = (btBoxShape *)((Mezzanine::Physics::BoxCollisionShape const *)arg1)->GetBulletBoxShape();
8477  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btBoxShape,0); SWIG_arg++;
8478  return SWIG_arg;
8479 
8480  if(0) SWIG_fail;
8481 
8482 fail:
8483  lua_error(L);
8484  return SWIG_arg;
8485 }
8486 
8487 
8488 static int _wrap_BoxCollisionShape_ProtoSerialize(lua_State* L) {
8489  int SWIG_arg = 0;
8491  XML::Node *arg2 = 0 ;
8492 
8493  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::ProtoSerialize",2,2)
8494  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::BoxCollisionShape const *");
8495  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::ProtoSerialize",2,"XML::Node &");
8496 
8497  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8498  SWIG_fail_ptr("BoxCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8499  }
8500 
8501 
8502  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
8503  SWIG_fail_ptr("BoxCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
8504  }
8505 
8506  ((Mezzanine::Physics::BoxCollisionShape const *)arg1)->ProtoSerialize(*arg2);
8507 
8508  return SWIG_arg;
8509 
8510  if(0) SWIG_fail;
8511 
8512 fail:
8513  lua_error(L);
8514  return SWIG_arg;
8515 }
8516 
8517 
8518 static int _wrap_BoxCollisionShape_ProtoDeSerialize(lua_State* L) {
8519  int SWIG_arg = 0;
8521  XML::Node *arg2 = 0 ;
8522 
8523  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::ProtoDeSerialize",2,2)
8524  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::BoxCollisionShape *");
8525  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::BoxCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
8526 
8527  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,0))){
8528  SWIG_fail_ptr("BoxCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape);
8529  }
8530 
8531 
8532  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
8533  SWIG_fail_ptr("BoxCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
8534  }
8535 
8536  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
8537 
8538  return SWIG_arg;
8539 
8540  if(0) SWIG_fail;
8541 
8542 fail:
8543  lua_error(L);
8544  return SWIG_arg;
8545 }
8546 
8547 
8548 static int _wrap_BoxCollisionShape_SerializableName(lua_State* L) {
8549  int SWIG_arg = 0;
8550  Mezzanine::String result;
8551 
8552  SWIG_check_num_args("Mezzanine::Physics::BoxCollisionShape::SerializableName",0,0)
8553  result = Mezzanine::Physics::BoxCollisionShape::SerializableName();
8554  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
8555  return SWIG_arg;
8556 
8557  if(0) SWIG_fail;
8558 
8559 fail:
8560  lua_error(L);
8561  return SWIG_arg;
8562 }
8563 
8564 
8565 static void swig_delete_BoxCollisionShape(void *obj) {
8567 delete arg1;
8568 }
8569 static swig_lua_method swig_Mezzanine_Physics_BoxCollisionShape_methods[] = {
8570  {"GetCleanHalfExtents", _wrap_BoxCollisionShape_GetCleanHalfExtents},
8571  {"GetHalfExtents", _wrap_BoxCollisionShape_GetHalfExtents},
8572  {"GetHalfExtentsWithMargin", _wrap_BoxCollisionShape_GetHalfExtentsWithMargin},
8573  {"IsInside", _wrap_BoxCollisionShape_IsInside},
8574  {"GetType", _wrap_BoxCollisionShape_GetType},
8575  {"GetBulletBoxShape", _wrap_BoxCollisionShape_GetBulletBoxShape},
8576  {"ProtoSerialize", _wrap_BoxCollisionShape_ProtoSerialize},
8577  {"ProtoDeSerialize", _wrap_BoxCollisionShape_ProtoDeSerialize},
8578  {0,0}
8579 };
8580 static swig_lua_attribute swig_Mezzanine_Physics_BoxCollisionShape_attributes[] = {
8581  {0,0,0}
8582 };
8583 static swig_lua_class *swig_Mezzanine_Physics_BoxCollisionShape_bases[] = {0,0};
8584 static const char *swig_Mezzanine_Physics_BoxCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
8585 static swig_lua_class _wrap_class_Mezzanine_Physics_BoxCollisionShape = { "BoxCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__BoxCollisionShape,_wrap_new_BoxCollisionShape, swig_delete_BoxCollisionShape, swig_Mezzanine_Physics_BoxCollisionShape_methods, swig_Mezzanine_Physics_BoxCollisionShape_attributes, swig_Mezzanine_Physics_BoxCollisionShape_bases, swig_Mezzanine_Physics_BoxCollisionShape_base_names };
8586 
8587 static int _wrap_new_CapsuleCollisionShape__SWIG_0(lua_State* L) {
8588  int SWIG_arg = 0;
8589  Mezzanine::String *arg1 = 0 ;
8590  Mezzanine::Real *arg2 = 0 ;
8591  Mezzanine::Real *arg3 = 0 ;
8592  Mezzanine::Physics::Vector3 *arg4 = 0 ;
8593  Mezzanine::String temp1 ;
8594  Mezzanine::Real temp2 ;
8595  Mezzanine::Real temp3 ;
8597 
8598  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",4,4)
8599  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",1,"Mezzanine::String const &");
8600  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",2,"Mezzanine::Real const &");
8601  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",3,"Mezzanine::Real const &");
8602  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",4,"Mezzanine::Physics::Vector3 const &");
8603  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
8604  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
8605  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
8606 
8607  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
8608  SWIG_fail_ptr("new_CapsuleCollisionShape",4,SWIGTYPE_p_Mezzanine__Vector3);
8609  }
8610 
8612  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,1); SWIG_arg++;
8613  return SWIG_arg;
8614 
8615  if(0) SWIG_fail;
8616 
8617 fail:
8618  lua_error(L);
8619  return SWIG_arg;
8620 }
8621 
8622 
8623 static int _wrap_new_CapsuleCollisionShape__SWIG_1(lua_State* L) {
8624  int SWIG_arg = 0;
8625  Mezzanine::String *arg1 = 0 ;
8626  Mezzanine::Real *arg2 = 0 ;
8627  Mezzanine::Real *arg3 = 0 ;
8628  StandardAxis arg4 ;
8629  Mezzanine::String temp1 ;
8630  Mezzanine::Real temp2 ;
8631  Mezzanine::Real temp3 ;
8632  StandardAxis *argp4 ;
8634 
8635  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",4,4)
8636  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",1,"Mezzanine::String const &");
8637  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",2,"Mezzanine::Real const &");
8638  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",3,"Mezzanine::Real const &");
8639  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",4,"StandardAxis");
8640  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
8641  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
8642  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
8643 
8644  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_StandardAxis,0))){
8645  SWIG_fail_ptr("new_CapsuleCollisionShape",4,SWIGTYPE_p_StandardAxis);
8646  }
8647  arg4 = *argp4;
8648 
8650  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,1); SWIG_arg++;
8651  return SWIG_arg;
8652 
8653  if(0) SWIG_fail;
8654 
8655 fail:
8656  lua_error(L);
8657  return SWIG_arg;
8658 }
8659 
8660 
8661 static int _wrap_new_CapsuleCollisionShape__SWIG_2(lua_State* L) {
8662  int SWIG_arg = 0;
8663  XML::Node arg1 ;
8664  XML::Node *argp1 ;
8666 
8667  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",1,1)
8668  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",1,"XML::Node");
8669 
8670  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
8671  SWIG_fail_ptr("new_CapsuleCollisionShape",1,SWIGTYPE_p_XML__Node);
8672  }
8673  arg1 = *argp1;
8674 
8676  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,1); SWIG_arg++;
8677  return SWIG_arg;
8678 
8679  if(0) SWIG_fail;
8680 
8681 fail:
8682  lua_error(L);
8683  return SWIG_arg;
8684 }
8685 
8686 
8687 static int _wrap_new_CapsuleCollisionShape__SWIG_3(lua_State* L) {
8688  int SWIG_arg = 0;
8689  Mezzanine::String *arg1 = 0 ;
8690  btCapsuleShape *arg2 = (btCapsuleShape *) 0 ;
8691  Mezzanine::String temp1 ;
8693 
8694  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",2,2)
8695  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",1,"Mezzanine::String const &");
8696  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape",2,"btCapsuleShape *");
8697  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
8698 
8699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btCapsuleShape,0))){
8700  SWIG_fail_ptr("new_CapsuleCollisionShape",2,SWIGTYPE_p_btCapsuleShape);
8701  }
8702 
8704  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,1); SWIG_arg++;
8705  return SWIG_arg;
8706 
8707  if(0) SWIG_fail;
8708 
8709 fail:
8710  lua_error(L);
8711  return SWIG_arg;
8712 }
8713 
8714 
8715 static int _wrap_new_CapsuleCollisionShape(lua_State* L) {
8716  int argc;
8717  int argv[5]={
8718  1,2,3,4,5
8719  };
8720 
8721  argc = lua_gettop(L);
8722  if (argc == 1) {
8723  int _v;
8724  {
8725  void *ptr;
8726  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
8727  _v = 0;
8728  } else {
8729  _v = 1;
8730  }
8731  }
8732  if (_v) {
8733  return _wrap_new_CapsuleCollisionShape__SWIG_2(L);
8734  }
8735  }
8736  if (argc == 2) {
8737  int _v;
8738  {
8739  _v = lua_isstring(L,argv[0]);
8740  }
8741  if (_v) {
8742  {
8743  void *ptr;
8744  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btCapsuleShape, 0)) {
8745  _v = 0;
8746  } else {
8747  _v = 1;
8748  }
8749  }
8750  if (_v) {
8751  return _wrap_new_CapsuleCollisionShape__SWIG_3(L);
8752  }
8753  }
8754  }
8755  if (argc == 4) {
8756  int _v;
8757  {
8758  _v = lua_isstring(L,argv[0]);
8759  }
8760  if (_v) {
8761  {
8762  _v = lua_isnumber(L,argv[1]);
8763  }
8764  if (_v) {
8765  {
8766  _v = lua_isnumber(L,argv[2]);
8767  }
8768  if (_v) {
8769  {
8770  void *ptr;
8771  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
8772  _v = 0;
8773  } else {
8774  _v = 1;
8775  }
8776  }
8777  if (_v) {
8778  return _wrap_new_CapsuleCollisionShape__SWIG_0(L);
8779  }
8780  }
8781  }
8782  }
8783  }
8784  if (argc == 4) {
8785  int _v;
8786  {
8787  _v = lua_isstring(L,argv[0]);
8788  }
8789  if (_v) {
8790  {
8791  _v = lua_isnumber(L,argv[1]);
8792  }
8793  if (_v) {
8794  {
8795  _v = lua_isnumber(L,argv[2]);
8796  }
8797  if (_v) {
8798  {
8799  void *ptr;
8800  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_StandardAxis, 0)) {
8801  _v = 0;
8802  } else {
8803  _v = 1;
8804  }
8805  }
8806  if (_v) {
8807  return _wrap_new_CapsuleCollisionShape__SWIG_1(L);
8808  }
8809  }
8810  }
8811  }
8812  }
8813 
8814  lua_pushstring(L,"Wrong arguments for overloaded function 'new_CapsuleCollisionShape'\n"
8815  " Possible C/C++ prototypes are:\n"
8816  " Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape(Mezzanine::String const &,Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::Physics::Vector3 const &)\n"
8817  " Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape(Mezzanine::String const &,Mezzanine::Real const &,Mezzanine::Real const &,StandardAxis)\n"
8818  " Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape(XML::Node)\n"
8819  " Mezzanine::Physics::CapsuleCollisionShape::CapsuleCollisionShape(Mezzanine::String const &,btCapsuleShape *)\n");
8820  lua_error(L);return 0;
8821 }
8822 
8823 
8824 static int _wrap_CapsuleCollisionShape_GetRadius(lua_State* L) {
8825  int SWIG_arg = 0;
8827  Mezzanine::Real result;
8828 
8829  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetRadius",1,1)
8830  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetRadius",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8831 
8832  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8833  SWIG_fail_ptr("CapsuleCollisionShape_GetRadius",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8834  }
8835 
8836  result = (Mezzanine::Real)((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetRadius();
8837  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8838  return SWIG_arg;
8839 
8840  if(0) SWIG_fail;
8841 
8842 fail:
8843  lua_error(L);
8844  return SWIG_arg;
8845 }
8846 
8847 
8848 static int _wrap_CapsuleCollisionShape_GetHeight(lua_State* L) {
8849  int SWIG_arg = 0;
8851  Mezzanine::Real result;
8852 
8853  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetHeight",1,1)
8854  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetHeight",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8855 
8856  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8857  SWIG_fail_ptr("CapsuleCollisionShape_GetHeight",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8858  }
8859 
8860  result = (Mezzanine::Real)((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetHeight();
8861  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8862  return SWIG_arg;
8863 
8864  if(0) SWIG_fail;
8865 
8866 fail:
8867  lua_error(L);
8868  return SWIG_arg;
8869 }
8870 
8871 
8872 static int _wrap_CapsuleCollisionShape_GetCleanRadius(lua_State* L) {
8873  int SWIG_arg = 0;
8875  Mezzanine::Real result;
8876 
8877  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetCleanRadius",1,1)
8878  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetCleanRadius",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8879 
8880  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8881  SWIG_fail_ptr("CapsuleCollisionShape_GetCleanRadius",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8882  }
8883 
8884  result = (Mezzanine::Real)((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetCleanRadius();
8885  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8886  return SWIG_arg;
8887 
8888  if(0) SWIG_fail;
8889 
8890 fail:
8891  lua_error(L);
8892  return SWIG_arg;
8893 }
8894 
8895 
8896 static int _wrap_CapsuleCollisionShape_GetCleanHeight(lua_State* L) {
8897  int SWIG_arg = 0;
8899  Mezzanine::Real result;
8900 
8901  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetCleanHeight",1,1)
8902  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetCleanHeight",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8903 
8904  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8905  SWIG_fail_ptr("CapsuleCollisionShape_GetCleanHeight",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8906  }
8907 
8908  result = (Mezzanine::Real)((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetCleanHeight();
8909  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8910  return SWIG_arg;
8911 
8912  if(0) SWIG_fail;
8913 
8914 fail:
8915  lua_error(L);
8916  return SWIG_arg;
8917 }
8918 
8919 
8920 static int _wrap_CapsuleCollisionShape_GetUpAxis(lua_State* L) {
8921  int SWIG_arg = 0;
8924 
8925  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetUpAxis",1,1)
8926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetUpAxis",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8927 
8928  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8929  SWIG_fail_ptr("CapsuleCollisionShape_GetUpAxis",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8930  }
8931 
8932  result = ((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetUpAxis();
8933  {
8935  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
8936  }
8937  return SWIG_arg;
8938 
8939  if(0) SWIG_fail;
8940 
8941 fail:
8942  lua_error(L);
8943  return SWIG_arg;
8944 }
8945 
8946 
8947 static int _wrap_CapsuleCollisionShape_GetUpStandardAxis(lua_State* L) {
8948  int SWIG_arg = 0;
8950  StandardAxis result;
8951 
8952  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetUpStandardAxis",1,1)
8953  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetUpStandardAxis",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8954 
8955  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8956  SWIG_fail_ptr("CapsuleCollisionShape_GetUpStandardAxis",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8957  }
8958 
8959  result = ((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetUpStandardAxis();
8960  {
8961  StandardAxis * resultptr = new StandardAxis((const StandardAxis &) result);
8962  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_StandardAxis,1); SWIG_arg++;
8963  }
8964  return SWIG_arg;
8965 
8966  if(0) SWIG_fail;
8967 
8968 fail:
8969  lua_error(L);
8970  return SWIG_arg;
8971 }
8972 
8973 
8974 static int _wrap_CapsuleCollisionShape_GetType(lua_State* L) {
8975  int SWIG_arg = 0;
8978 
8979  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetType",1,1)
8980  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetType",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
8981 
8982  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
8983  SWIG_fail_ptr("CapsuleCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
8984  }
8985 
8987  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
8988  return SWIG_arg;
8989 
8990  if(0) SWIG_fail;
8991 
8992 fail:
8993  lua_error(L);
8994  return SWIG_arg;
8995 }
8996 
8997 
8998 static int _wrap_CapsuleCollisionShape_GetBulletCapsuleShape(lua_State* L) {
8999  int SWIG_arg = 0;
9001  btCapsuleShape *result = 0 ;
9002 
9003  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::GetBulletCapsuleShape",1,1)
9004  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::GetBulletCapsuleShape",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
9005 
9006  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
9007  SWIG_fail_ptr("CapsuleCollisionShape_GetBulletCapsuleShape",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
9008  }
9009 
9010  result = (btCapsuleShape *)((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->GetBulletCapsuleShape();
9011  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCapsuleShape,0); SWIG_arg++;
9012  return SWIG_arg;
9013 
9014  if(0) SWIG_fail;
9015 
9016 fail:
9017  lua_error(L);
9018  return SWIG_arg;
9019 }
9020 
9021 
9022 static int _wrap_CapsuleCollisionShape_ProtoSerialize(lua_State* L) {
9023  int SWIG_arg = 0;
9025  XML::Node *arg2 = 0 ;
9026 
9027  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::ProtoSerialize",2,2)
9028  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::CapsuleCollisionShape const *");
9029  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::ProtoSerialize",2,"XML::Node &");
9030 
9031  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
9032  SWIG_fail_ptr("CapsuleCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
9033  }
9034 
9035 
9036  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
9037  SWIG_fail_ptr("CapsuleCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
9038  }
9039 
9040  ((Mezzanine::Physics::CapsuleCollisionShape const *)arg1)->ProtoSerialize(*arg2);
9041 
9042  return SWIG_arg;
9043 
9044  if(0) SWIG_fail;
9045 
9046 fail:
9047  lua_error(L);
9048  return SWIG_arg;
9049 }
9050 
9051 
9052 static int _wrap_CapsuleCollisionShape_ProtoDeSerialize(lua_State* L) {
9053  int SWIG_arg = 0;
9055  XML::Node *arg2 = 0 ;
9056 
9057  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::ProtoDeSerialize",2,2)
9058  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::CapsuleCollisionShape *");
9059  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CapsuleCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
9060 
9061  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,0))){
9062  SWIG_fail_ptr("CapsuleCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape);
9063  }
9064 
9065 
9066  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
9067  SWIG_fail_ptr("CapsuleCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
9068  }
9069 
9070  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
9071 
9072  return SWIG_arg;
9073 
9074  if(0) SWIG_fail;
9075 
9076 fail:
9077  lua_error(L);
9078  return SWIG_arg;
9079 }
9080 
9081 
9082 static int _wrap_CapsuleCollisionShape_SerializableName(lua_State* L) {
9083  int SWIG_arg = 0;
9084  Mezzanine::String result;
9085 
9086  SWIG_check_num_args("Mezzanine::Physics::CapsuleCollisionShape::SerializableName",0,0)
9087  result = Mezzanine::Physics::CapsuleCollisionShape::SerializableName();
9088  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
9089  return SWIG_arg;
9090 
9091  if(0) SWIG_fail;
9092 
9093 fail:
9094  lua_error(L);
9095  return SWIG_arg;
9096 }
9097 
9098 
9099 static void swig_delete_CapsuleCollisionShape(void *obj) {
9101 delete arg1;
9102 }
9103 static swig_lua_method swig_Mezzanine_Physics_CapsuleCollisionShape_methods[] = {
9104  {"GetRadius", _wrap_CapsuleCollisionShape_GetRadius},
9105  {"GetHeight", _wrap_CapsuleCollisionShape_GetHeight},
9106  {"GetCleanRadius", _wrap_CapsuleCollisionShape_GetCleanRadius},
9107  {"GetCleanHeight", _wrap_CapsuleCollisionShape_GetCleanHeight},
9108  {"GetUpAxis", _wrap_CapsuleCollisionShape_GetUpAxis},
9109  {"GetUpStandardAxis", _wrap_CapsuleCollisionShape_GetUpStandardAxis},
9110  {"GetType", _wrap_CapsuleCollisionShape_GetType},
9111  {"GetBulletCapsuleShape", _wrap_CapsuleCollisionShape_GetBulletCapsuleShape},
9112  {"ProtoSerialize", _wrap_CapsuleCollisionShape_ProtoSerialize},
9113  {"ProtoDeSerialize", _wrap_CapsuleCollisionShape_ProtoDeSerialize},
9114  {0,0}
9115 };
9116 static swig_lua_attribute swig_Mezzanine_Physics_CapsuleCollisionShape_attributes[] = {
9117  {0,0,0}
9118 };
9119 static swig_lua_class *swig_Mezzanine_Physics_CapsuleCollisionShape_bases[] = {0,0};
9120 static const char *swig_Mezzanine_Physics_CapsuleCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
9121 static swig_lua_class _wrap_class_Mezzanine_Physics_CapsuleCollisionShape = { "CapsuleCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__CapsuleCollisionShape,_wrap_new_CapsuleCollisionShape, swig_delete_CapsuleCollisionShape, swig_Mezzanine_Physics_CapsuleCollisionShape_methods, swig_Mezzanine_Physics_CapsuleCollisionShape_attributes, swig_Mezzanine_Physics_CapsuleCollisionShape_bases, swig_Mezzanine_Physics_CapsuleCollisionShape_base_names };
9122 
9123 static int _wrap_CollidablePair_ProxyA_set(lua_State* L) {
9124  int SWIG_arg = 0;
9127 
9128  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::ProxyA",2,2)
9129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::ProxyA",1,"Mezzanine::Physics::CollidablePair *");
9130  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::ProxyA",2,"Mezzanine::Physics::CollidableProxy *");
9131 
9132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9133  SWIG_fail_ptr("CollidablePair_ProxyA_set",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9134  }
9135 
9136 
9137  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,SWIG_POINTER_DISOWN))){
9138  SWIG_fail_ptr("CollidablePair_ProxyA_set",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
9139  }
9140 
9141  if (arg1) (arg1)->ProxyA = arg2;
9142 
9143  return SWIG_arg;
9144 
9145  if(0) SWIG_fail;
9146 
9147 fail:
9148  lua_error(L);
9149  return SWIG_arg;
9150 }
9151 
9152 
9153 static int _wrap_CollidablePair_ProxyA_get(lua_State* L) {
9154  int SWIG_arg = 0;
9157 
9158  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::ProxyA",1,1)
9159  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::ProxyA",1,"Mezzanine::Physics::CollidablePair *");
9160 
9161  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9162  SWIG_fail_ptr("CollidablePair_ProxyA_get",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9163  }
9164 
9165  result = (Mezzanine::Physics::CollidableProxy *) ((arg1)->ProxyA);
9166  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
9167  return SWIG_arg;
9168 
9169  if(0) SWIG_fail;
9170 
9171 fail:
9172  lua_error(L);
9173  return SWIG_arg;
9174 }
9175 
9176 
9177 static int _wrap_CollidablePair_ProxyB_set(lua_State* L) {
9178  int SWIG_arg = 0;
9181 
9182  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::ProxyB",2,2)
9183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::ProxyB",1,"Mezzanine::Physics::CollidablePair *");
9184  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::ProxyB",2,"Mezzanine::Physics::CollidableProxy *");
9185 
9186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9187  SWIG_fail_ptr("CollidablePair_ProxyB_set",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9188  }
9189 
9190 
9191  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,SWIG_POINTER_DISOWN))){
9192  SWIG_fail_ptr("CollidablePair_ProxyB_set",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
9193  }
9194 
9195  if (arg1) (arg1)->ProxyB = arg2;
9196 
9197  return SWIG_arg;
9198 
9199  if(0) SWIG_fail;
9200 
9201 fail:
9202  lua_error(L);
9203  return SWIG_arg;
9204 }
9205 
9206 
9207 static int _wrap_CollidablePair_ProxyB_get(lua_State* L) {
9208  int SWIG_arg = 0;
9211 
9212  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::ProxyB",1,1)
9213  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::ProxyB",1,"Mezzanine::Physics::CollidablePair *");
9214 
9215  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9216  SWIG_fail_ptr("CollidablePair_ProxyB_get",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9217  }
9218 
9219  result = (Mezzanine::Physics::CollidableProxy *) ((arg1)->ProxyB);
9220  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
9221  return SWIG_arg;
9222 
9223  if(0) SWIG_fail;
9224 
9225 fail:
9226  lua_error(L);
9227  return SWIG_arg;
9228 }
9229 
9230 
9231 static int _wrap_new_CollidablePair(lua_State* L) {
9232  int SWIG_arg = 0;
9236 
9237  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::CollidablePair",2,2)
9238  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::CollidablePair",1,"Mezzanine::Physics::CollidableProxy *");
9239  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::CollidablePair",2,"Mezzanine::Physics::CollidableProxy *");
9240 
9241  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
9242  SWIG_fail_ptr("new_CollidablePair",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
9243  }
9244 
9245 
9246  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
9247  SWIG_fail_ptr("new_CollidablePair",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
9248  }
9249 
9251  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,1); SWIG_arg++;
9252  return SWIG_arg;
9253 
9254  if(0) SWIG_fail;
9255 
9256 fail:
9257  lua_error(L);
9258  return SWIG_arg;
9259 }
9260 
9261 
9262 static int _wrap_CollidablePair_PairsMatch(lua_State* L) {
9263  int SWIG_arg = 0;
9266  Mezzanine::Boole result;
9267 
9268  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::PairsMatch",2,2)
9269  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::PairsMatch",1,"Mezzanine::Physics::CollidablePair const *");
9270  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::PairsMatch",2,"Mezzanine::Physics::CollidablePair const &");
9271 
9272  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9273  SWIG_fail_ptr("CollidablePair_PairsMatch",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9274  }
9275 
9276 
9277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9278  SWIG_fail_ptr("CollidablePair_PairsMatch",2,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9279  }
9280 
9281  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidablePair const *)arg1)->PairsMatch((Mezzanine::Physics::CollidablePair const &)*arg2);
9282  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9283  return SWIG_arg;
9284 
9285  if(0) SWIG_fail;
9286 
9287 fail:
9288  lua_error(L);
9289  return SWIG_arg;
9290 }
9291 
9292 
9293 static int _wrap_CollidablePair___eq(lua_State* L) {
9294  int SWIG_arg = 0;
9297  Mezzanine::Boole result;
9298 
9299  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::operator ==",2,2)
9300  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::operator ==",1,"Mezzanine::Physics::CollidablePair const *");
9301  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::operator ==",2,"Mezzanine::Physics::CollidablePair const &");
9302 
9303  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9304  SWIG_fail_ptr("CollidablePair___eq",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9305  }
9306 
9307 
9308  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9309  SWIG_fail_ptr("CollidablePair___eq",2,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9310  }
9311 
9312  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidablePair const *)arg1)->operator ==((Mezzanine::Physics::CollidablePair const &)*arg2);
9313  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9314  return SWIG_arg;
9315 
9316  if(0) SWIG_fail;
9317 
9318 fail:
9319  lua_error(L);
9320  return SWIG_arg;
9321 }
9322 
9323 
9324 static int _wrap_CollidablePair___lt(lua_State* L) {
9325  int SWIG_arg = 0;
9328  Mezzanine::Boole result;
9329 
9330  SWIG_check_num_args("Mezzanine::Physics::CollidablePair::operator <",2,2)
9331  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::operator <",1,"Mezzanine::Physics::CollidablePair const *");
9332  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidablePair::operator <",2,"Mezzanine::Physics::CollidablePair const &");
9333 
9334  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9335  SWIG_fail_ptr("CollidablePair___lt",1,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9336  }
9337 
9338 
9339  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidablePair,0))){
9340  SWIG_fail_ptr("CollidablePair___lt",2,SWIGTYPE_p_Mezzanine__Physics__CollidablePair);
9341  }
9342 
9343  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidablePair const *)arg1)->operator <((Mezzanine::Physics::CollidablePair const &)*arg2);
9344  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9345  return SWIG_arg;
9346 
9347  if(0) SWIG_fail;
9348 
9349 fail:
9350  lua_error(L);
9351  return SWIG_arg;
9352 }
9353 
9354 
9355 static void swig_delete_CollidablePair(void *obj) {
9357 delete arg1;
9358 }
9359 static swig_lua_method swig_Mezzanine_Physics_CollidablePair_methods[] = {
9360  {"PairsMatch", _wrap_CollidablePair_PairsMatch},
9361  {"__eq", _wrap_CollidablePair___eq},
9362  {"__lt", _wrap_CollidablePair___lt},
9363  {0,0}
9364 };
9365 static swig_lua_attribute swig_Mezzanine_Physics_CollidablePair_attributes[] = {
9366  { "ProxyA", _wrap_CollidablePair_ProxyA_get, _wrap_CollidablePair_ProxyA_set},
9367  { "ProxyB", _wrap_CollidablePair_ProxyB_get, _wrap_CollidablePair_ProxyB_set},
9368  {0,0,0}
9369 };
9370 static swig_lua_class *swig_Mezzanine_Physics_CollidablePair_bases[] = {0};
9371 static const char *swig_Mezzanine_Physics_CollidablePair_base_names[] = {0};
9372 static swig_lua_class _wrap_class_Mezzanine_Physics_CollidablePair = { "CollidablePair", &SWIGTYPE_p_Mezzanine__Physics__CollidablePair,_wrap_new_CollidablePair, swig_delete_CollidablePair, swig_Mezzanine_Physics_CollidablePair_methods, swig_Mezzanine_Physics_CollidablePair_attributes, swig_Mezzanine_Physics_CollidablePair_bases, swig_Mezzanine_Physics_CollidablePair_base_names };
9373 
9374 static int _wrap_Exception_GetExceptionCode(lua_State* L) {
9375  int SWIG_arg = 0;
9377  Mezzanine::Whole result;
9378 
9379  SWIG_check_num_args("Mezzanine::Exception::GetExceptionCode",1,1)
9380  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::GetExceptionCode",1,"Mezzanine::Exception const *");
9381 
9382  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9383  SWIG_fail_ptr("Exception_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__Exception);
9384  }
9385 
9386  result = (Mezzanine::Whole)((Mezzanine::Exception const *)arg1)->GetExceptionCode();
9387  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9388  return SWIG_arg;
9389 
9390  if(0) SWIG_fail;
9391 
9392 fail:
9393  lua_error(L);
9394  return SWIG_arg;
9395 }
9396 
9397 
9398 static int _wrap_Exception_GetExceptionTypeName(lua_State* L) {
9399  int SWIG_arg = 0;
9401  Mezzanine::ConstString *result = 0 ;
9402 
9403  SWIG_check_num_args("Mezzanine::Exception::GetExceptionTypeName",1,1)
9404  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::GetExceptionTypeName",1,"Mezzanine::Exception const *");
9405 
9406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9407  SWIG_fail_ptr("Exception_GetExceptionTypeName",1,SWIGTYPE_p_Mezzanine__Exception);
9408  }
9409 
9410  result = (Mezzanine::ConstString *) &((Mezzanine::Exception const *)arg1)->GetExceptionTypeName();
9411  lua_pushlstring(L,result->data(),result->size()); SWIG_arg++;
9412  return SWIG_arg;
9413 
9414  if(0) SWIG_fail;
9415 
9416 fail:
9417  lua_error(L);
9418  return SWIG_arg;
9419 }
9420 
9421 
9422 static int _wrap_Exception_GetFunction(lua_State* L) {
9423  int SWIG_arg = 0;
9425  Mezzanine::ConstString *result = 0 ;
9426 
9427  SWIG_check_num_args("Mezzanine::Exception::GetFunction",1,1)
9428  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::GetFunction",1,"Mezzanine::Exception const *");
9429 
9430  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9431  SWIG_fail_ptr("Exception_GetFunction",1,SWIGTYPE_p_Mezzanine__Exception);
9432  }
9433 
9434  result = (Mezzanine::ConstString *) &((Mezzanine::Exception const *)arg1)->GetFunction();
9435  lua_pushlstring(L,result->data(),result->size()); SWIG_arg++;
9436  return SWIG_arg;
9437 
9438  if(0) SWIG_fail;
9439 
9440 fail:
9441  lua_error(L);
9442  return SWIG_arg;
9443 }
9444 
9445 
9446 static int _wrap_Exception_GetFile(lua_State* L) {
9447  int SWIG_arg = 0;
9449  Mezzanine::ConstString *result = 0 ;
9450 
9451  SWIG_check_num_args("Mezzanine::Exception::GetFile",1,1)
9452  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::GetFile",1,"Mezzanine::Exception const *");
9453 
9454  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9455  SWIG_fail_ptr("Exception_GetFile",1,SWIGTYPE_p_Mezzanine__Exception);
9456  }
9457 
9458  result = (Mezzanine::ConstString *) &((Mezzanine::Exception const *)arg1)->GetFile();
9459  lua_pushlstring(L,result->data(),result->size()); SWIG_arg++;
9460  return SWIG_arg;
9461 
9462  if(0) SWIG_fail;
9463 
9464 fail:
9465  lua_error(L);
9466  return SWIG_arg;
9467 }
9468 
9469 
9470 static int _wrap_Exception_GetLine(lua_State* L) {
9471  int SWIG_arg = 0;
9473  Mezzanine::Whole *result = 0 ;
9474 
9475  SWIG_check_num_args("Mezzanine::Exception::GetLine",1,1)
9476  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::GetLine",1,"Mezzanine::Exception const *");
9477 
9478  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9479  SWIG_fail_ptr("Exception_GetLine",1,SWIGTYPE_p_Mezzanine__Exception);
9480  }
9481 
9482  result = (Mezzanine::Whole *) &((Mezzanine::Exception const *)arg1)->GetLine();
9483  lua_pushnumber(L, (lua_Number) *result); SWIG_arg++;
9484  return SWIG_arg;
9485 
9486  if(0) SWIG_fail;
9487 
9488 fail:
9489  lua_error(L);
9490  return SWIG_arg;
9491 }
9492 
9493 
9494 static int _wrap_Exception_GetCompleteMessage(lua_State* L) {
9495  int SWIG_arg = 0;
9497  Mezzanine::String result;
9498 
9499  SWIG_check_num_args("Mezzanine::Exception::GetCompleteMessage",1,1)
9500  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::GetCompleteMessage",1,"Mezzanine::Exception const *");
9501 
9502  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9503  SWIG_fail_ptr("Exception_GetCompleteMessage",1,SWIGTYPE_p_Mezzanine__Exception);
9504  }
9505 
9506  result = ((Mezzanine::Exception const *)arg1)->GetCompleteMessage();
9507  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
9508  return SWIG_arg;
9509 
9510  if(0) SWIG_fail;
9511 
9512 fail:
9513  lua_error(L);
9514  return SWIG_arg;
9515 }
9516 
9517 
9518 static int _wrap_Exception_what(lua_State* L) {
9519  int SWIG_arg = 0;
9521  Mezzanine::String result;
9522 
9523  SWIG_check_num_args("Mezzanine::Exception::what",1,1)
9524  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Exception::what",1,"Mezzanine::Exception *");
9525 
9526  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Exception,0))){
9527  SWIG_fail_ptr("Exception_what",1,SWIGTYPE_p_Mezzanine__Exception);
9528  }
9529 
9530  result = (arg1)->what();
9531  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
9532  return SWIG_arg;
9533 
9534  if(0) SWIG_fail;
9535 
9536 fail:
9537  lua_error(L);
9538  return SWIG_arg;
9539 }
9540 
9541 
9542 static void swig_delete_Exception(void *obj) {
9544 delete arg1;
9545 }
9546 static swig_lua_method swig_Mezzanine_Exception_methods[] = {
9547  {"GetExceptionCode", _wrap_Exception_GetExceptionCode},
9548  {"GetExceptionTypeName", _wrap_Exception_GetExceptionTypeName},
9549  {"GetFunction", _wrap_Exception_GetFunction},
9550  {"GetFile", _wrap_Exception_GetFile},
9551  {"GetLine", _wrap_Exception_GetLine},
9552  {"GetCompleteMessage", _wrap_Exception_GetCompleteMessage},
9553  {"what", _wrap_Exception_what},
9554  {0,0}
9555 };
9556 static swig_lua_attribute swig_Mezzanine_Exception_attributes[] = {
9557  {0,0,0}
9558 };
9559 static swig_lua_class *swig_Mezzanine_Exception_bases[] = {0};
9560 static const char *swig_Mezzanine_Exception_base_names[] = {0};
9561 static swig_lua_class _wrap_class_Mezzanine_Exception = { "Exception", &SWIGTYPE_p_Mezzanine__Exception,0, swig_delete_Exception, swig_Mezzanine_Exception_methods, swig_Mezzanine_Exception_attributes, swig_Mezzanine_Exception_bases, swig_Mezzanine_Exception_base_names };
9562 
9563 static int _wrap_new_IOException__SWIG_0(lua_State* L) {
9564  int SWIG_arg = 0;
9565  Mezzanine::String *arg1 = 0 ;
9566  Mezzanine::String *arg2 = 0 ;
9567  Mezzanine::String *arg3 = 0 ;
9568  Mezzanine::String *arg4 = 0 ;
9569  Mezzanine::Whole *arg5 = 0 ;
9570  Mezzanine::String temp1 ;
9571  Mezzanine::String temp2 ;
9572  Mezzanine::String temp3 ;
9573  Mezzanine::String temp4 ;
9574  Mezzanine::Whole temp5 ;
9575  Mezzanine::IOException *result = 0 ;
9576 
9577  SWIG_check_num_args("Mezzanine::IOException::IOException",5,5)
9578  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::IOException::IOException",1,"Mezzanine::String const &");
9579  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::IOException::IOException",2,"Mezzanine::String const &");
9580  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::IOException::IOException",3,"Mezzanine::String const &");
9581  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::IOException::IOException",4,"Mezzanine::String const &");
9582  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::IOException::IOException",5,"Mezzanine::Whole const &");
9583  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
9584  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
9585  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
9586  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
9587  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
9588  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
9589  result = (Mezzanine::IOException *)new Mezzanine::IOException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
9590  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__IOException,1); SWIG_arg++;
9591  return SWIG_arg;
9592 
9593  if(0) SWIG_fail;
9594 
9595 fail:
9596  lua_error(L);
9597  return SWIG_arg;
9598 }
9599 
9600 
9601 static int _wrap_new_IOException__SWIG_1(lua_State* L) {
9602  int SWIG_arg = 0;
9603  Mezzanine::String *arg1 = 0 ;
9604  Mezzanine::String *arg2 = 0 ;
9605  Mezzanine::String *arg3 = 0 ;
9606  Mezzanine::Whole *arg4 = 0 ;
9607  Mezzanine::String temp1 ;
9608  Mezzanine::String temp2 ;
9609  Mezzanine::String temp3 ;
9610  Mezzanine::Whole temp4 ;
9611  Mezzanine::IOException *result = 0 ;
9612 
9613  SWIG_check_num_args("Mezzanine::IOException::IOException",4,4)
9614  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::IOException::IOException",1,"Mezzanine::String const &");
9615  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::IOException::IOException",2,"Mezzanine::String const &");
9616  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::IOException::IOException",3,"Mezzanine::String const &");
9617  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::IOException::IOException",4,"Mezzanine::Whole const &");
9618  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
9619  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
9620  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
9621  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
9622  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
9623  result = (Mezzanine::IOException *)new Mezzanine::IOException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
9624  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__IOException,1); SWIG_arg++;
9625  return SWIG_arg;
9626 
9627  if(0) SWIG_fail;
9628 
9629 fail:
9630  lua_error(L);
9631  return SWIG_arg;
9632 }
9633 
9634 
9635 static int _wrap_new_IOException(lua_State* L) {
9636  int argc;
9637  int argv[6]={
9638  1,2,3,4,5,6
9639  };
9640 
9641  argc = lua_gettop(L);
9642  if (argc == 4) {
9643  int _v;
9644  {
9645  _v = lua_isstring(L,argv[0]);
9646  }
9647  if (_v) {
9648  {
9649  _v = lua_isstring(L,argv[1]);
9650  }
9651  if (_v) {
9652  {
9653  _v = lua_isstring(L,argv[2]);
9654  }
9655  if (_v) {
9656  {
9657  _v = lua_isnumber(L,argv[3]);
9658  }
9659  if (_v) {
9660  return _wrap_new_IOException__SWIG_1(L);
9661  }
9662  }
9663  }
9664  }
9665  }
9666  if (argc == 5) {
9667  int _v;
9668  {
9669  _v = lua_isstring(L,argv[0]);
9670  }
9671  if (_v) {
9672  {
9673  _v = lua_isstring(L,argv[1]);
9674  }
9675  if (_v) {
9676  {
9677  _v = lua_isstring(L,argv[2]);
9678  }
9679  if (_v) {
9680  {
9681  _v = lua_isstring(L,argv[3]);
9682  }
9683  if (_v) {
9684  {
9685  _v = lua_isnumber(L,argv[4]);
9686  }
9687  if (_v) {
9688  return _wrap_new_IOException__SWIG_0(L);
9689  }
9690  }
9691  }
9692  }
9693  }
9694  }
9695 
9696  lua_pushstring(L,"Wrong arguments for overloaded function 'new_IOException'\n"
9697  " Possible C/C++ prototypes are:\n"
9698  " Mezzanine::IOException::IOException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
9699  " Mezzanine::IOException::IOException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
9700  lua_error(L);return 0;
9701 }
9702 
9703 
9704 static int _wrap_IOException_GetExceptionCode(lua_State* L) {
9705  int SWIG_arg = 0;
9707  Mezzanine::Whole result;
9708 
9709  SWIG_check_num_args("Mezzanine::IOException::GetExceptionCode",1,1)
9710  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::IOException::GetExceptionCode",1,"Mezzanine::IOException const *");
9711 
9712  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__IOException,0))){
9713  SWIG_fail_ptr("IOException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__IOException);
9714  }
9715 
9716  result = (Mezzanine::Whole)((Mezzanine::IOException const *)arg1)->GetExceptionCode();
9717  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9718  return SWIG_arg;
9719 
9720  if(0) SWIG_fail;
9721 
9722 fail:
9723  lua_error(L);
9724  return SWIG_arg;
9725 }
9726 
9727 
9728 static void swig_delete_IOException(void *obj) {
9730 delete arg1;
9731 }
9732 static swig_lua_method swig_Mezzanine_IOException_methods[] = {
9733  {"GetExceptionCode", _wrap_IOException_GetExceptionCode},
9734  {0,0}
9735 };
9736 static swig_lua_attribute swig_Mezzanine_IOException_attributes[] = {
9737  {0,0,0}
9738 };
9739 static swig_lua_class *swig_Mezzanine_IOException_bases[] = {0,0};
9740 static const char *swig_Mezzanine_IOException_base_names[] = {"Mezzanine::Exception *",0};
9741 static swig_lua_class _wrap_class_Mezzanine_IOException = { "IOException", &SWIGTYPE_p_Mezzanine__IOException,_wrap_new_IOException, swig_delete_IOException, swig_Mezzanine_IOException_methods, swig_Mezzanine_IOException_attributes, swig_Mezzanine_IOException_bases, swig_Mezzanine_IOException_base_names };
9742 
9743 static int _wrap_new_FileException__SWIG_0(lua_State* L) {
9744  int SWIG_arg = 0;
9745  Mezzanine::String *arg1 = 0 ;
9746  Mezzanine::String *arg2 = 0 ;
9747  Mezzanine::String *arg3 = 0 ;
9748  Mezzanine::String *arg4 = 0 ;
9749  Mezzanine::Whole *arg5 = 0 ;
9750  Mezzanine::String temp1 ;
9751  Mezzanine::String temp2 ;
9752  Mezzanine::String temp3 ;
9753  Mezzanine::String temp4 ;
9754  Mezzanine::Whole temp5 ;
9755  Mezzanine::FileException *result = 0 ;
9756 
9757  SWIG_check_num_args("Mezzanine::FileException::FileException",5,5)
9758  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileException::FileException",1,"Mezzanine::String const &");
9759  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileException::FileException",2,"Mezzanine::String const &");
9760  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileException::FileException",3,"Mezzanine::String const &");
9761  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::FileException::FileException",4,"Mezzanine::String const &");
9762  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::FileException::FileException",5,"Mezzanine::Whole const &");
9763  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
9764  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
9765  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
9766  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
9767  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
9768  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
9769  result = (Mezzanine::FileException *)new Mezzanine::FileException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
9770  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileException,1); SWIG_arg++;
9771  return SWIG_arg;
9772 
9773  if(0) SWIG_fail;
9774 
9775 fail:
9776  lua_error(L);
9777  return SWIG_arg;
9778 }
9779 
9780 
9781 static int _wrap_new_FileException__SWIG_1(lua_State* L) {
9782  int SWIG_arg = 0;
9783  Mezzanine::String *arg1 = 0 ;
9784  Mezzanine::String *arg2 = 0 ;
9785  Mezzanine::String *arg3 = 0 ;
9786  Mezzanine::Whole *arg4 = 0 ;
9787  Mezzanine::String temp1 ;
9788  Mezzanine::String temp2 ;
9789  Mezzanine::String temp3 ;
9790  Mezzanine::Whole temp4 ;
9791  Mezzanine::FileException *result = 0 ;
9792 
9793  SWIG_check_num_args("Mezzanine::FileException::FileException",4,4)
9794  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileException::FileException",1,"Mezzanine::String const &");
9795  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileException::FileException",2,"Mezzanine::String const &");
9796  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileException::FileException",3,"Mezzanine::String const &");
9797  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::FileException::FileException",4,"Mezzanine::Whole const &");
9798  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
9799  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
9800  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
9801  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
9802  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
9803  result = (Mezzanine::FileException *)new Mezzanine::FileException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
9804  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileException,1); SWIG_arg++;
9805  return SWIG_arg;
9806 
9807  if(0) SWIG_fail;
9808 
9809 fail:
9810  lua_error(L);
9811  return SWIG_arg;
9812 }
9813 
9814 
9815 static int _wrap_new_FileException(lua_State* L) {
9816  int argc;
9817  int argv[6]={
9818  1,2,3,4,5,6
9819  };
9820 
9821  argc = lua_gettop(L);
9822  if (argc == 4) {
9823  int _v;
9824  {
9825  _v = lua_isstring(L,argv[0]);
9826  }
9827  if (_v) {
9828  {
9829  _v = lua_isstring(L,argv[1]);
9830  }
9831  if (_v) {
9832  {
9833  _v = lua_isstring(L,argv[2]);
9834  }
9835  if (_v) {
9836  {
9837  _v = lua_isnumber(L,argv[3]);
9838  }
9839  if (_v) {
9840  return _wrap_new_FileException__SWIG_1(L);
9841  }
9842  }
9843  }
9844  }
9845  }
9846  if (argc == 5) {
9847  int _v;
9848  {
9849  _v = lua_isstring(L,argv[0]);
9850  }
9851  if (_v) {
9852  {
9853  _v = lua_isstring(L,argv[1]);
9854  }
9855  if (_v) {
9856  {
9857  _v = lua_isstring(L,argv[2]);
9858  }
9859  if (_v) {
9860  {
9861  _v = lua_isstring(L,argv[3]);
9862  }
9863  if (_v) {
9864  {
9865  _v = lua_isnumber(L,argv[4]);
9866  }
9867  if (_v) {
9868  return _wrap_new_FileException__SWIG_0(L);
9869  }
9870  }
9871  }
9872  }
9873  }
9874  }
9875 
9876  lua_pushstring(L,"Wrong arguments for overloaded function 'new_FileException'\n"
9877  " Possible C/C++ prototypes are:\n"
9878  " Mezzanine::FileException::FileException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
9879  " Mezzanine::FileException::FileException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
9880  lua_error(L);return 0;
9881 }
9882 
9883 
9884 static int _wrap_FileException_GetExceptionCode(lua_State* L) {
9885  int SWIG_arg = 0;
9887  Mezzanine::Whole result;
9888 
9889  SWIG_check_num_args("Mezzanine::FileException::GetExceptionCode",1,1)
9890  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::FileException::GetExceptionCode",1,"Mezzanine::FileException const *");
9891 
9892  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__FileException,0))){
9893  SWIG_fail_ptr("FileException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__FileException);
9894  }
9895 
9896  result = (Mezzanine::Whole)((Mezzanine::FileException const *)arg1)->GetExceptionCode();
9897  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9898  return SWIG_arg;
9899 
9900  if(0) SWIG_fail;
9901 
9902 fail:
9903  lua_error(L);
9904  return SWIG_arg;
9905 }
9906 
9907 
9908 static void swig_delete_FileException(void *obj) {
9910 delete arg1;
9911 }
9912 static swig_lua_method swig_Mezzanine_FileException_methods[] = {
9913  {"GetExceptionCode", _wrap_FileException_GetExceptionCode},
9914  {0,0}
9915 };
9916 static swig_lua_attribute swig_Mezzanine_FileException_attributes[] = {
9917  {0,0,0}
9918 };
9919 static swig_lua_class *swig_Mezzanine_FileException_bases[] = {0,0};
9920 static const char *swig_Mezzanine_FileException_base_names[] = {"Mezzanine::IOException *",0};
9921 static swig_lua_class _wrap_class_Mezzanine_FileException = { "FileException", &SWIGTYPE_p_Mezzanine__FileException,_wrap_new_FileException, swig_delete_FileException, swig_Mezzanine_FileException_methods, swig_Mezzanine_FileException_attributes, swig_Mezzanine_FileException_bases, swig_Mezzanine_FileException_base_names };
9922 
9923 static int _wrap_new_FileReadException__SWIG_0(lua_State* L) {
9924  int SWIG_arg = 0;
9925  Mezzanine::String *arg1 = 0 ;
9926  Mezzanine::String *arg2 = 0 ;
9927  Mezzanine::String *arg3 = 0 ;
9928  Mezzanine::String *arg4 = 0 ;
9929  Mezzanine::Whole *arg5 = 0 ;
9930  Mezzanine::String temp1 ;
9931  Mezzanine::String temp2 ;
9932  Mezzanine::String temp3 ;
9933  Mezzanine::String temp4 ;
9934  Mezzanine::Whole temp5 ;
9935  Mezzanine::FileReadException *result = 0 ;
9936 
9937  SWIG_check_num_args("Mezzanine::FileReadException::FileReadException",5,5)
9938  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",1,"Mezzanine::String const &");
9939  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",2,"Mezzanine::String const &");
9940  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",3,"Mezzanine::String const &");
9941  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",4,"Mezzanine::String const &");
9942  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",5,"Mezzanine::Whole const &");
9943  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
9944  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
9945  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
9946  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
9947  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
9948  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
9949  result = (Mezzanine::FileReadException *)new Mezzanine::FileReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
9950  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileReadException,1); SWIG_arg++;
9951  return SWIG_arg;
9952 
9953  if(0) SWIG_fail;
9954 
9955 fail:
9956  lua_error(L);
9957  return SWIG_arg;
9958 }
9959 
9960 
9961 static int _wrap_new_FileReadException__SWIG_1(lua_State* L) {
9962  int SWIG_arg = 0;
9963  Mezzanine::String *arg1 = 0 ;
9964  Mezzanine::String *arg2 = 0 ;
9965  Mezzanine::String *arg3 = 0 ;
9966  Mezzanine::Whole *arg4 = 0 ;
9967  Mezzanine::String temp1 ;
9968  Mezzanine::String temp2 ;
9969  Mezzanine::String temp3 ;
9970  Mezzanine::Whole temp4 ;
9971  Mezzanine::FileReadException *result = 0 ;
9972 
9973  SWIG_check_num_args("Mezzanine::FileReadException::FileReadException",4,4)
9974  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",1,"Mezzanine::String const &");
9975  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",2,"Mezzanine::String const &");
9976  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",3,"Mezzanine::String const &");
9977  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::FileReadException::FileReadException",4,"Mezzanine::Whole const &");
9978  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
9979  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
9980  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
9981  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
9982  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
9983  result = (Mezzanine::FileReadException *)new Mezzanine::FileReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
9984  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileReadException,1); SWIG_arg++;
9985  return SWIG_arg;
9986 
9987  if(0) SWIG_fail;
9988 
9989 fail:
9990  lua_error(L);
9991  return SWIG_arg;
9992 }
9993 
9994 
9995 static int _wrap_new_FileReadException(lua_State* L) {
9996  int argc;
9997  int argv[6]={
9998  1,2,3,4,5,6
9999  };
10000 
10001  argc = lua_gettop(L);
10002  if (argc == 4) {
10003  int _v;
10004  {
10005  _v = lua_isstring(L,argv[0]);
10006  }
10007  if (_v) {
10008  {
10009  _v = lua_isstring(L,argv[1]);
10010  }
10011  if (_v) {
10012  {
10013  _v = lua_isstring(L,argv[2]);
10014  }
10015  if (_v) {
10016  {
10017  _v = lua_isnumber(L,argv[3]);
10018  }
10019  if (_v) {
10020  return _wrap_new_FileReadException__SWIG_1(L);
10021  }
10022  }
10023  }
10024  }
10025  }
10026  if (argc == 5) {
10027  int _v;
10028  {
10029  _v = lua_isstring(L,argv[0]);
10030  }
10031  if (_v) {
10032  {
10033  _v = lua_isstring(L,argv[1]);
10034  }
10035  if (_v) {
10036  {
10037  _v = lua_isstring(L,argv[2]);
10038  }
10039  if (_v) {
10040  {
10041  _v = lua_isstring(L,argv[3]);
10042  }
10043  if (_v) {
10044  {
10045  _v = lua_isnumber(L,argv[4]);
10046  }
10047  if (_v) {
10048  return _wrap_new_FileReadException__SWIG_0(L);
10049  }
10050  }
10051  }
10052  }
10053  }
10054  }
10055 
10056  lua_pushstring(L,"Wrong arguments for overloaded function 'new_FileReadException'\n"
10057  " Possible C/C++ prototypes are:\n"
10058  " Mezzanine::FileReadException::FileReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
10059  " Mezzanine::FileReadException::FileReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
10060  lua_error(L);return 0;
10061 }
10062 
10063 
10064 static int _wrap_FileReadException_GetExceptionCode(lua_State* L) {
10065  int SWIG_arg = 0;
10067  Mezzanine::Whole result;
10068 
10069  SWIG_check_num_args("Mezzanine::FileReadException::GetExceptionCode",1,1)
10070  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::FileReadException::GetExceptionCode",1,"Mezzanine::FileReadException const *");
10071 
10072  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__FileReadException,0))){
10073  SWIG_fail_ptr("FileReadException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__FileReadException);
10074  }
10075 
10076  result = (Mezzanine::Whole)((Mezzanine::FileReadException const *)arg1)->GetExceptionCode();
10077  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10078  return SWIG_arg;
10079 
10080  if(0) SWIG_fail;
10081 
10082 fail:
10083  lua_error(L);
10084  return SWIG_arg;
10085 }
10086 
10087 
10088 static void swig_delete_FileReadException(void *obj) {
10090 delete arg1;
10091 }
10092 static swig_lua_method swig_Mezzanine_FileReadException_methods[] = {
10093  {"GetExceptionCode", _wrap_FileReadException_GetExceptionCode},
10094  {0,0}
10095 };
10096 static swig_lua_attribute swig_Mezzanine_FileReadException_attributes[] = {
10097  {0,0,0}
10098 };
10099 static swig_lua_class *swig_Mezzanine_FileReadException_bases[] = {0,0};
10100 static const char *swig_Mezzanine_FileReadException_base_names[] = {"Mezzanine::FileException *",0};
10101 static swig_lua_class _wrap_class_Mezzanine_FileReadException = { "FileReadException", &SWIGTYPE_p_Mezzanine__FileReadException,_wrap_new_FileReadException, swig_delete_FileReadException, swig_Mezzanine_FileReadException_methods, swig_Mezzanine_FileReadException_attributes, swig_Mezzanine_FileReadException_bases, swig_Mezzanine_FileReadException_base_names };
10102 
10103 static int _wrap_new_FileWriteException__SWIG_0(lua_State* L) {
10104  int SWIG_arg = 0;
10105  Mezzanine::String *arg1 = 0 ;
10106  Mezzanine::String *arg2 = 0 ;
10107  Mezzanine::String *arg3 = 0 ;
10108  Mezzanine::String *arg4 = 0 ;
10109  Mezzanine::Whole *arg5 = 0 ;
10110  Mezzanine::String temp1 ;
10111  Mezzanine::String temp2 ;
10112  Mezzanine::String temp3 ;
10113  Mezzanine::String temp4 ;
10114  Mezzanine::Whole temp5 ;
10115  Mezzanine::FileWriteException *result = 0 ;
10116 
10117  SWIG_check_num_args("Mezzanine::FileWriteException::FileWriteException",5,5)
10118  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",1,"Mezzanine::String const &");
10119  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",2,"Mezzanine::String const &");
10120  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",3,"Mezzanine::String const &");
10121  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",4,"Mezzanine::String const &");
10122  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",5,"Mezzanine::Whole const &");
10123  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10124  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10125  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10126  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
10127  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
10128  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
10129  result = (Mezzanine::FileWriteException *)new Mezzanine::FileWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
10130  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileWriteException,1); SWIG_arg++;
10131  return SWIG_arg;
10132 
10133  if(0) SWIG_fail;
10134 
10135 fail:
10136  lua_error(L);
10137  return SWIG_arg;
10138 }
10139 
10140 
10141 static int _wrap_new_FileWriteException__SWIG_1(lua_State* L) {
10142  int SWIG_arg = 0;
10143  Mezzanine::String *arg1 = 0 ;
10144  Mezzanine::String *arg2 = 0 ;
10145  Mezzanine::String *arg3 = 0 ;
10146  Mezzanine::Whole *arg4 = 0 ;
10147  Mezzanine::String temp1 ;
10148  Mezzanine::String temp2 ;
10149  Mezzanine::String temp3 ;
10150  Mezzanine::Whole temp4 ;
10151  Mezzanine::FileWriteException *result = 0 ;
10152 
10153  SWIG_check_num_args("Mezzanine::FileWriteException::FileWriteException",4,4)
10154  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",1,"Mezzanine::String const &");
10155  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",2,"Mezzanine::String const &");
10156  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",3,"Mezzanine::String const &");
10157  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::FileWriteException::FileWriteException",4,"Mezzanine::Whole const &");
10158  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10159  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10160  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10161  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
10162  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
10163  result = (Mezzanine::FileWriteException *)new Mezzanine::FileWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
10164  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileWriteException,1); SWIG_arg++;
10165  return SWIG_arg;
10166 
10167  if(0) SWIG_fail;
10168 
10169 fail:
10170  lua_error(L);
10171  return SWIG_arg;
10172 }
10173 
10174 
10175 static int _wrap_new_FileWriteException(lua_State* L) {
10176  int argc;
10177  int argv[6]={
10178  1,2,3,4,5,6
10179  };
10180 
10181  argc = lua_gettop(L);
10182  if (argc == 4) {
10183  int _v;
10184  {
10185  _v = lua_isstring(L,argv[0]);
10186  }
10187  if (_v) {
10188  {
10189  _v = lua_isstring(L,argv[1]);
10190  }
10191  if (_v) {
10192  {
10193  _v = lua_isstring(L,argv[2]);
10194  }
10195  if (_v) {
10196  {
10197  _v = lua_isnumber(L,argv[3]);
10198  }
10199  if (_v) {
10200  return _wrap_new_FileWriteException__SWIG_1(L);
10201  }
10202  }
10203  }
10204  }
10205  }
10206  if (argc == 5) {
10207  int _v;
10208  {
10209  _v = lua_isstring(L,argv[0]);
10210  }
10211  if (_v) {
10212  {
10213  _v = lua_isstring(L,argv[1]);
10214  }
10215  if (_v) {
10216  {
10217  _v = lua_isstring(L,argv[2]);
10218  }
10219  if (_v) {
10220  {
10221  _v = lua_isstring(L,argv[3]);
10222  }
10223  if (_v) {
10224  {
10225  _v = lua_isnumber(L,argv[4]);
10226  }
10227  if (_v) {
10228  return _wrap_new_FileWriteException__SWIG_0(L);
10229  }
10230  }
10231  }
10232  }
10233  }
10234  }
10235 
10236  lua_pushstring(L,"Wrong arguments for overloaded function 'new_FileWriteException'\n"
10237  " Possible C/C++ prototypes are:\n"
10238  " Mezzanine::FileWriteException::FileWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
10239  " Mezzanine::FileWriteException::FileWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
10240  lua_error(L);return 0;
10241 }
10242 
10243 
10244 static int _wrap_FileWriteException_GetExceptionCode(lua_State* L) {
10245  int SWIG_arg = 0;
10247  Mezzanine::Whole result;
10248 
10249  SWIG_check_num_args("Mezzanine::FileWriteException::GetExceptionCode",1,1)
10250  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::FileWriteException::GetExceptionCode",1,"Mezzanine::FileWriteException const *");
10251 
10252  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__FileWriteException,0))){
10253  SWIG_fail_ptr("FileWriteException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__FileWriteException);
10254  }
10255 
10256  result = (Mezzanine::Whole)((Mezzanine::FileWriteException const *)arg1)->GetExceptionCode();
10257  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10258  return SWIG_arg;
10259 
10260  if(0) SWIG_fail;
10261 
10262 fail:
10263  lua_error(L);
10264  return SWIG_arg;
10265 }
10266 
10267 
10268 static void swig_delete_FileWriteException(void *obj) {
10270 delete arg1;
10271 }
10272 static swig_lua_method swig_Mezzanine_FileWriteException_methods[] = {
10273  {"GetExceptionCode", _wrap_FileWriteException_GetExceptionCode},
10274  {0,0}
10275 };
10276 static swig_lua_attribute swig_Mezzanine_FileWriteException_attributes[] = {
10277  {0,0,0}
10278 };
10279 static swig_lua_class *swig_Mezzanine_FileWriteException_bases[] = {0,0};
10280 static const char *swig_Mezzanine_FileWriteException_base_names[] = {"Mezzanine::FileException *",0};
10281 static swig_lua_class _wrap_class_Mezzanine_FileWriteException = { "FileWriteException", &SWIGTYPE_p_Mezzanine__FileWriteException,_wrap_new_FileWriteException, swig_delete_FileWriteException, swig_Mezzanine_FileWriteException_methods, swig_Mezzanine_FileWriteException_attributes, swig_Mezzanine_FileWriteException_bases, swig_Mezzanine_FileWriteException_base_names };
10282 
10283 static int _wrap_new_FileNotFoundException__SWIG_0(lua_State* L) {
10284  int SWIG_arg = 0;
10285  Mezzanine::String *arg1 = 0 ;
10286  Mezzanine::String *arg2 = 0 ;
10287  Mezzanine::String *arg3 = 0 ;
10288  Mezzanine::String *arg4 = 0 ;
10289  Mezzanine::Whole *arg5 = 0 ;
10290  Mezzanine::String temp1 ;
10291  Mezzanine::String temp2 ;
10292  Mezzanine::String temp3 ;
10293  Mezzanine::String temp4 ;
10294  Mezzanine::Whole temp5 ;
10295  Mezzanine::FileNotFoundException *result = 0 ;
10296 
10297  SWIG_check_num_args("Mezzanine::FileNotFoundException::FileNotFoundException",5,5)
10298  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",1,"Mezzanine::String const &");
10299  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",2,"Mezzanine::String const &");
10300  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",3,"Mezzanine::String const &");
10301  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",4,"Mezzanine::String const &");
10302  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",5,"Mezzanine::Whole const &");
10303  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10304  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10305  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10306  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
10307  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
10308  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
10309  result = (Mezzanine::FileNotFoundException *)new Mezzanine::FileNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
10310  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileNotFoundException,1); SWIG_arg++;
10311  return SWIG_arg;
10312 
10313  if(0) SWIG_fail;
10314 
10315 fail:
10316  lua_error(L);
10317  return SWIG_arg;
10318 }
10319 
10320 
10321 static int _wrap_new_FileNotFoundException__SWIG_1(lua_State* L) {
10322  int SWIG_arg = 0;
10323  Mezzanine::String *arg1 = 0 ;
10324  Mezzanine::String *arg2 = 0 ;
10325  Mezzanine::String *arg3 = 0 ;
10326  Mezzanine::Whole *arg4 = 0 ;
10327  Mezzanine::String temp1 ;
10328  Mezzanine::String temp2 ;
10329  Mezzanine::String temp3 ;
10330  Mezzanine::Whole temp4 ;
10331  Mezzanine::FileNotFoundException *result = 0 ;
10332 
10333  SWIG_check_num_args("Mezzanine::FileNotFoundException::FileNotFoundException",4,4)
10334  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",1,"Mezzanine::String const &");
10335  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",2,"Mezzanine::String const &");
10336  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",3,"Mezzanine::String const &");
10337  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::FileNotFoundException::FileNotFoundException",4,"Mezzanine::Whole const &");
10338  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10339  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10340  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10341  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
10342  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
10343  result = (Mezzanine::FileNotFoundException *)new Mezzanine::FileNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
10344  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FileNotFoundException,1); SWIG_arg++;
10345  return SWIG_arg;
10346 
10347  if(0) SWIG_fail;
10348 
10349 fail:
10350  lua_error(L);
10351  return SWIG_arg;
10352 }
10353 
10354 
10355 static int _wrap_new_FileNotFoundException(lua_State* L) {
10356  int argc;
10357  int argv[6]={
10358  1,2,3,4,5,6
10359  };
10360 
10361  argc = lua_gettop(L);
10362  if (argc == 4) {
10363  int _v;
10364  {
10365  _v = lua_isstring(L,argv[0]);
10366  }
10367  if (_v) {
10368  {
10369  _v = lua_isstring(L,argv[1]);
10370  }
10371  if (_v) {
10372  {
10373  _v = lua_isstring(L,argv[2]);
10374  }
10375  if (_v) {
10376  {
10377  _v = lua_isnumber(L,argv[3]);
10378  }
10379  if (_v) {
10380  return _wrap_new_FileNotFoundException__SWIG_1(L);
10381  }
10382  }
10383  }
10384  }
10385  }
10386  if (argc == 5) {
10387  int _v;
10388  {
10389  _v = lua_isstring(L,argv[0]);
10390  }
10391  if (_v) {
10392  {
10393  _v = lua_isstring(L,argv[1]);
10394  }
10395  if (_v) {
10396  {
10397  _v = lua_isstring(L,argv[2]);
10398  }
10399  if (_v) {
10400  {
10401  _v = lua_isstring(L,argv[3]);
10402  }
10403  if (_v) {
10404  {
10405  _v = lua_isnumber(L,argv[4]);
10406  }
10407  if (_v) {
10408  return _wrap_new_FileNotFoundException__SWIG_0(L);
10409  }
10410  }
10411  }
10412  }
10413  }
10414  }
10415 
10416  lua_pushstring(L,"Wrong arguments for overloaded function 'new_FileNotFoundException'\n"
10417  " Possible C/C++ prototypes are:\n"
10418  " Mezzanine::FileNotFoundException::FileNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
10419  " Mezzanine::FileNotFoundException::FileNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
10420  lua_error(L);return 0;
10421 }
10422 
10423 
10424 static int _wrap_FileNotFoundException_GetExceptionCode(lua_State* L) {
10425  int SWIG_arg = 0;
10427  Mezzanine::Whole result;
10428 
10429  SWIG_check_num_args("Mezzanine::FileNotFoundException::GetExceptionCode",1,1)
10430  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::FileNotFoundException::GetExceptionCode",1,"Mezzanine::FileNotFoundException const *");
10431 
10432  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__FileNotFoundException,0))){
10433  SWIG_fail_ptr("FileNotFoundException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__FileNotFoundException);
10434  }
10435 
10436  result = (Mezzanine::Whole)((Mezzanine::FileNotFoundException const *)arg1)->GetExceptionCode();
10437  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10438  return SWIG_arg;
10439 
10440  if(0) SWIG_fail;
10441 
10442 fail:
10443  lua_error(L);
10444  return SWIG_arg;
10445 }
10446 
10447 
10448 static void swig_delete_FileNotFoundException(void *obj) {
10450 delete arg1;
10451 }
10452 static swig_lua_method swig_Mezzanine_FileNotFoundException_methods[] = {
10453  {"GetExceptionCode", _wrap_FileNotFoundException_GetExceptionCode},
10454  {0,0}
10455 };
10456 static swig_lua_attribute swig_Mezzanine_FileNotFoundException_attributes[] = {
10457  {0,0,0}
10458 };
10459 static swig_lua_class *swig_Mezzanine_FileNotFoundException_bases[] = {0,0};
10460 static const char *swig_Mezzanine_FileNotFoundException_base_names[] = {"Mezzanine::FileException *",0};
10461 static swig_lua_class _wrap_class_Mezzanine_FileNotFoundException = { "FileNotFoundException", &SWIGTYPE_p_Mezzanine__FileNotFoundException,_wrap_new_FileNotFoundException, swig_delete_FileNotFoundException, swig_Mezzanine_FileNotFoundException_methods, swig_Mezzanine_FileNotFoundException_attributes, swig_Mezzanine_FileNotFoundException_bases, swig_Mezzanine_FileNotFoundException_base_names };
10462 
10463 static int _wrap_new_FilePermissionException__SWIG_0(lua_State* L) {
10464  int SWIG_arg = 0;
10465  Mezzanine::String *arg1 = 0 ;
10466  Mezzanine::String *arg2 = 0 ;
10467  Mezzanine::String *arg3 = 0 ;
10468  Mezzanine::String *arg4 = 0 ;
10469  Mezzanine::Whole *arg5 = 0 ;
10470  Mezzanine::String temp1 ;
10471  Mezzanine::String temp2 ;
10472  Mezzanine::String temp3 ;
10473  Mezzanine::String temp4 ;
10474  Mezzanine::Whole temp5 ;
10476 
10477  SWIG_check_num_args("Mezzanine::FilePermissionException::FilePermissionException",5,5)
10478  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",1,"Mezzanine::String const &");
10479  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",2,"Mezzanine::String const &");
10480  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",3,"Mezzanine::String const &");
10481  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",4,"Mezzanine::String const &");
10482  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",5,"Mezzanine::Whole const &");
10483  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10484  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10485  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10486  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
10487  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
10488  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
10489  result = (Mezzanine::FilePermissionException *)new Mezzanine::FilePermissionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
10490  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FilePermissionException,1); SWIG_arg++;
10491  return SWIG_arg;
10492 
10493  if(0) SWIG_fail;
10494 
10495 fail:
10496  lua_error(L);
10497  return SWIG_arg;
10498 }
10499 
10500 
10501 static int _wrap_new_FilePermissionException__SWIG_1(lua_State* L) {
10502  int SWIG_arg = 0;
10503  Mezzanine::String *arg1 = 0 ;
10504  Mezzanine::String *arg2 = 0 ;
10505  Mezzanine::String *arg3 = 0 ;
10506  Mezzanine::Whole *arg4 = 0 ;
10507  Mezzanine::String temp1 ;
10508  Mezzanine::String temp2 ;
10509  Mezzanine::String temp3 ;
10510  Mezzanine::Whole temp4 ;
10512 
10513  SWIG_check_num_args("Mezzanine::FilePermissionException::FilePermissionException",4,4)
10514  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",1,"Mezzanine::String const &");
10515  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",2,"Mezzanine::String const &");
10516  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",3,"Mezzanine::String const &");
10517  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::FilePermissionException::FilePermissionException",4,"Mezzanine::Whole const &");
10518  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10519  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10520  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10521  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
10522  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
10523  result = (Mezzanine::FilePermissionException *)new Mezzanine::FilePermissionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
10524  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__FilePermissionException,1); SWIG_arg++;
10525  return SWIG_arg;
10526 
10527  if(0) SWIG_fail;
10528 
10529 fail:
10530  lua_error(L);
10531  return SWIG_arg;
10532 }
10533 
10534 
10535 static int _wrap_new_FilePermissionException(lua_State* L) {
10536  int argc;
10537  int argv[6]={
10538  1,2,3,4,5,6
10539  };
10540 
10541  argc = lua_gettop(L);
10542  if (argc == 4) {
10543  int _v;
10544  {
10545  _v = lua_isstring(L,argv[0]);
10546  }
10547  if (_v) {
10548  {
10549  _v = lua_isstring(L,argv[1]);
10550  }
10551  if (_v) {
10552  {
10553  _v = lua_isstring(L,argv[2]);
10554  }
10555  if (_v) {
10556  {
10557  _v = lua_isnumber(L,argv[3]);
10558  }
10559  if (_v) {
10560  return _wrap_new_FilePermissionException__SWIG_1(L);
10561  }
10562  }
10563  }
10564  }
10565  }
10566  if (argc == 5) {
10567  int _v;
10568  {
10569  _v = lua_isstring(L,argv[0]);
10570  }
10571  if (_v) {
10572  {
10573  _v = lua_isstring(L,argv[1]);
10574  }
10575  if (_v) {
10576  {
10577  _v = lua_isstring(L,argv[2]);
10578  }
10579  if (_v) {
10580  {
10581  _v = lua_isstring(L,argv[3]);
10582  }
10583  if (_v) {
10584  {
10585  _v = lua_isnumber(L,argv[4]);
10586  }
10587  if (_v) {
10588  return _wrap_new_FilePermissionException__SWIG_0(L);
10589  }
10590  }
10591  }
10592  }
10593  }
10594  }
10595 
10596  lua_pushstring(L,"Wrong arguments for overloaded function 'new_FilePermissionException'\n"
10597  " Possible C/C++ prototypes are:\n"
10598  " Mezzanine::FilePermissionException::FilePermissionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
10599  " Mezzanine::FilePermissionException::FilePermissionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
10600  lua_error(L);return 0;
10601 }
10602 
10603 
10604 static int _wrap_FilePermissionException_GetExceptionCode(lua_State* L) {
10605  int SWIG_arg = 0;
10607  Mezzanine::Whole result;
10608 
10609  SWIG_check_num_args("Mezzanine::FilePermissionException::GetExceptionCode",1,1)
10610  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::FilePermissionException::GetExceptionCode",1,"Mezzanine::FilePermissionException const *");
10611 
10612  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__FilePermissionException,0))){
10613  SWIG_fail_ptr("FilePermissionException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__FilePermissionException);
10614  }
10615 
10616  result = (Mezzanine::Whole)((Mezzanine::FilePermissionException const *)arg1)->GetExceptionCode();
10617  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10618  return SWIG_arg;
10619 
10620  if(0) SWIG_fail;
10621 
10622 fail:
10623  lua_error(L);
10624  return SWIG_arg;
10625 }
10626 
10627 
10628 static void swig_delete_FilePermissionException(void *obj) {
10630 delete arg1;
10631 }
10632 static swig_lua_method swig_Mezzanine_FilePermissionException_methods[] = {
10633  {"GetExceptionCode", _wrap_FilePermissionException_GetExceptionCode},
10634  {0,0}
10635 };
10636 static swig_lua_attribute swig_Mezzanine_FilePermissionException_attributes[] = {
10637  {0,0,0}
10638 };
10639 static swig_lua_class *swig_Mezzanine_FilePermissionException_bases[] = {0,0};
10640 static const char *swig_Mezzanine_FilePermissionException_base_names[] = {"Mezzanine::FileException *",0};
10641 static swig_lua_class _wrap_class_Mezzanine_FilePermissionException = { "FilePermissionException", &SWIGTYPE_p_Mezzanine__FilePermissionException,_wrap_new_FilePermissionException, swig_delete_FilePermissionException, swig_Mezzanine_FilePermissionException_methods, swig_Mezzanine_FilePermissionException_attributes, swig_Mezzanine_FilePermissionException_bases, swig_Mezzanine_FilePermissionException_base_names };
10642 
10643 static int _wrap_new_DirectoryException__SWIG_0(lua_State* L) {
10644  int SWIG_arg = 0;
10645  Mezzanine::String *arg1 = 0 ;
10646  Mezzanine::String *arg2 = 0 ;
10647  Mezzanine::String *arg3 = 0 ;
10648  Mezzanine::String *arg4 = 0 ;
10649  Mezzanine::Whole *arg5 = 0 ;
10650  Mezzanine::String temp1 ;
10651  Mezzanine::String temp2 ;
10652  Mezzanine::String temp3 ;
10653  Mezzanine::String temp4 ;
10654  Mezzanine::Whole temp5 ;
10655  Mezzanine::DirectoryException *result = 0 ;
10656 
10657  SWIG_check_num_args("Mezzanine::DirectoryException::DirectoryException",5,5)
10658  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",1,"Mezzanine::String const &");
10659  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",2,"Mezzanine::String const &");
10660  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",3,"Mezzanine::String const &");
10661  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",4,"Mezzanine::String const &");
10662  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",5,"Mezzanine::Whole const &");
10663  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10664  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10665  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10666  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
10667  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
10668  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
10669  result = (Mezzanine::DirectoryException *)new Mezzanine::DirectoryException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
10670  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryException,1); SWIG_arg++;
10671  return SWIG_arg;
10672 
10673  if(0) SWIG_fail;
10674 
10675 fail:
10676  lua_error(L);
10677  return SWIG_arg;
10678 }
10679 
10680 
10681 static int _wrap_new_DirectoryException__SWIG_1(lua_State* L) {
10682  int SWIG_arg = 0;
10683  Mezzanine::String *arg1 = 0 ;
10684  Mezzanine::String *arg2 = 0 ;
10685  Mezzanine::String *arg3 = 0 ;
10686  Mezzanine::Whole *arg4 = 0 ;
10687  Mezzanine::String temp1 ;
10688  Mezzanine::String temp2 ;
10689  Mezzanine::String temp3 ;
10690  Mezzanine::Whole temp4 ;
10691  Mezzanine::DirectoryException *result = 0 ;
10692 
10693  SWIG_check_num_args("Mezzanine::DirectoryException::DirectoryException",4,4)
10694  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",1,"Mezzanine::String const &");
10695  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",2,"Mezzanine::String const &");
10696  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",3,"Mezzanine::String const &");
10697  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::DirectoryException::DirectoryException",4,"Mezzanine::Whole const &");
10698  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10699  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10700  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10701  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
10702  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
10703  result = (Mezzanine::DirectoryException *)new Mezzanine::DirectoryException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
10704  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryException,1); SWIG_arg++;
10705  return SWIG_arg;
10706 
10707  if(0) SWIG_fail;
10708 
10709 fail:
10710  lua_error(L);
10711  return SWIG_arg;
10712 }
10713 
10714 
10715 static int _wrap_new_DirectoryException(lua_State* L) {
10716  int argc;
10717  int argv[6]={
10718  1,2,3,4,5,6
10719  };
10720 
10721  argc = lua_gettop(L);
10722  if (argc == 4) {
10723  int _v;
10724  {
10725  _v = lua_isstring(L,argv[0]);
10726  }
10727  if (_v) {
10728  {
10729  _v = lua_isstring(L,argv[1]);
10730  }
10731  if (_v) {
10732  {
10733  _v = lua_isstring(L,argv[2]);
10734  }
10735  if (_v) {
10736  {
10737  _v = lua_isnumber(L,argv[3]);
10738  }
10739  if (_v) {
10740  return _wrap_new_DirectoryException__SWIG_1(L);
10741  }
10742  }
10743  }
10744  }
10745  }
10746  if (argc == 5) {
10747  int _v;
10748  {
10749  _v = lua_isstring(L,argv[0]);
10750  }
10751  if (_v) {
10752  {
10753  _v = lua_isstring(L,argv[1]);
10754  }
10755  if (_v) {
10756  {
10757  _v = lua_isstring(L,argv[2]);
10758  }
10759  if (_v) {
10760  {
10761  _v = lua_isstring(L,argv[3]);
10762  }
10763  if (_v) {
10764  {
10765  _v = lua_isnumber(L,argv[4]);
10766  }
10767  if (_v) {
10768  return _wrap_new_DirectoryException__SWIG_0(L);
10769  }
10770  }
10771  }
10772  }
10773  }
10774  }
10775 
10776  lua_pushstring(L,"Wrong arguments for overloaded function 'new_DirectoryException'\n"
10777  " Possible C/C++ prototypes are:\n"
10778  " Mezzanine::DirectoryException::DirectoryException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
10779  " Mezzanine::DirectoryException::DirectoryException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
10780  lua_error(L);return 0;
10781 }
10782 
10783 
10784 static int _wrap_DirectoryException_GetExceptionCode(lua_State* L) {
10785  int SWIG_arg = 0;
10787  Mezzanine::Whole result;
10788 
10789  SWIG_check_num_args("Mezzanine::DirectoryException::GetExceptionCode",1,1)
10790  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::DirectoryException::GetExceptionCode",1,"Mezzanine::DirectoryException const *");
10791 
10792  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__DirectoryException,0))){
10793  SWIG_fail_ptr("DirectoryException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__DirectoryException);
10794  }
10795 
10796  result = (Mezzanine::Whole)((Mezzanine::DirectoryException const *)arg1)->GetExceptionCode();
10797  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10798  return SWIG_arg;
10799 
10800  if(0) SWIG_fail;
10801 
10802 fail:
10803  lua_error(L);
10804  return SWIG_arg;
10805 }
10806 
10807 
10808 static void swig_delete_DirectoryException(void *obj) {
10810 delete arg1;
10811 }
10812 static swig_lua_method swig_Mezzanine_DirectoryException_methods[] = {
10813  {"GetExceptionCode", _wrap_DirectoryException_GetExceptionCode},
10814  {0,0}
10815 };
10816 static swig_lua_attribute swig_Mezzanine_DirectoryException_attributes[] = {
10817  {0,0,0}
10818 };
10819 static swig_lua_class *swig_Mezzanine_DirectoryException_bases[] = {0,0};
10820 static const char *swig_Mezzanine_DirectoryException_base_names[] = {"Mezzanine::IOException *",0};
10821 static swig_lua_class _wrap_class_Mezzanine_DirectoryException = { "DirectoryException", &SWIGTYPE_p_Mezzanine__DirectoryException,_wrap_new_DirectoryException, swig_delete_DirectoryException, swig_Mezzanine_DirectoryException_methods, swig_Mezzanine_DirectoryException_attributes, swig_Mezzanine_DirectoryException_bases, swig_Mezzanine_DirectoryException_base_names };
10822 
10823 static int _wrap_new_DirectoryReadException__SWIG_0(lua_State* L) {
10824  int SWIG_arg = 0;
10825  Mezzanine::String *arg1 = 0 ;
10826  Mezzanine::String *arg2 = 0 ;
10827  Mezzanine::String *arg3 = 0 ;
10828  Mezzanine::String *arg4 = 0 ;
10829  Mezzanine::Whole *arg5 = 0 ;
10830  Mezzanine::String temp1 ;
10831  Mezzanine::String temp2 ;
10832  Mezzanine::String temp3 ;
10833  Mezzanine::String temp4 ;
10834  Mezzanine::Whole temp5 ;
10835  Mezzanine::DirectoryReadException *result = 0 ;
10836 
10837  SWIG_check_num_args("Mezzanine::DirectoryReadException::DirectoryReadException",5,5)
10838  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",1,"Mezzanine::String const &");
10839  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",2,"Mezzanine::String const &");
10840  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",3,"Mezzanine::String const &");
10841  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",4,"Mezzanine::String const &");
10842  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",5,"Mezzanine::Whole const &");
10843  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10844  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10845  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10846  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
10847  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
10848  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
10849  result = (Mezzanine::DirectoryReadException *)new Mezzanine::DirectoryReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
10850  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryReadException,1); SWIG_arg++;
10851  return SWIG_arg;
10852 
10853  if(0) SWIG_fail;
10854 
10855 fail:
10856  lua_error(L);
10857  return SWIG_arg;
10858 }
10859 
10860 
10861 static int _wrap_new_DirectoryReadException__SWIG_1(lua_State* L) {
10862  int SWIG_arg = 0;
10863  Mezzanine::String *arg1 = 0 ;
10864  Mezzanine::String *arg2 = 0 ;
10865  Mezzanine::String *arg3 = 0 ;
10866  Mezzanine::Whole *arg4 = 0 ;
10867  Mezzanine::String temp1 ;
10868  Mezzanine::String temp2 ;
10869  Mezzanine::String temp3 ;
10870  Mezzanine::Whole temp4 ;
10871  Mezzanine::DirectoryReadException *result = 0 ;
10872 
10873  SWIG_check_num_args("Mezzanine::DirectoryReadException::DirectoryReadException",4,4)
10874  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",1,"Mezzanine::String const &");
10875  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",2,"Mezzanine::String const &");
10876  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",3,"Mezzanine::String const &");
10877  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::DirectoryReadException::DirectoryReadException",4,"Mezzanine::Whole const &");
10878  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
10879  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
10880  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
10881  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
10882  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
10883  result = (Mezzanine::DirectoryReadException *)new Mezzanine::DirectoryReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
10884  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryReadException,1); SWIG_arg++;
10885  return SWIG_arg;
10886 
10887  if(0) SWIG_fail;
10888 
10889 fail:
10890  lua_error(L);
10891  return SWIG_arg;
10892 }
10893 
10894 
10895 static int _wrap_new_DirectoryReadException(lua_State* L) {
10896  int argc;
10897  int argv[6]={
10898  1,2,3,4,5,6
10899  };
10900 
10901  argc = lua_gettop(L);
10902  if (argc == 4) {
10903  int _v;
10904  {
10905  _v = lua_isstring(L,argv[0]);
10906  }
10907  if (_v) {
10908  {
10909  _v = lua_isstring(L,argv[1]);
10910  }
10911  if (_v) {
10912  {
10913  _v = lua_isstring(L,argv[2]);
10914  }
10915  if (_v) {
10916  {
10917  _v = lua_isnumber(L,argv[3]);
10918  }
10919  if (_v) {
10920  return _wrap_new_DirectoryReadException__SWIG_1(L);
10921  }
10922  }
10923  }
10924  }
10925  }
10926  if (argc == 5) {
10927  int _v;
10928  {
10929  _v = lua_isstring(L,argv[0]);
10930  }
10931  if (_v) {
10932  {
10933  _v = lua_isstring(L,argv[1]);
10934  }
10935  if (_v) {
10936  {
10937  _v = lua_isstring(L,argv[2]);
10938  }
10939  if (_v) {
10940  {
10941  _v = lua_isstring(L,argv[3]);
10942  }
10943  if (_v) {
10944  {
10945  _v = lua_isnumber(L,argv[4]);
10946  }
10947  if (_v) {
10948  return _wrap_new_DirectoryReadException__SWIG_0(L);
10949  }
10950  }
10951  }
10952  }
10953  }
10954  }
10955 
10956  lua_pushstring(L,"Wrong arguments for overloaded function 'new_DirectoryReadException'\n"
10957  " Possible C/C++ prototypes are:\n"
10958  " Mezzanine::DirectoryReadException::DirectoryReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
10959  " Mezzanine::DirectoryReadException::DirectoryReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
10960  lua_error(L);return 0;
10961 }
10962 
10963 
10964 static int _wrap_DirectoryReadException_GetExceptionCode(lua_State* L) {
10965  int SWIG_arg = 0;
10967  Mezzanine::Whole result;
10968 
10969  SWIG_check_num_args("Mezzanine::DirectoryReadException::GetExceptionCode",1,1)
10970  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::DirectoryReadException::GetExceptionCode",1,"Mezzanine::DirectoryReadException const *");
10971 
10972  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__DirectoryReadException,0))){
10973  SWIG_fail_ptr("DirectoryReadException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__DirectoryReadException);
10974  }
10975 
10976  result = (Mezzanine::Whole)((Mezzanine::DirectoryReadException const *)arg1)->GetExceptionCode();
10977  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10978  return SWIG_arg;
10979 
10980  if(0) SWIG_fail;
10981 
10982 fail:
10983  lua_error(L);
10984  return SWIG_arg;
10985 }
10986 
10987 
10988 static void swig_delete_DirectoryReadException(void *obj) {
10990 delete arg1;
10991 }
10992 static swig_lua_method swig_Mezzanine_DirectoryReadException_methods[] = {
10993  {"GetExceptionCode", _wrap_DirectoryReadException_GetExceptionCode},
10994  {0,0}
10995 };
10996 static swig_lua_attribute swig_Mezzanine_DirectoryReadException_attributes[] = {
10997  {0,0,0}
10998 };
10999 static swig_lua_class *swig_Mezzanine_DirectoryReadException_bases[] = {0,0};
11000 static const char *swig_Mezzanine_DirectoryReadException_base_names[] = {"Mezzanine::DirectoryException *",0};
11001 static swig_lua_class _wrap_class_Mezzanine_DirectoryReadException = { "DirectoryReadException", &SWIGTYPE_p_Mezzanine__DirectoryReadException,_wrap_new_DirectoryReadException, swig_delete_DirectoryReadException, swig_Mezzanine_DirectoryReadException_methods, swig_Mezzanine_DirectoryReadException_attributes, swig_Mezzanine_DirectoryReadException_bases, swig_Mezzanine_DirectoryReadException_base_names };
11002 
11003 static int _wrap_new_DirectoryWriteException__SWIG_0(lua_State* L) {
11004  int SWIG_arg = 0;
11005  Mezzanine::String *arg1 = 0 ;
11006  Mezzanine::String *arg2 = 0 ;
11007  Mezzanine::String *arg3 = 0 ;
11008  Mezzanine::String *arg4 = 0 ;
11009  Mezzanine::Whole *arg5 = 0 ;
11010  Mezzanine::String temp1 ;
11011  Mezzanine::String temp2 ;
11012  Mezzanine::String temp3 ;
11013  Mezzanine::String temp4 ;
11014  Mezzanine::Whole temp5 ;
11016 
11017  SWIG_check_num_args("Mezzanine::DirectoryWriteException::DirectoryWriteException",5,5)
11018  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",1,"Mezzanine::String const &");
11019  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",2,"Mezzanine::String const &");
11020  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",3,"Mezzanine::String const &");
11021  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",4,"Mezzanine::String const &");
11022  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",5,"Mezzanine::Whole const &");
11023  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11024  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11025  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11026  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
11027  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
11028  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
11029  result = (Mezzanine::DirectoryWriteException *)new Mezzanine::DirectoryWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
11030  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryWriteException,1); SWIG_arg++;
11031  return SWIG_arg;
11032 
11033  if(0) SWIG_fail;
11034 
11035 fail:
11036  lua_error(L);
11037  return SWIG_arg;
11038 }
11039 
11040 
11041 static int _wrap_new_DirectoryWriteException__SWIG_1(lua_State* L) {
11042  int SWIG_arg = 0;
11043  Mezzanine::String *arg1 = 0 ;
11044  Mezzanine::String *arg2 = 0 ;
11045  Mezzanine::String *arg3 = 0 ;
11046  Mezzanine::Whole *arg4 = 0 ;
11047  Mezzanine::String temp1 ;
11048  Mezzanine::String temp2 ;
11049  Mezzanine::String temp3 ;
11050  Mezzanine::Whole temp4 ;
11052 
11053  SWIG_check_num_args("Mezzanine::DirectoryWriteException::DirectoryWriteException",4,4)
11054  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",1,"Mezzanine::String const &");
11055  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",2,"Mezzanine::String const &");
11056  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",3,"Mezzanine::String const &");
11057  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::DirectoryWriteException",4,"Mezzanine::Whole const &");
11058  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11059  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11060  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11061  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
11062  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
11063  result = (Mezzanine::DirectoryWriteException *)new Mezzanine::DirectoryWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
11064  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryWriteException,1); SWIG_arg++;
11065  return SWIG_arg;
11066 
11067  if(0) SWIG_fail;
11068 
11069 fail:
11070  lua_error(L);
11071  return SWIG_arg;
11072 }
11073 
11074 
11075 static int _wrap_new_DirectoryWriteException(lua_State* L) {
11076  int argc;
11077  int argv[6]={
11078  1,2,3,4,5,6
11079  };
11080 
11081  argc = lua_gettop(L);
11082  if (argc == 4) {
11083  int _v;
11084  {
11085  _v = lua_isstring(L,argv[0]);
11086  }
11087  if (_v) {
11088  {
11089  _v = lua_isstring(L,argv[1]);
11090  }
11091  if (_v) {
11092  {
11093  _v = lua_isstring(L,argv[2]);
11094  }
11095  if (_v) {
11096  {
11097  _v = lua_isnumber(L,argv[3]);
11098  }
11099  if (_v) {
11100  return _wrap_new_DirectoryWriteException__SWIG_1(L);
11101  }
11102  }
11103  }
11104  }
11105  }
11106  if (argc == 5) {
11107  int _v;
11108  {
11109  _v = lua_isstring(L,argv[0]);
11110  }
11111  if (_v) {
11112  {
11113  _v = lua_isstring(L,argv[1]);
11114  }
11115  if (_v) {
11116  {
11117  _v = lua_isstring(L,argv[2]);
11118  }
11119  if (_v) {
11120  {
11121  _v = lua_isstring(L,argv[3]);
11122  }
11123  if (_v) {
11124  {
11125  _v = lua_isnumber(L,argv[4]);
11126  }
11127  if (_v) {
11128  return _wrap_new_DirectoryWriteException__SWIG_0(L);
11129  }
11130  }
11131  }
11132  }
11133  }
11134  }
11135 
11136  lua_pushstring(L,"Wrong arguments for overloaded function 'new_DirectoryWriteException'\n"
11137  " Possible C/C++ prototypes are:\n"
11138  " Mezzanine::DirectoryWriteException::DirectoryWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
11139  " Mezzanine::DirectoryWriteException::DirectoryWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
11140  lua_error(L);return 0;
11141 }
11142 
11143 
11144 static int _wrap_DirectoryWriteException_GetExceptionCode(lua_State* L) {
11145  int SWIG_arg = 0;
11147  Mezzanine::Whole result;
11148 
11149  SWIG_check_num_args("Mezzanine::DirectoryWriteException::GetExceptionCode",1,1)
11150  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::DirectoryWriteException::GetExceptionCode",1,"Mezzanine::DirectoryWriteException const *");
11151 
11152  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__DirectoryWriteException,0))){
11153  SWIG_fail_ptr("DirectoryWriteException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__DirectoryWriteException);
11154  }
11155 
11156  result = (Mezzanine::Whole)((Mezzanine::DirectoryWriteException const *)arg1)->GetExceptionCode();
11157  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
11158  return SWIG_arg;
11159 
11160  if(0) SWIG_fail;
11161 
11162 fail:
11163  lua_error(L);
11164  return SWIG_arg;
11165 }
11166 
11167 
11168 static void swig_delete_DirectoryWriteException(void *obj) {
11170 delete arg1;
11171 }
11172 static swig_lua_method swig_Mezzanine_DirectoryWriteException_methods[] = {
11173  {"GetExceptionCode", _wrap_DirectoryWriteException_GetExceptionCode},
11174  {0,0}
11175 };
11176 static swig_lua_attribute swig_Mezzanine_DirectoryWriteException_attributes[] = {
11177  {0,0,0}
11178 };
11179 static swig_lua_class *swig_Mezzanine_DirectoryWriteException_bases[] = {0,0};
11180 static const char *swig_Mezzanine_DirectoryWriteException_base_names[] = {"Mezzanine::DirectoryException *",0};
11181 static swig_lua_class _wrap_class_Mezzanine_DirectoryWriteException = { "DirectoryWriteException", &SWIGTYPE_p_Mezzanine__DirectoryWriteException,_wrap_new_DirectoryWriteException, swig_delete_DirectoryWriteException, swig_Mezzanine_DirectoryWriteException_methods, swig_Mezzanine_DirectoryWriteException_attributes, swig_Mezzanine_DirectoryWriteException_bases, swig_Mezzanine_DirectoryWriteException_base_names };
11182 
11183 static int _wrap_new_DirectoryNotFoundException__SWIG_0(lua_State* L) {
11184  int SWIG_arg = 0;
11185  Mezzanine::String *arg1 = 0 ;
11186  Mezzanine::String *arg2 = 0 ;
11187  Mezzanine::String *arg3 = 0 ;
11188  Mezzanine::String *arg4 = 0 ;
11189  Mezzanine::Whole *arg5 = 0 ;
11190  Mezzanine::String temp1 ;
11191  Mezzanine::String temp2 ;
11192  Mezzanine::String temp3 ;
11193  Mezzanine::String temp4 ;
11194  Mezzanine::Whole temp5 ;
11196 
11197  SWIG_check_num_args("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",5,5)
11198  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",1,"Mezzanine::String const &");
11199  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",2,"Mezzanine::String const &");
11200  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",3,"Mezzanine::String const &");
11201  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",4,"Mezzanine::String const &");
11202  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",5,"Mezzanine::Whole const &");
11203  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11204  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11205  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11206  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
11207  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
11208  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
11209  result = (Mezzanine::DirectoryNotFoundException *)new Mezzanine::DirectoryNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
11210  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryNotFoundException,1); SWIG_arg++;
11211  return SWIG_arg;
11212 
11213  if(0) SWIG_fail;
11214 
11215 fail:
11216  lua_error(L);
11217  return SWIG_arg;
11218 }
11219 
11220 
11221 static int _wrap_new_DirectoryNotFoundException__SWIG_1(lua_State* L) {
11222  int SWIG_arg = 0;
11223  Mezzanine::String *arg1 = 0 ;
11224  Mezzanine::String *arg2 = 0 ;
11225  Mezzanine::String *arg3 = 0 ;
11226  Mezzanine::Whole *arg4 = 0 ;
11227  Mezzanine::String temp1 ;
11228  Mezzanine::String temp2 ;
11229  Mezzanine::String temp3 ;
11230  Mezzanine::Whole temp4 ;
11232 
11233  SWIG_check_num_args("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",4,4)
11234  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",1,"Mezzanine::String const &");
11235  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",2,"Mezzanine::String const &");
11236  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",3,"Mezzanine::String const &");
11237  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException",4,"Mezzanine::Whole const &");
11238  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11239  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11240  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11241  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
11242  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
11243  result = (Mezzanine::DirectoryNotFoundException *)new Mezzanine::DirectoryNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
11244  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryNotFoundException,1); SWIG_arg++;
11245  return SWIG_arg;
11246 
11247  if(0) SWIG_fail;
11248 
11249 fail:
11250  lua_error(L);
11251  return SWIG_arg;
11252 }
11253 
11254 
11255 static int _wrap_new_DirectoryNotFoundException(lua_State* L) {
11256  int argc;
11257  int argv[6]={
11258  1,2,3,4,5,6
11259  };
11260 
11261  argc = lua_gettop(L);
11262  if (argc == 4) {
11263  int _v;
11264  {
11265  _v = lua_isstring(L,argv[0]);
11266  }
11267  if (_v) {
11268  {
11269  _v = lua_isstring(L,argv[1]);
11270  }
11271  if (_v) {
11272  {
11273  _v = lua_isstring(L,argv[2]);
11274  }
11275  if (_v) {
11276  {
11277  _v = lua_isnumber(L,argv[3]);
11278  }
11279  if (_v) {
11280  return _wrap_new_DirectoryNotFoundException__SWIG_1(L);
11281  }
11282  }
11283  }
11284  }
11285  }
11286  if (argc == 5) {
11287  int _v;
11288  {
11289  _v = lua_isstring(L,argv[0]);
11290  }
11291  if (_v) {
11292  {
11293  _v = lua_isstring(L,argv[1]);
11294  }
11295  if (_v) {
11296  {
11297  _v = lua_isstring(L,argv[2]);
11298  }
11299  if (_v) {
11300  {
11301  _v = lua_isstring(L,argv[3]);
11302  }
11303  if (_v) {
11304  {
11305  _v = lua_isnumber(L,argv[4]);
11306  }
11307  if (_v) {
11308  return _wrap_new_DirectoryNotFoundException__SWIG_0(L);
11309  }
11310  }
11311  }
11312  }
11313  }
11314  }
11315 
11316  lua_pushstring(L,"Wrong arguments for overloaded function 'new_DirectoryNotFoundException'\n"
11317  " Possible C/C++ prototypes are:\n"
11318  " Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
11319  " Mezzanine::DirectoryNotFoundException::DirectoryNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
11320  lua_error(L);return 0;
11321 }
11322 
11323 
11324 static int _wrap_DirectoryNotFoundException_GetExceptionCode(lua_State* L) {
11325  int SWIG_arg = 0;
11327  Mezzanine::Whole result;
11328 
11329  SWIG_check_num_args("Mezzanine::DirectoryNotFoundException::GetExceptionCode",1,1)
11330  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::DirectoryNotFoundException::GetExceptionCode",1,"Mezzanine::DirectoryNotFoundException const *");
11331 
11332  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__DirectoryNotFoundException,0))){
11333  SWIG_fail_ptr("DirectoryNotFoundException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__DirectoryNotFoundException);
11334  }
11335 
11336  result = (Mezzanine::Whole)((Mezzanine::DirectoryNotFoundException const *)arg1)->GetExceptionCode();
11337  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
11338  return SWIG_arg;
11339 
11340  if(0) SWIG_fail;
11341 
11342 fail:
11343  lua_error(L);
11344  return SWIG_arg;
11345 }
11346 
11347 
11348 static void swig_delete_DirectoryNotFoundException(void *obj) {
11350 delete arg1;
11351 }
11352 static swig_lua_method swig_Mezzanine_DirectoryNotFoundException_methods[] = {
11353  {"GetExceptionCode", _wrap_DirectoryNotFoundException_GetExceptionCode},
11354  {0,0}
11355 };
11356 static swig_lua_attribute swig_Mezzanine_DirectoryNotFoundException_attributes[] = {
11357  {0,0,0}
11358 };
11359 static swig_lua_class *swig_Mezzanine_DirectoryNotFoundException_bases[] = {0,0};
11360 static const char *swig_Mezzanine_DirectoryNotFoundException_base_names[] = {"Mezzanine::DirectoryException *",0};
11361 static swig_lua_class _wrap_class_Mezzanine_DirectoryNotFoundException = { "DirectoryNotFoundException", &SWIGTYPE_p_Mezzanine__DirectoryNotFoundException,_wrap_new_DirectoryNotFoundException, swig_delete_DirectoryNotFoundException, swig_Mezzanine_DirectoryNotFoundException_methods, swig_Mezzanine_DirectoryNotFoundException_attributes, swig_Mezzanine_DirectoryNotFoundException_bases, swig_Mezzanine_DirectoryNotFoundException_base_names };
11362 
11363 static int _wrap_new_DirectoryPermissionException__SWIG_0(lua_State* L) {
11364  int SWIG_arg = 0;
11365  Mezzanine::String *arg1 = 0 ;
11366  Mezzanine::String *arg2 = 0 ;
11367  Mezzanine::String *arg3 = 0 ;
11368  Mezzanine::String *arg4 = 0 ;
11369  Mezzanine::Whole *arg5 = 0 ;
11370  Mezzanine::String temp1 ;
11371  Mezzanine::String temp2 ;
11372  Mezzanine::String temp3 ;
11373  Mezzanine::String temp4 ;
11374  Mezzanine::Whole temp5 ;
11376 
11377  SWIG_check_num_args("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",5,5)
11378  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",1,"Mezzanine::String const &");
11379  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",2,"Mezzanine::String const &");
11380  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",3,"Mezzanine::String const &");
11381  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",4,"Mezzanine::String const &");
11382  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",5,"Mezzanine::Whole const &");
11383  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11384  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11385  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11386  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
11387  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
11388  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
11389  result = (Mezzanine::DirectoryPermissionException *)new Mezzanine::DirectoryPermissionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
11390  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryPermissionException,1); SWIG_arg++;
11391  return SWIG_arg;
11392 
11393  if(0) SWIG_fail;
11394 
11395 fail:
11396  lua_error(L);
11397  return SWIG_arg;
11398 }
11399 
11400 
11401 static int _wrap_new_DirectoryPermissionException__SWIG_1(lua_State* L) {
11402  int SWIG_arg = 0;
11403  Mezzanine::String *arg1 = 0 ;
11404  Mezzanine::String *arg2 = 0 ;
11405  Mezzanine::String *arg3 = 0 ;
11406  Mezzanine::Whole *arg4 = 0 ;
11407  Mezzanine::String temp1 ;
11408  Mezzanine::String temp2 ;
11409  Mezzanine::String temp3 ;
11410  Mezzanine::Whole temp4 ;
11412 
11413  SWIG_check_num_args("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",4,4)
11414  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",1,"Mezzanine::String const &");
11415  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",2,"Mezzanine::String const &");
11416  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",3,"Mezzanine::String const &");
11417  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::DirectoryPermissionException",4,"Mezzanine::Whole const &");
11418  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11419  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11420  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11421  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
11422  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
11423  result = (Mezzanine::DirectoryPermissionException *)new Mezzanine::DirectoryPermissionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
11424  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__DirectoryPermissionException,1); SWIG_arg++;
11425  return SWIG_arg;
11426 
11427  if(0) SWIG_fail;
11428 
11429 fail:
11430  lua_error(L);
11431  return SWIG_arg;
11432 }
11433 
11434 
11435 static int _wrap_new_DirectoryPermissionException(lua_State* L) {
11436  int argc;
11437  int argv[6]={
11438  1,2,3,4,5,6
11439  };
11440 
11441  argc = lua_gettop(L);
11442  if (argc == 4) {
11443  int _v;
11444  {
11445  _v = lua_isstring(L,argv[0]);
11446  }
11447  if (_v) {
11448  {
11449  _v = lua_isstring(L,argv[1]);
11450  }
11451  if (_v) {
11452  {
11453  _v = lua_isstring(L,argv[2]);
11454  }
11455  if (_v) {
11456  {
11457  _v = lua_isnumber(L,argv[3]);
11458  }
11459  if (_v) {
11460  return _wrap_new_DirectoryPermissionException__SWIG_1(L);
11461  }
11462  }
11463  }
11464  }
11465  }
11466  if (argc == 5) {
11467  int _v;
11468  {
11469  _v = lua_isstring(L,argv[0]);
11470  }
11471  if (_v) {
11472  {
11473  _v = lua_isstring(L,argv[1]);
11474  }
11475  if (_v) {
11476  {
11477  _v = lua_isstring(L,argv[2]);
11478  }
11479  if (_v) {
11480  {
11481  _v = lua_isstring(L,argv[3]);
11482  }
11483  if (_v) {
11484  {
11485  _v = lua_isnumber(L,argv[4]);
11486  }
11487  if (_v) {
11488  return _wrap_new_DirectoryPermissionException__SWIG_0(L);
11489  }
11490  }
11491  }
11492  }
11493  }
11494  }
11495 
11496  lua_pushstring(L,"Wrong arguments for overloaded function 'new_DirectoryPermissionException'\n"
11497  " Possible C/C++ prototypes are:\n"
11498  " Mezzanine::DirectoryPermissionException::DirectoryPermissionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
11499  " Mezzanine::DirectoryPermissionException::DirectoryPermissionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
11500  lua_error(L);return 0;
11501 }
11502 
11503 
11504 static int _wrap_DirectoryPermissionException_GetExceptionCode(lua_State* L) {
11505  int SWIG_arg = 0;
11507  Mezzanine::Whole result;
11508 
11509  SWIG_check_num_args("Mezzanine::DirectoryPermissionException::GetExceptionCode",1,1)
11510  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::DirectoryPermissionException::GetExceptionCode",1,"Mezzanine::DirectoryPermissionException const *");
11511 
11512  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__DirectoryPermissionException,0))){
11513  SWIG_fail_ptr("DirectoryPermissionException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__DirectoryPermissionException);
11514  }
11515 
11516  result = (Mezzanine::Whole)((Mezzanine::DirectoryPermissionException const *)arg1)->GetExceptionCode();
11517  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
11518  return SWIG_arg;
11519 
11520  if(0) SWIG_fail;
11521 
11522 fail:
11523  lua_error(L);
11524  return SWIG_arg;
11525 }
11526 
11527 
11528 static void swig_delete_DirectoryPermissionException(void *obj) {
11530 delete arg1;
11531 }
11532 static swig_lua_method swig_Mezzanine_DirectoryPermissionException_methods[] = {
11533  {"GetExceptionCode", _wrap_DirectoryPermissionException_GetExceptionCode},
11534  {0,0}
11535 };
11536 static swig_lua_attribute swig_Mezzanine_DirectoryPermissionException_attributes[] = {
11537  {0,0,0}
11538 };
11539 static swig_lua_class *swig_Mezzanine_DirectoryPermissionException_bases[] = {0,0};
11540 static const char *swig_Mezzanine_DirectoryPermissionException_base_names[] = {"Mezzanine::DirectoryException *",0};
11541 static swig_lua_class _wrap_class_Mezzanine_DirectoryPermissionException = { "DirectoryPermissionException", &SWIGTYPE_p_Mezzanine__DirectoryPermissionException,_wrap_new_DirectoryPermissionException, swig_delete_DirectoryPermissionException, swig_Mezzanine_DirectoryPermissionException_methods, swig_Mezzanine_DirectoryPermissionException_attributes, swig_Mezzanine_DirectoryPermissionException_bases, swig_Mezzanine_DirectoryPermissionException_base_names };
11542 
11543 static int _wrap_new_NetworkException__SWIG_0(lua_State* L) {
11544  int SWIG_arg = 0;
11545  Mezzanine::String *arg1 = 0 ;
11546  Mezzanine::String *arg2 = 0 ;
11547  Mezzanine::String *arg3 = 0 ;
11548  Mezzanine::String *arg4 = 0 ;
11549  Mezzanine::Whole *arg5 = 0 ;
11550  Mezzanine::String temp1 ;
11551  Mezzanine::String temp2 ;
11552  Mezzanine::String temp3 ;
11553  Mezzanine::String temp4 ;
11554  Mezzanine::Whole temp5 ;
11555  Mezzanine::NetworkException *result = 0 ;
11556 
11557  SWIG_check_num_args("Mezzanine::NetworkException::NetworkException",5,5)
11558  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",1,"Mezzanine::String const &");
11559  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",2,"Mezzanine::String const &");
11560  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",3,"Mezzanine::String const &");
11561  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",4,"Mezzanine::String const &");
11562  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",5,"Mezzanine::Whole const &");
11563  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11564  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11565  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11566  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
11567  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
11568  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
11569  result = (Mezzanine::NetworkException *)new Mezzanine::NetworkException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
11570  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkException,1); SWIG_arg++;
11571  return SWIG_arg;
11572 
11573  if(0) SWIG_fail;
11574 
11575 fail:
11576  lua_error(L);
11577  return SWIG_arg;
11578 }
11579 
11580 
11581 static int _wrap_new_NetworkException__SWIG_1(lua_State* L) {
11582  int SWIG_arg = 0;
11583  Mezzanine::String *arg1 = 0 ;
11584  Mezzanine::String *arg2 = 0 ;
11585  Mezzanine::String *arg3 = 0 ;
11586  Mezzanine::Whole *arg4 = 0 ;
11587  Mezzanine::String temp1 ;
11588  Mezzanine::String temp2 ;
11589  Mezzanine::String temp3 ;
11590  Mezzanine::Whole temp4 ;
11591  Mezzanine::NetworkException *result = 0 ;
11592 
11593  SWIG_check_num_args("Mezzanine::NetworkException::NetworkException",4,4)
11594  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",1,"Mezzanine::String const &");
11595  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",2,"Mezzanine::String const &");
11596  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",3,"Mezzanine::String const &");
11597  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NetworkException::NetworkException",4,"Mezzanine::Whole const &");
11598  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11599  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11600  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11601  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
11602  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
11603  result = (Mezzanine::NetworkException *)new Mezzanine::NetworkException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
11604  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkException,1); SWIG_arg++;
11605  return SWIG_arg;
11606 
11607  if(0) SWIG_fail;
11608 
11609 fail:
11610  lua_error(L);
11611  return SWIG_arg;
11612 }
11613 
11614 
11615 static int _wrap_new_NetworkException(lua_State* L) {
11616  int argc;
11617  int argv[6]={
11618  1,2,3,4,5,6
11619  };
11620 
11621  argc = lua_gettop(L);
11622  if (argc == 4) {
11623  int _v;
11624  {
11625  _v = lua_isstring(L,argv[0]);
11626  }
11627  if (_v) {
11628  {
11629  _v = lua_isstring(L,argv[1]);
11630  }
11631  if (_v) {
11632  {
11633  _v = lua_isstring(L,argv[2]);
11634  }
11635  if (_v) {
11636  {
11637  _v = lua_isnumber(L,argv[3]);
11638  }
11639  if (_v) {
11640  return _wrap_new_NetworkException__SWIG_1(L);
11641  }
11642  }
11643  }
11644  }
11645  }
11646  if (argc == 5) {
11647  int _v;
11648  {
11649  _v = lua_isstring(L,argv[0]);
11650  }
11651  if (_v) {
11652  {
11653  _v = lua_isstring(L,argv[1]);
11654  }
11655  if (_v) {
11656  {
11657  _v = lua_isstring(L,argv[2]);
11658  }
11659  if (_v) {
11660  {
11661  _v = lua_isstring(L,argv[3]);
11662  }
11663  if (_v) {
11664  {
11665  _v = lua_isnumber(L,argv[4]);
11666  }
11667  if (_v) {
11668  return _wrap_new_NetworkException__SWIG_0(L);
11669  }
11670  }
11671  }
11672  }
11673  }
11674  }
11675 
11676  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NetworkException'\n"
11677  " Possible C/C++ prototypes are:\n"
11678  " Mezzanine::NetworkException::NetworkException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
11679  " Mezzanine::NetworkException::NetworkException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
11680  lua_error(L);return 0;
11681 }
11682 
11683 
11684 static int _wrap_NetworkException_GetExceptionCode(lua_State* L) {
11685  int SWIG_arg = 0;
11687  Mezzanine::Whole result;
11688 
11689  SWIG_check_num_args("Mezzanine::NetworkException::GetExceptionCode",1,1)
11690  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NetworkException::GetExceptionCode",1,"Mezzanine::NetworkException const *");
11691 
11692  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NetworkException,0))){
11693  SWIG_fail_ptr("NetworkException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NetworkException);
11694  }
11695 
11696  result = (Mezzanine::Whole)((Mezzanine::NetworkException const *)arg1)->GetExceptionCode();
11697  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
11698  return SWIG_arg;
11699 
11700  if(0) SWIG_fail;
11701 
11702 fail:
11703  lua_error(L);
11704  return SWIG_arg;
11705 }
11706 
11707 
11708 static void swig_delete_NetworkException(void *obj) {
11710 delete arg1;
11711 }
11712 static swig_lua_method swig_Mezzanine_NetworkException_methods[] = {
11713  {"GetExceptionCode", _wrap_NetworkException_GetExceptionCode},
11714  {0,0}
11715 };
11716 static swig_lua_attribute swig_Mezzanine_NetworkException_attributes[] = {
11717  {0,0,0}
11718 };
11719 static swig_lua_class *swig_Mezzanine_NetworkException_bases[] = {0,0};
11720 static const char *swig_Mezzanine_NetworkException_base_names[] = {"Mezzanine::IOException *",0};
11721 static swig_lua_class _wrap_class_Mezzanine_NetworkException = { "NetworkException", &SWIGTYPE_p_Mezzanine__NetworkException,_wrap_new_NetworkException, swig_delete_NetworkException, swig_Mezzanine_NetworkException_methods, swig_Mezzanine_NetworkException_attributes, swig_Mezzanine_NetworkException_bases, swig_Mezzanine_NetworkException_base_names };
11722 
11723 static int _wrap_new_NetworkReadException__SWIG_0(lua_State* L) {
11724  int SWIG_arg = 0;
11725  Mezzanine::String *arg1 = 0 ;
11726  Mezzanine::String *arg2 = 0 ;
11727  Mezzanine::String *arg3 = 0 ;
11728  Mezzanine::String *arg4 = 0 ;
11729  Mezzanine::Whole *arg5 = 0 ;
11730  Mezzanine::String temp1 ;
11731  Mezzanine::String temp2 ;
11732  Mezzanine::String temp3 ;
11733  Mezzanine::String temp4 ;
11734  Mezzanine::Whole temp5 ;
11735  Mezzanine::NetworkReadException *result = 0 ;
11736 
11737  SWIG_check_num_args("Mezzanine::NetworkReadException::NetworkReadException",5,5)
11738  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",1,"Mezzanine::String const &");
11739  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",2,"Mezzanine::String const &");
11740  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",3,"Mezzanine::String const &");
11741  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",4,"Mezzanine::String const &");
11742  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",5,"Mezzanine::Whole const &");
11743  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11744  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11745  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11746  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
11747  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
11748  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
11749  result = (Mezzanine::NetworkReadException *)new Mezzanine::NetworkReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
11750  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkReadException,1); SWIG_arg++;
11751  return SWIG_arg;
11752 
11753  if(0) SWIG_fail;
11754 
11755 fail:
11756  lua_error(L);
11757  return SWIG_arg;
11758 }
11759 
11760 
11761 static int _wrap_new_NetworkReadException__SWIG_1(lua_State* L) {
11762  int SWIG_arg = 0;
11763  Mezzanine::String *arg1 = 0 ;
11764  Mezzanine::String *arg2 = 0 ;
11765  Mezzanine::String *arg3 = 0 ;
11766  Mezzanine::Whole *arg4 = 0 ;
11767  Mezzanine::String temp1 ;
11768  Mezzanine::String temp2 ;
11769  Mezzanine::String temp3 ;
11770  Mezzanine::Whole temp4 ;
11771  Mezzanine::NetworkReadException *result = 0 ;
11772 
11773  SWIG_check_num_args("Mezzanine::NetworkReadException::NetworkReadException",4,4)
11774  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",1,"Mezzanine::String const &");
11775  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",2,"Mezzanine::String const &");
11776  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",3,"Mezzanine::String const &");
11777  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NetworkReadException::NetworkReadException",4,"Mezzanine::Whole const &");
11778  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11779  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11780  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11781  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
11782  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
11783  result = (Mezzanine::NetworkReadException *)new Mezzanine::NetworkReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
11784  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkReadException,1); SWIG_arg++;
11785  return SWIG_arg;
11786 
11787  if(0) SWIG_fail;
11788 
11789 fail:
11790  lua_error(L);
11791  return SWIG_arg;
11792 }
11793 
11794 
11795 static int _wrap_new_NetworkReadException(lua_State* L) {
11796  int argc;
11797  int argv[6]={
11798  1,2,3,4,5,6
11799  };
11800 
11801  argc = lua_gettop(L);
11802  if (argc == 4) {
11803  int _v;
11804  {
11805  _v = lua_isstring(L,argv[0]);
11806  }
11807  if (_v) {
11808  {
11809  _v = lua_isstring(L,argv[1]);
11810  }
11811  if (_v) {
11812  {
11813  _v = lua_isstring(L,argv[2]);
11814  }
11815  if (_v) {
11816  {
11817  _v = lua_isnumber(L,argv[3]);
11818  }
11819  if (_v) {
11820  return _wrap_new_NetworkReadException__SWIG_1(L);
11821  }
11822  }
11823  }
11824  }
11825  }
11826  if (argc == 5) {
11827  int _v;
11828  {
11829  _v = lua_isstring(L,argv[0]);
11830  }
11831  if (_v) {
11832  {
11833  _v = lua_isstring(L,argv[1]);
11834  }
11835  if (_v) {
11836  {
11837  _v = lua_isstring(L,argv[2]);
11838  }
11839  if (_v) {
11840  {
11841  _v = lua_isstring(L,argv[3]);
11842  }
11843  if (_v) {
11844  {
11845  _v = lua_isnumber(L,argv[4]);
11846  }
11847  if (_v) {
11848  return _wrap_new_NetworkReadException__SWIG_0(L);
11849  }
11850  }
11851  }
11852  }
11853  }
11854  }
11855 
11856  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NetworkReadException'\n"
11857  " Possible C/C++ prototypes are:\n"
11858  " Mezzanine::NetworkReadException::NetworkReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
11859  " Mezzanine::NetworkReadException::NetworkReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
11860  lua_error(L);return 0;
11861 }
11862 
11863 
11864 static int _wrap_NetworkReadException_GetExceptionCode(lua_State* L) {
11865  int SWIG_arg = 0;
11867  Mezzanine::Whole result;
11868 
11869  SWIG_check_num_args("Mezzanine::NetworkReadException::GetExceptionCode",1,1)
11870  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NetworkReadException::GetExceptionCode",1,"Mezzanine::NetworkReadException const *");
11871 
11872  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NetworkReadException,0))){
11873  SWIG_fail_ptr("NetworkReadException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NetworkReadException);
11874  }
11875 
11876  result = (Mezzanine::Whole)((Mezzanine::NetworkReadException const *)arg1)->GetExceptionCode();
11877  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
11878  return SWIG_arg;
11879 
11880  if(0) SWIG_fail;
11881 
11882 fail:
11883  lua_error(L);
11884  return SWIG_arg;
11885 }
11886 
11887 
11888 static void swig_delete_NetworkReadException(void *obj) {
11890 delete arg1;
11891 }
11892 static swig_lua_method swig_Mezzanine_NetworkReadException_methods[] = {
11893  {"GetExceptionCode", _wrap_NetworkReadException_GetExceptionCode},
11894  {0,0}
11895 };
11896 static swig_lua_attribute swig_Mezzanine_NetworkReadException_attributes[] = {
11897  {0,0,0}
11898 };
11899 static swig_lua_class *swig_Mezzanine_NetworkReadException_bases[] = {0,0};
11900 static const char *swig_Mezzanine_NetworkReadException_base_names[] = {"Mezzanine::NetworkException *",0};
11901 static swig_lua_class _wrap_class_Mezzanine_NetworkReadException = { "NetworkReadException", &SWIGTYPE_p_Mezzanine__NetworkReadException,_wrap_new_NetworkReadException, swig_delete_NetworkReadException, swig_Mezzanine_NetworkReadException_methods, swig_Mezzanine_NetworkReadException_attributes, swig_Mezzanine_NetworkReadException_bases, swig_Mezzanine_NetworkReadException_base_names };
11902 
11903 static int _wrap_new_NetworkWriteException__SWIG_0(lua_State* L) {
11904  int SWIG_arg = 0;
11905  Mezzanine::String *arg1 = 0 ;
11906  Mezzanine::String *arg2 = 0 ;
11907  Mezzanine::String *arg3 = 0 ;
11908  Mezzanine::String *arg4 = 0 ;
11909  Mezzanine::Whole *arg5 = 0 ;
11910  Mezzanine::String temp1 ;
11911  Mezzanine::String temp2 ;
11912  Mezzanine::String temp3 ;
11913  Mezzanine::String temp4 ;
11914  Mezzanine::Whole temp5 ;
11915  Mezzanine::NetworkWriteException *result = 0 ;
11916 
11917  SWIG_check_num_args("Mezzanine::NetworkWriteException::NetworkWriteException",5,5)
11918  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",1,"Mezzanine::String const &");
11919  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",2,"Mezzanine::String const &");
11920  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",3,"Mezzanine::String const &");
11921  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",4,"Mezzanine::String const &");
11922  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",5,"Mezzanine::Whole const &");
11923  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11924  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11925  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11926  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
11927  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
11928  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
11929  result = (Mezzanine::NetworkWriteException *)new Mezzanine::NetworkWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
11930  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkWriteException,1); SWIG_arg++;
11931  return SWIG_arg;
11932 
11933  if(0) SWIG_fail;
11934 
11935 fail:
11936  lua_error(L);
11937  return SWIG_arg;
11938 }
11939 
11940 
11941 static int _wrap_new_NetworkWriteException__SWIG_1(lua_State* L) {
11942  int SWIG_arg = 0;
11943  Mezzanine::String *arg1 = 0 ;
11944  Mezzanine::String *arg2 = 0 ;
11945  Mezzanine::String *arg3 = 0 ;
11946  Mezzanine::Whole *arg4 = 0 ;
11947  Mezzanine::String temp1 ;
11948  Mezzanine::String temp2 ;
11949  Mezzanine::String temp3 ;
11950  Mezzanine::Whole temp4 ;
11951  Mezzanine::NetworkWriteException *result = 0 ;
11952 
11953  SWIG_check_num_args("Mezzanine::NetworkWriteException::NetworkWriteException",4,4)
11954  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",1,"Mezzanine::String const &");
11955  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",2,"Mezzanine::String const &");
11956  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",3,"Mezzanine::String const &");
11957  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NetworkWriteException::NetworkWriteException",4,"Mezzanine::Whole const &");
11958  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
11959  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
11960  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
11961  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
11962  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
11963  result = (Mezzanine::NetworkWriteException *)new Mezzanine::NetworkWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
11964  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkWriteException,1); SWIG_arg++;
11965  return SWIG_arg;
11966 
11967  if(0) SWIG_fail;
11968 
11969 fail:
11970  lua_error(L);
11971  return SWIG_arg;
11972 }
11973 
11974 
11975 static int _wrap_new_NetworkWriteException(lua_State* L) {
11976  int argc;
11977  int argv[6]={
11978  1,2,3,4,5,6
11979  };
11980 
11981  argc = lua_gettop(L);
11982  if (argc == 4) {
11983  int _v;
11984  {
11985  _v = lua_isstring(L,argv[0]);
11986  }
11987  if (_v) {
11988  {
11989  _v = lua_isstring(L,argv[1]);
11990  }
11991  if (_v) {
11992  {
11993  _v = lua_isstring(L,argv[2]);
11994  }
11995  if (_v) {
11996  {
11997  _v = lua_isnumber(L,argv[3]);
11998  }
11999  if (_v) {
12000  return _wrap_new_NetworkWriteException__SWIG_1(L);
12001  }
12002  }
12003  }
12004  }
12005  }
12006  if (argc == 5) {
12007  int _v;
12008  {
12009  _v = lua_isstring(L,argv[0]);
12010  }
12011  if (_v) {
12012  {
12013  _v = lua_isstring(L,argv[1]);
12014  }
12015  if (_v) {
12016  {
12017  _v = lua_isstring(L,argv[2]);
12018  }
12019  if (_v) {
12020  {
12021  _v = lua_isstring(L,argv[3]);
12022  }
12023  if (_v) {
12024  {
12025  _v = lua_isnumber(L,argv[4]);
12026  }
12027  if (_v) {
12028  return _wrap_new_NetworkWriteException__SWIG_0(L);
12029  }
12030  }
12031  }
12032  }
12033  }
12034  }
12035 
12036  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NetworkWriteException'\n"
12037  " Possible C/C++ prototypes are:\n"
12038  " Mezzanine::NetworkWriteException::NetworkWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
12039  " Mezzanine::NetworkWriteException::NetworkWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
12040  lua_error(L);return 0;
12041 }
12042 
12043 
12044 static int _wrap_NetworkWriteException_GetExceptionCode(lua_State* L) {
12045  int SWIG_arg = 0;
12047  Mezzanine::Whole result;
12048 
12049  SWIG_check_num_args("Mezzanine::NetworkWriteException::GetExceptionCode",1,1)
12050  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NetworkWriteException::GetExceptionCode",1,"Mezzanine::NetworkWriteException const *");
12051 
12052  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NetworkWriteException,0))){
12053  SWIG_fail_ptr("NetworkWriteException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NetworkWriteException);
12054  }
12055 
12056  result = (Mezzanine::Whole)((Mezzanine::NetworkWriteException const *)arg1)->GetExceptionCode();
12057  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12058  return SWIG_arg;
12059 
12060  if(0) SWIG_fail;
12061 
12062 fail:
12063  lua_error(L);
12064  return SWIG_arg;
12065 }
12066 
12067 
12068 static void swig_delete_NetworkWriteException(void *obj) {
12070 delete arg1;
12071 }
12072 static swig_lua_method swig_Mezzanine_NetworkWriteException_methods[] = {
12073  {"GetExceptionCode", _wrap_NetworkWriteException_GetExceptionCode},
12074  {0,0}
12075 };
12076 static swig_lua_attribute swig_Mezzanine_NetworkWriteException_attributes[] = {
12077  {0,0,0}
12078 };
12079 static swig_lua_class *swig_Mezzanine_NetworkWriteException_bases[] = {0,0};
12080 static const char *swig_Mezzanine_NetworkWriteException_base_names[] = {"Mezzanine::NetworkException *",0};
12081 static swig_lua_class _wrap_class_Mezzanine_NetworkWriteException = { "NetworkWriteException", &SWIGTYPE_p_Mezzanine__NetworkWriteException,_wrap_new_NetworkWriteException, swig_delete_NetworkWriteException, swig_Mezzanine_NetworkWriteException_methods, swig_Mezzanine_NetworkWriteException_attributes, swig_Mezzanine_NetworkWriteException_bases, swig_Mezzanine_NetworkWriteException_base_names };
12082 
12083 static int _wrap_new_NetworkNotFoundException__SWIG_0(lua_State* L) {
12084  int SWIG_arg = 0;
12085  Mezzanine::String *arg1 = 0 ;
12086  Mezzanine::String *arg2 = 0 ;
12087  Mezzanine::String *arg3 = 0 ;
12088  Mezzanine::String *arg4 = 0 ;
12089  Mezzanine::Whole *arg5 = 0 ;
12090  Mezzanine::String temp1 ;
12091  Mezzanine::String temp2 ;
12092  Mezzanine::String temp3 ;
12093  Mezzanine::String temp4 ;
12094  Mezzanine::Whole temp5 ;
12096 
12097  SWIG_check_num_args("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",5,5)
12098  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",1,"Mezzanine::String const &");
12099  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",2,"Mezzanine::String const &");
12100  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",3,"Mezzanine::String const &");
12101  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",4,"Mezzanine::String const &");
12102  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",5,"Mezzanine::Whole const &");
12103  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12104  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12105  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12106  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
12107  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
12108  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
12109  result = (Mezzanine::NetworkNotFoundException *)new Mezzanine::NetworkNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
12110  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkNotFoundException,1); SWIG_arg++;
12111  return SWIG_arg;
12112 
12113  if(0) SWIG_fail;
12114 
12115 fail:
12116  lua_error(L);
12117  return SWIG_arg;
12118 }
12119 
12120 
12121 static int _wrap_new_NetworkNotFoundException__SWIG_1(lua_State* L) {
12122  int SWIG_arg = 0;
12123  Mezzanine::String *arg1 = 0 ;
12124  Mezzanine::String *arg2 = 0 ;
12125  Mezzanine::String *arg3 = 0 ;
12126  Mezzanine::Whole *arg4 = 0 ;
12127  Mezzanine::String temp1 ;
12128  Mezzanine::String temp2 ;
12129  Mezzanine::String temp3 ;
12130  Mezzanine::Whole temp4 ;
12132 
12133  SWIG_check_num_args("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",4,4)
12134  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",1,"Mezzanine::String const &");
12135  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",2,"Mezzanine::String const &");
12136  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",3,"Mezzanine::String const &");
12137  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::NetworkNotFoundException",4,"Mezzanine::Whole const &");
12138  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12139  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12140  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12141  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
12142  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
12143  result = (Mezzanine::NetworkNotFoundException *)new Mezzanine::NetworkNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
12144  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkNotFoundException,1); SWIG_arg++;
12145  return SWIG_arg;
12146 
12147  if(0) SWIG_fail;
12148 
12149 fail:
12150  lua_error(L);
12151  return SWIG_arg;
12152 }
12153 
12154 
12155 static int _wrap_new_NetworkNotFoundException(lua_State* L) {
12156  int argc;
12157  int argv[6]={
12158  1,2,3,4,5,6
12159  };
12160 
12161  argc = lua_gettop(L);
12162  if (argc == 4) {
12163  int _v;
12164  {
12165  _v = lua_isstring(L,argv[0]);
12166  }
12167  if (_v) {
12168  {
12169  _v = lua_isstring(L,argv[1]);
12170  }
12171  if (_v) {
12172  {
12173  _v = lua_isstring(L,argv[2]);
12174  }
12175  if (_v) {
12176  {
12177  _v = lua_isnumber(L,argv[3]);
12178  }
12179  if (_v) {
12180  return _wrap_new_NetworkNotFoundException__SWIG_1(L);
12181  }
12182  }
12183  }
12184  }
12185  }
12186  if (argc == 5) {
12187  int _v;
12188  {
12189  _v = lua_isstring(L,argv[0]);
12190  }
12191  if (_v) {
12192  {
12193  _v = lua_isstring(L,argv[1]);
12194  }
12195  if (_v) {
12196  {
12197  _v = lua_isstring(L,argv[2]);
12198  }
12199  if (_v) {
12200  {
12201  _v = lua_isstring(L,argv[3]);
12202  }
12203  if (_v) {
12204  {
12205  _v = lua_isnumber(L,argv[4]);
12206  }
12207  if (_v) {
12208  return _wrap_new_NetworkNotFoundException__SWIG_0(L);
12209  }
12210  }
12211  }
12212  }
12213  }
12214  }
12215 
12216  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NetworkNotFoundException'\n"
12217  " Possible C/C++ prototypes are:\n"
12218  " Mezzanine::NetworkNotFoundException::NetworkNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
12219  " Mezzanine::NetworkNotFoundException::NetworkNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
12220  lua_error(L);return 0;
12221 }
12222 
12223 
12224 static int _wrap_NetworkNotFoundException_GetExceptionCode(lua_State* L) {
12225  int SWIG_arg = 0;
12227  Mezzanine::Whole result;
12228 
12229  SWIG_check_num_args("Mezzanine::NetworkNotFoundException::GetExceptionCode",1,1)
12230  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NetworkNotFoundException::GetExceptionCode",1,"Mezzanine::NetworkNotFoundException const *");
12231 
12232  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NetworkNotFoundException,0))){
12233  SWIG_fail_ptr("NetworkNotFoundException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NetworkNotFoundException);
12234  }
12235 
12236  result = (Mezzanine::Whole)((Mezzanine::NetworkNotFoundException const *)arg1)->GetExceptionCode();
12237  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12238  return SWIG_arg;
12239 
12240  if(0) SWIG_fail;
12241 
12242 fail:
12243  lua_error(L);
12244  return SWIG_arg;
12245 }
12246 
12247 
12248 static void swig_delete_NetworkNotFoundException(void *obj) {
12250 delete arg1;
12251 }
12252 static swig_lua_method swig_Mezzanine_NetworkNotFoundException_methods[] = {
12253  {"GetExceptionCode", _wrap_NetworkNotFoundException_GetExceptionCode},
12254  {0,0}
12255 };
12256 static swig_lua_attribute swig_Mezzanine_NetworkNotFoundException_attributes[] = {
12257  {0,0,0}
12258 };
12259 static swig_lua_class *swig_Mezzanine_NetworkNotFoundException_bases[] = {0,0};
12260 static const char *swig_Mezzanine_NetworkNotFoundException_base_names[] = {"Mezzanine::NetworkException *",0};
12261 static swig_lua_class _wrap_class_Mezzanine_NetworkNotFoundException = { "NetworkNotFoundException", &SWIGTYPE_p_Mezzanine__NetworkNotFoundException,_wrap_new_NetworkNotFoundException, swig_delete_NetworkNotFoundException, swig_Mezzanine_NetworkNotFoundException_methods, swig_Mezzanine_NetworkNotFoundException_attributes, swig_Mezzanine_NetworkNotFoundException_bases, swig_Mezzanine_NetworkNotFoundException_base_names };
12262 
12263 static int _wrap_new_NetworkURLException__SWIG_0(lua_State* L) {
12264  int SWIG_arg = 0;
12265  Mezzanine::String *arg1 = 0 ;
12266  Mezzanine::String *arg2 = 0 ;
12267  Mezzanine::String *arg3 = 0 ;
12268  Mezzanine::String *arg4 = 0 ;
12269  Mezzanine::Whole *arg5 = 0 ;
12270  Mezzanine::String temp1 ;
12271  Mezzanine::String temp2 ;
12272  Mezzanine::String temp3 ;
12273  Mezzanine::String temp4 ;
12274  Mezzanine::Whole temp5 ;
12275  Mezzanine::NetworkURLException *result = 0 ;
12276 
12277  SWIG_check_num_args("Mezzanine::NetworkURLException::NetworkURLException",5,5)
12278  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",1,"Mezzanine::String const &");
12279  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",2,"Mezzanine::String const &");
12280  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",3,"Mezzanine::String const &");
12281  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",4,"Mezzanine::String const &");
12282  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",5,"Mezzanine::Whole const &");
12283  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12284  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12285  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12286  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
12287  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
12288  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
12289  result = (Mezzanine::NetworkURLException *)new Mezzanine::NetworkURLException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
12290  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkURLException,1); SWIG_arg++;
12291  return SWIG_arg;
12292 
12293  if(0) SWIG_fail;
12294 
12295 fail:
12296  lua_error(L);
12297  return SWIG_arg;
12298 }
12299 
12300 
12301 static int _wrap_new_NetworkURLException__SWIG_1(lua_State* L) {
12302  int SWIG_arg = 0;
12303  Mezzanine::String *arg1 = 0 ;
12304  Mezzanine::String *arg2 = 0 ;
12305  Mezzanine::String *arg3 = 0 ;
12306  Mezzanine::Whole *arg4 = 0 ;
12307  Mezzanine::String temp1 ;
12308  Mezzanine::String temp2 ;
12309  Mezzanine::String temp3 ;
12310  Mezzanine::Whole temp4 ;
12311  Mezzanine::NetworkURLException *result = 0 ;
12312 
12313  SWIG_check_num_args("Mezzanine::NetworkURLException::NetworkURLException",4,4)
12314  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",1,"Mezzanine::String const &");
12315  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",2,"Mezzanine::String const &");
12316  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",3,"Mezzanine::String const &");
12317  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NetworkURLException::NetworkURLException",4,"Mezzanine::Whole const &");
12318  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12319  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12320  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12321  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
12322  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
12323  result = (Mezzanine::NetworkURLException *)new Mezzanine::NetworkURLException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
12324  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkURLException,1); SWIG_arg++;
12325  return SWIG_arg;
12326 
12327  if(0) SWIG_fail;
12328 
12329 fail:
12330  lua_error(L);
12331  return SWIG_arg;
12332 }
12333 
12334 
12335 static int _wrap_new_NetworkURLException(lua_State* L) {
12336  int argc;
12337  int argv[6]={
12338  1,2,3,4,5,6
12339  };
12340 
12341  argc = lua_gettop(L);
12342  if (argc == 4) {
12343  int _v;
12344  {
12345  _v = lua_isstring(L,argv[0]);
12346  }
12347  if (_v) {
12348  {
12349  _v = lua_isstring(L,argv[1]);
12350  }
12351  if (_v) {
12352  {
12353  _v = lua_isstring(L,argv[2]);
12354  }
12355  if (_v) {
12356  {
12357  _v = lua_isnumber(L,argv[3]);
12358  }
12359  if (_v) {
12360  return _wrap_new_NetworkURLException__SWIG_1(L);
12361  }
12362  }
12363  }
12364  }
12365  }
12366  if (argc == 5) {
12367  int _v;
12368  {
12369  _v = lua_isstring(L,argv[0]);
12370  }
12371  if (_v) {
12372  {
12373  _v = lua_isstring(L,argv[1]);
12374  }
12375  if (_v) {
12376  {
12377  _v = lua_isstring(L,argv[2]);
12378  }
12379  if (_v) {
12380  {
12381  _v = lua_isstring(L,argv[3]);
12382  }
12383  if (_v) {
12384  {
12385  _v = lua_isnumber(L,argv[4]);
12386  }
12387  if (_v) {
12388  return _wrap_new_NetworkURLException__SWIG_0(L);
12389  }
12390  }
12391  }
12392  }
12393  }
12394  }
12395 
12396  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NetworkURLException'\n"
12397  " Possible C/C++ prototypes are:\n"
12398  " Mezzanine::NetworkURLException::NetworkURLException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
12399  " Mezzanine::NetworkURLException::NetworkURLException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
12400  lua_error(L);return 0;
12401 }
12402 
12403 
12404 static int _wrap_NetworkURLException_GetExceptionCode(lua_State* L) {
12405  int SWIG_arg = 0;
12407  Mezzanine::Whole result;
12408 
12409  SWIG_check_num_args("Mezzanine::NetworkURLException::GetExceptionCode",1,1)
12410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NetworkURLException::GetExceptionCode",1,"Mezzanine::NetworkURLException const *");
12411 
12412  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NetworkURLException,0))){
12413  SWIG_fail_ptr("NetworkURLException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NetworkURLException);
12414  }
12415 
12416  result = (Mezzanine::Whole)((Mezzanine::NetworkURLException const *)arg1)->GetExceptionCode();
12417  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12418  return SWIG_arg;
12419 
12420  if(0) SWIG_fail;
12421 
12422 fail:
12423  lua_error(L);
12424  return SWIG_arg;
12425 }
12426 
12427 
12428 static void swig_delete_NetworkURLException(void *obj) {
12430 delete arg1;
12431 }
12432 static swig_lua_method swig_Mezzanine_NetworkURLException_methods[] = {
12433  {"GetExceptionCode", _wrap_NetworkURLException_GetExceptionCode},
12434  {0,0}
12435 };
12436 static swig_lua_attribute swig_Mezzanine_NetworkURLException_attributes[] = {
12437  {0,0,0}
12438 };
12439 static swig_lua_class *swig_Mezzanine_NetworkURLException_bases[] = {0,0};
12440 static const char *swig_Mezzanine_NetworkURLException_base_names[] = {"Mezzanine::NetworkException *",0};
12441 static swig_lua_class _wrap_class_Mezzanine_NetworkURLException = { "NetworkURLException", &SWIGTYPE_p_Mezzanine__NetworkURLException,_wrap_new_NetworkURLException, swig_delete_NetworkURLException, swig_Mezzanine_NetworkURLException_methods, swig_Mezzanine_NetworkURLException_attributes, swig_Mezzanine_NetworkURLException_bases, swig_Mezzanine_NetworkURLException_base_names };
12442 
12443 static int _wrap_new_NetworkPermissionException__SWIG_0(lua_State* L) {
12444  int SWIG_arg = 0;
12445  Mezzanine::String *arg1 = 0 ;
12446  Mezzanine::String *arg2 = 0 ;
12447  Mezzanine::String *arg3 = 0 ;
12448  Mezzanine::String *arg4 = 0 ;
12449  Mezzanine::Whole *arg5 = 0 ;
12450  Mezzanine::String temp1 ;
12451  Mezzanine::String temp2 ;
12452  Mezzanine::String temp3 ;
12453  Mezzanine::String temp4 ;
12454  Mezzanine::Whole temp5 ;
12456 
12457  SWIG_check_num_args("Mezzanine::NetworkPermissionException::NetworkPermissionException",5,5)
12458  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",1,"Mezzanine::String const &");
12459  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",2,"Mezzanine::String const &");
12460  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",3,"Mezzanine::String const &");
12461  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",4,"Mezzanine::String const &");
12462  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",5,"Mezzanine::Whole const &");
12463  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12464  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12465  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12466  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
12467  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
12468  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
12469  result = (Mezzanine::NetworkPermissionException *)new Mezzanine::NetworkPermissionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
12470  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkPermissionException,1); SWIG_arg++;
12471  return SWIG_arg;
12472 
12473  if(0) SWIG_fail;
12474 
12475 fail:
12476  lua_error(L);
12477  return SWIG_arg;
12478 }
12479 
12480 
12481 static int _wrap_new_NetworkPermissionException__SWIG_1(lua_State* L) {
12482  int SWIG_arg = 0;
12483  Mezzanine::String *arg1 = 0 ;
12484  Mezzanine::String *arg2 = 0 ;
12485  Mezzanine::String *arg3 = 0 ;
12486  Mezzanine::Whole *arg4 = 0 ;
12487  Mezzanine::String temp1 ;
12488  Mezzanine::String temp2 ;
12489  Mezzanine::String temp3 ;
12490  Mezzanine::Whole temp4 ;
12492 
12493  SWIG_check_num_args("Mezzanine::NetworkPermissionException::NetworkPermissionException",4,4)
12494  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",1,"Mezzanine::String const &");
12495  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",2,"Mezzanine::String const &");
12496  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",3,"Mezzanine::String const &");
12497  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::NetworkPermissionException",4,"Mezzanine::Whole const &");
12498  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12499  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12500  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12501  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
12502  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
12503  result = (Mezzanine::NetworkPermissionException *)new Mezzanine::NetworkPermissionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
12504  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NetworkPermissionException,1); SWIG_arg++;
12505  return SWIG_arg;
12506 
12507  if(0) SWIG_fail;
12508 
12509 fail:
12510  lua_error(L);
12511  return SWIG_arg;
12512 }
12513 
12514 
12515 static int _wrap_new_NetworkPermissionException(lua_State* L) {
12516  int argc;
12517  int argv[6]={
12518  1,2,3,4,5,6
12519  };
12520 
12521  argc = lua_gettop(L);
12522  if (argc == 4) {
12523  int _v;
12524  {
12525  _v = lua_isstring(L,argv[0]);
12526  }
12527  if (_v) {
12528  {
12529  _v = lua_isstring(L,argv[1]);
12530  }
12531  if (_v) {
12532  {
12533  _v = lua_isstring(L,argv[2]);
12534  }
12535  if (_v) {
12536  {
12537  _v = lua_isnumber(L,argv[3]);
12538  }
12539  if (_v) {
12540  return _wrap_new_NetworkPermissionException__SWIG_1(L);
12541  }
12542  }
12543  }
12544  }
12545  }
12546  if (argc == 5) {
12547  int _v;
12548  {
12549  _v = lua_isstring(L,argv[0]);
12550  }
12551  if (_v) {
12552  {
12553  _v = lua_isstring(L,argv[1]);
12554  }
12555  if (_v) {
12556  {
12557  _v = lua_isstring(L,argv[2]);
12558  }
12559  if (_v) {
12560  {
12561  _v = lua_isstring(L,argv[3]);
12562  }
12563  if (_v) {
12564  {
12565  _v = lua_isnumber(L,argv[4]);
12566  }
12567  if (_v) {
12568  return _wrap_new_NetworkPermissionException__SWIG_0(L);
12569  }
12570  }
12571  }
12572  }
12573  }
12574  }
12575 
12576  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NetworkPermissionException'\n"
12577  " Possible C/C++ prototypes are:\n"
12578  " Mezzanine::NetworkPermissionException::NetworkPermissionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
12579  " Mezzanine::NetworkPermissionException::NetworkPermissionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
12580  lua_error(L);return 0;
12581 }
12582 
12583 
12584 static int _wrap_NetworkPermissionException_GetExceptionCode(lua_State* L) {
12585  int SWIG_arg = 0;
12587  Mezzanine::Whole result;
12588 
12589  SWIG_check_num_args("Mezzanine::NetworkPermissionException::GetExceptionCode",1,1)
12590  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NetworkPermissionException::GetExceptionCode",1,"Mezzanine::NetworkPermissionException const *");
12591 
12592  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NetworkPermissionException,0))){
12593  SWIG_fail_ptr("NetworkPermissionException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NetworkPermissionException);
12594  }
12595 
12596  result = (Mezzanine::Whole)((Mezzanine::NetworkPermissionException const *)arg1)->GetExceptionCode();
12597  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12598  return SWIG_arg;
12599 
12600  if(0) SWIG_fail;
12601 
12602 fail:
12603  lua_error(L);
12604  return SWIG_arg;
12605 }
12606 
12607 
12608 static void swig_delete_NetworkPermissionException(void *obj) {
12610 delete arg1;
12611 }
12612 static swig_lua_method swig_Mezzanine_NetworkPermissionException_methods[] = {
12613  {"GetExceptionCode", _wrap_NetworkPermissionException_GetExceptionCode},
12614  {0,0}
12615 };
12616 static swig_lua_attribute swig_Mezzanine_NetworkPermissionException_attributes[] = {
12617  {0,0,0}
12618 };
12619 static swig_lua_class *swig_Mezzanine_NetworkPermissionException_bases[] = {0,0};
12620 static const char *swig_Mezzanine_NetworkPermissionException_base_names[] = {"Mezzanine::NetworkException *",0};
12621 static swig_lua_class _wrap_class_Mezzanine_NetworkPermissionException = { "NetworkPermissionException", &SWIGTYPE_p_Mezzanine__NetworkPermissionException,_wrap_new_NetworkPermissionException, swig_delete_NetworkPermissionException, swig_Mezzanine_NetworkPermissionException_methods, swig_Mezzanine_NetworkPermissionException_attributes, swig_Mezzanine_NetworkPermissionException_bases, swig_Mezzanine_NetworkPermissionException_base_names };
12622 
12623 static int _wrap_new_IOWriteException__SWIG_0(lua_State* L) {
12624  int SWIG_arg = 0;
12625  Mezzanine::String *arg1 = 0 ;
12626  Mezzanine::String *arg2 = 0 ;
12627  Mezzanine::String *arg3 = 0 ;
12628  Mezzanine::String *arg4 = 0 ;
12629  Mezzanine::Whole *arg5 = 0 ;
12630  Mezzanine::String temp1 ;
12631  Mezzanine::String temp2 ;
12632  Mezzanine::String temp3 ;
12633  Mezzanine::String temp4 ;
12634  Mezzanine::Whole temp5 ;
12635  Mezzanine::IOWriteException *result = 0 ;
12636 
12637  SWIG_check_num_args("Mezzanine::IOWriteException::IOWriteException",5,5)
12638  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",1,"Mezzanine::String const &");
12639  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",2,"Mezzanine::String const &");
12640  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",3,"Mezzanine::String const &");
12641  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",4,"Mezzanine::String const &");
12642  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",5,"Mezzanine::Whole const &");
12643  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12644  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12645  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12646  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
12647  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
12648  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
12649  result = (Mezzanine::IOWriteException *)new Mezzanine::IOWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
12650  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__IOWriteException,1); SWIG_arg++;
12651  return SWIG_arg;
12652 
12653  if(0) SWIG_fail;
12654 
12655 fail:
12656  lua_error(L);
12657  return SWIG_arg;
12658 }
12659 
12660 
12661 static int _wrap_new_IOWriteException__SWIG_1(lua_State* L) {
12662  int SWIG_arg = 0;
12663  Mezzanine::String *arg1 = 0 ;
12664  Mezzanine::String *arg2 = 0 ;
12665  Mezzanine::String *arg3 = 0 ;
12666  Mezzanine::Whole *arg4 = 0 ;
12667  Mezzanine::String temp1 ;
12668  Mezzanine::String temp2 ;
12669  Mezzanine::String temp3 ;
12670  Mezzanine::Whole temp4 ;
12671  Mezzanine::IOWriteException *result = 0 ;
12672 
12673  SWIG_check_num_args("Mezzanine::IOWriteException::IOWriteException",4,4)
12674  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",1,"Mezzanine::String const &");
12675  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",2,"Mezzanine::String const &");
12676  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",3,"Mezzanine::String const &");
12677  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::IOWriteException::IOWriteException",4,"Mezzanine::Whole const &");
12678  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12679  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12680  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12681  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
12682  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
12683  result = (Mezzanine::IOWriteException *)new Mezzanine::IOWriteException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
12684  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__IOWriteException,1); SWIG_arg++;
12685  return SWIG_arg;
12686 
12687  if(0) SWIG_fail;
12688 
12689 fail:
12690  lua_error(L);
12691  return SWIG_arg;
12692 }
12693 
12694 
12695 static int _wrap_new_IOWriteException(lua_State* L) {
12696  int argc;
12697  int argv[6]={
12698  1,2,3,4,5,6
12699  };
12700 
12701  argc = lua_gettop(L);
12702  if (argc == 4) {
12703  int _v;
12704  {
12705  _v = lua_isstring(L,argv[0]);
12706  }
12707  if (_v) {
12708  {
12709  _v = lua_isstring(L,argv[1]);
12710  }
12711  if (_v) {
12712  {
12713  _v = lua_isstring(L,argv[2]);
12714  }
12715  if (_v) {
12716  {
12717  _v = lua_isnumber(L,argv[3]);
12718  }
12719  if (_v) {
12720  return _wrap_new_IOWriteException__SWIG_1(L);
12721  }
12722  }
12723  }
12724  }
12725  }
12726  if (argc == 5) {
12727  int _v;
12728  {
12729  _v = lua_isstring(L,argv[0]);
12730  }
12731  if (_v) {
12732  {
12733  _v = lua_isstring(L,argv[1]);
12734  }
12735  if (_v) {
12736  {
12737  _v = lua_isstring(L,argv[2]);
12738  }
12739  if (_v) {
12740  {
12741  _v = lua_isstring(L,argv[3]);
12742  }
12743  if (_v) {
12744  {
12745  _v = lua_isnumber(L,argv[4]);
12746  }
12747  if (_v) {
12748  return _wrap_new_IOWriteException__SWIG_0(L);
12749  }
12750  }
12751  }
12752  }
12753  }
12754  }
12755 
12756  lua_pushstring(L,"Wrong arguments for overloaded function 'new_IOWriteException'\n"
12757  " Possible C/C++ prototypes are:\n"
12758  " Mezzanine::IOWriteException::IOWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
12759  " Mezzanine::IOWriteException::IOWriteException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
12760  lua_error(L);return 0;
12761 }
12762 
12763 
12764 static int _wrap_IOWriteException_GetExceptionCode(lua_State* L) {
12765  int SWIG_arg = 0;
12767  Mezzanine::Whole result;
12768 
12769  SWIG_check_num_args("Mezzanine::IOWriteException::GetExceptionCode",1,1)
12770  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::IOWriteException::GetExceptionCode",1,"Mezzanine::IOWriteException const *");
12771 
12772  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__IOWriteException,0))){
12773  SWIG_fail_ptr("IOWriteException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__IOWriteException);
12774  }
12775 
12776  result = (Mezzanine::Whole)((Mezzanine::IOWriteException const *)arg1)->GetExceptionCode();
12777  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12778  return SWIG_arg;
12779 
12780  if(0) SWIG_fail;
12781 
12782 fail:
12783  lua_error(L);
12784  return SWIG_arg;
12785 }
12786 
12787 
12788 static void swig_delete_IOWriteException(void *obj) {
12790 delete arg1;
12791 }
12792 static swig_lua_method swig_Mezzanine_IOWriteException_methods[] = {
12793  {"GetExceptionCode", _wrap_IOWriteException_GetExceptionCode},
12794  {0,0}
12795 };
12796 static swig_lua_attribute swig_Mezzanine_IOWriteException_attributes[] = {
12797  {0,0,0}
12798 };
12799 static swig_lua_class *swig_Mezzanine_IOWriteException_bases[] = {0,0};
12800 static const char *swig_Mezzanine_IOWriteException_base_names[] = {"Mezzanine::IOException *",0};
12801 static swig_lua_class _wrap_class_Mezzanine_IOWriteException = { "IOWriteException", &SWIGTYPE_p_Mezzanine__IOWriteException,_wrap_new_IOWriteException, swig_delete_IOWriteException, swig_Mezzanine_IOWriteException_methods, swig_Mezzanine_IOWriteException_attributes, swig_Mezzanine_IOWriteException_bases, swig_Mezzanine_IOWriteException_base_names };
12802 
12803 static int _wrap_new_IOReadException__SWIG_0(lua_State* L) {
12804  int SWIG_arg = 0;
12805  Mezzanine::String *arg1 = 0 ;
12806  Mezzanine::String *arg2 = 0 ;
12807  Mezzanine::String *arg3 = 0 ;
12808  Mezzanine::String *arg4 = 0 ;
12809  Mezzanine::Whole *arg5 = 0 ;
12810  Mezzanine::String temp1 ;
12811  Mezzanine::String temp2 ;
12812  Mezzanine::String temp3 ;
12813  Mezzanine::String temp4 ;
12814  Mezzanine::Whole temp5 ;
12815  Mezzanine::IOReadException *result = 0 ;
12816 
12817  SWIG_check_num_args("Mezzanine::IOReadException::IOReadException",5,5)
12818  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",1,"Mezzanine::String const &");
12819  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",2,"Mezzanine::String const &");
12820  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",3,"Mezzanine::String const &");
12821  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",4,"Mezzanine::String const &");
12822  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",5,"Mezzanine::Whole const &");
12823  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12824  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12825  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12826  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
12827  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
12828  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
12829  result = (Mezzanine::IOReadException *)new Mezzanine::IOReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
12830  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__IOReadException,1); SWIG_arg++;
12831  return SWIG_arg;
12832 
12833  if(0) SWIG_fail;
12834 
12835 fail:
12836  lua_error(L);
12837  return SWIG_arg;
12838 }
12839 
12840 
12841 static int _wrap_new_IOReadException__SWIG_1(lua_State* L) {
12842  int SWIG_arg = 0;
12843  Mezzanine::String *arg1 = 0 ;
12844  Mezzanine::String *arg2 = 0 ;
12845  Mezzanine::String *arg3 = 0 ;
12846  Mezzanine::Whole *arg4 = 0 ;
12847  Mezzanine::String temp1 ;
12848  Mezzanine::String temp2 ;
12849  Mezzanine::String temp3 ;
12850  Mezzanine::Whole temp4 ;
12851  Mezzanine::IOReadException *result = 0 ;
12852 
12853  SWIG_check_num_args("Mezzanine::IOReadException::IOReadException",4,4)
12854  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",1,"Mezzanine::String const &");
12855  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",2,"Mezzanine::String const &");
12856  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",3,"Mezzanine::String const &");
12857  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::IOReadException::IOReadException",4,"Mezzanine::Whole const &");
12858  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
12859  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
12860  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
12861  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
12862  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
12863  result = (Mezzanine::IOReadException *)new Mezzanine::IOReadException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
12864  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__IOReadException,1); SWIG_arg++;
12865  return SWIG_arg;
12866 
12867  if(0) SWIG_fail;
12868 
12869 fail:
12870  lua_error(L);
12871  return SWIG_arg;
12872 }
12873 
12874 
12875 static int _wrap_new_IOReadException(lua_State* L) {
12876  int argc;
12877  int argv[6]={
12878  1,2,3,4,5,6
12879  };
12880 
12881  argc = lua_gettop(L);
12882  if (argc == 4) {
12883  int _v;
12884  {
12885  _v = lua_isstring(L,argv[0]);
12886  }
12887  if (_v) {
12888  {
12889  _v = lua_isstring(L,argv[1]);
12890  }
12891  if (_v) {
12892  {
12893  _v = lua_isstring(L,argv[2]);
12894  }
12895  if (_v) {
12896  {
12897  _v = lua_isnumber(L,argv[3]);
12898  }
12899  if (_v) {
12900  return _wrap_new_IOReadException__SWIG_1(L);
12901  }
12902  }
12903  }
12904  }
12905  }
12906  if (argc == 5) {
12907  int _v;
12908  {
12909  _v = lua_isstring(L,argv[0]);
12910  }
12911  if (_v) {
12912  {
12913  _v = lua_isstring(L,argv[1]);
12914  }
12915  if (_v) {
12916  {
12917  _v = lua_isstring(L,argv[2]);
12918  }
12919  if (_v) {
12920  {
12921  _v = lua_isstring(L,argv[3]);
12922  }
12923  if (_v) {
12924  {
12925  _v = lua_isnumber(L,argv[4]);
12926  }
12927  if (_v) {
12928  return _wrap_new_IOReadException__SWIG_0(L);
12929  }
12930  }
12931  }
12932  }
12933  }
12934  }
12935 
12936  lua_pushstring(L,"Wrong arguments for overloaded function 'new_IOReadException'\n"
12937  " Possible C/C++ prototypes are:\n"
12938  " Mezzanine::IOReadException::IOReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
12939  " Mezzanine::IOReadException::IOReadException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
12940  lua_error(L);return 0;
12941 }
12942 
12943 
12944 static int _wrap_IOReadException_GetExceptionCode(lua_State* L) {
12945  int SWIG_arg = 0;
12947  Mezzanine::Whole result;
12948 
12949  SWIG_check_num_args("Mezzanine::IOReadException::GetExceptionCode",1,1)
12950  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::IOReadException::GetExceptionCode",1,"Mezzanine::IOReadException const *");
12951 
12952  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__IOReadException,0))){
12953  SWIG_fail_ptr("IOReadException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__IOReadException);
12954  }
12955 
12956  result = (Mezzanine::Whole)((Mezzanine::IOReadException const *)arg1)->GetExceptionCode();
12957  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12958  return SWIG_arg;
12959 
12960  if(0) SWIG_fail;
12961 
12962 fail:
12963  lua_error(L);
12964  return SWIG_arg;
12965 }
12966 
12967 
12968 static void swig_delete_IOReadException(void *obj) {
12970 delete arg1;
12971 }
12972 static swig_lua_method swig_Mezzanine_IOReadException_methods[] = {
12973  {"GetExceptionCode", _wrap_IOReadException_GetExceptionCode},
12974  {0,0}
12975 };
12976 static swig_lua_attribute swig_Mezzanine_IOReadException_attributes[] = {
12977  {0,0,0}
12978 };
12979 static swig_lua_class *swig_Mezzanine_IOReadException_bases[] = {0,0};
12980 static const char *swig_Mezzanine_IOReadException_base_names[] = {"Mezzanine::IOException *",0};
12981 static swig_lua_class _wrap_class_Mezzanine_IOReadException = { "IOReadException", &SWIGTYPE_p_Mezzanine__IOReadException,_wrap_new_IOReadException, swig_delete_IOReadException, swig_Mezzanine_IOReadException_methods, swig_Mezzanine_IOReadException_attributes, swig_Mezzanine_IOReadException_bases, swig_Mezzanine_IOReadException_base_names };
12982 
12983 static int _wrap_new_InstanceIdentityException__SWIG_0(lua_State* L) {
12984  int SWIG_arg = 0;
12985  Mezzanine::String *arg1 = 0 ;
12986  Mezzanine::String *arg2 = 0 ;
12987  Mezzanine::String *arg3 = 0 ;
12988  Mezzanine::String *arg4 = 0 ;
12989  Mezzanine::Whole *arg5 = 0 ;
12990  Mezzanine::String temp1 ;
12991  Mezzanine::String temp2 ;
12992  Mezzanine::String temp3 ;
12993  Mezzanine::String temp4 ;
12994  Mezzanine::Whole temp5 ;
12996 
12997  SWIG_check_num_args("Mezzanine::InstanceIdentityException::InstanceIdentityException",5,5)
12998  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",1,"Mezzanine::String const &");
12999  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",2,"Mezzanine::String const &");
13000  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",3,"Mezzanine::String const &");
13001  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",4,"Mezzanine::String const &");
13002  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",5,"Mezzanine::Whole const &");
13003  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13004  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13005  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13006  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
13007  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
13008  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
13009  result = (Mezzanine::InstanceIdentityException *)new Mezzanine::InstanceIdentityException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
13010  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityException,1); SWIG_arg++;
13011  return SWIG_arg;
13012 
13013  if(0) SWIG_fail;
13014 
13015 fail:
13016  lua_error(L);
13017  return SWIG_arg;
13018 }
13019 
13020 
13021 static int _wrap_new_InstanceIdentityException__SWIG_1(lua_State* L) {
13022  int SWIG_arg = 0;
13023  Mezzanine::String *arg1 = 0 ;
13024  Mezzanine::String *arg2 = 0 ;
13025  Mezzanine::String *arg3 = 0 ;
13026  Mezzanine::Whole *arg4 = 0 ;
13027  Mezzanine::String temp1 ;
13028  Mezzanine::String temp2 ;
13029  Mezzanine::String temp3 ;
13030  Mezzanine::Whole temp4 ;
13032 
13033  SWIG_check_num_args("Mezzanine::InstanceIdentityException::InstanceIdentityException",4,4)
13034  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",1,"Mezzanine::String const &");
13035  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",2,"Mezzanine::String const &");
13036  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",3,"Mezzanine::String const &");
13037  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::InstanceIdentityException",4,"Mezzanine::Whole const &");
13038  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13039  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13040  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13041  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
13042  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
13043  result = (Mezzanine::InstanceIdentityException *)new Mezzanine::InstanceIdentityException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
13044  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityException,1); SWIG_arg++;
13045  return SWIG_arg;
13046 
13047  if(0) SWIG_fail;
13048 
13049 fail:
13050  lua_error(L);
13051  return SWIG_arg;
13052 }
13053 
13054 
13055 static int _wrap_new_InstanceIdentityException(lua_State* L) {
13056  int argc;
13057  int argv[6]={
13058  1,2,3,4,5,6
13059  };
13060 
13061  argc = lua_gettop(L);
13062  if (argc == 4) {
13063  int _v;
13064  {
13065  _v = lua_isstring(L,argv[0]);
13066  }
13067  if (_v) {
13068  {
13069  _v = lua_isstring(L,argv[1]);
13070  }
13071  if (_v) {
13072  {
13073  _v = lua_isstring(L,argv[2]);
13074  }
13075  if (_v) {
13076  {
13077  _v = lua_isnumber(L,argv[3]);
13078  }
13079  if (_v) {
13080  return _wrap_new_InstanceIdentityException__SWIG_1(L);
13081  }
13082  }
13083  }
13084  }
13085  }
13086  if (argc == 5) {
13087  int _v;
13088  {
13089  _v = lua_isstring(L,argv[0]);
13090  }
13091  if (_v) {
13092  {
13093  _v = lua_isstring(L,argv[1]);
13094  }
13095  if (_v) {
13096  {
13097  _v = lua_isstring(L,argv[2]);
13098  }
13099  if (_v) {
13100  {
13101  _v = lua_isstring(L,argv[3]);
13102  }
13103  if (_v) {
13104  {
13105  _v = lua_isnumber(L,argv[4]);
13106  }
13107  if (_v) {
13108  return _wrap_new_InstanceIdentityException__SWIG_0(L);
13109  }
13110  }
13111  }
13112  }
13113  }
13114  }
13115 
13116  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InstanceIdentityException'\n"
13117  " Possible C/C++ prototypes are:\n"
13118  " Mezzanine::InstanceIdentityException::InstanceIdentityException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
13119  " Mezzanine::InstanceIdentityException::InstanceIdentityException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
13120  lua_error(L);return 0;
13121 }
13122 
13123 
13124 static int _wrap_InstanceIdentityException_GetExceptionCode(lua_State* L) {
13125  int SWIG_arg = 0;
13127  Mezzanine::Whole result;
13128 
13129  SWIG_check_num_args("Mezzanine::InstanceIdentityException::GetExceptionCode",1,1)
13130  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityException::GetExceptionCode",1,"Mezzanine::InstanceIdentityException const *");
13131 
13132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InstanceIdentityException,0))){
13133  SWIG_fail_ptr("InstanceIdentityException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InstanceIdentityException);
13134  }
13135 
13136  result = (Mezzanine::Whole)((Mezzanine::InstanceIdentityException const *)arg1)->GetExceptionCode();
13137  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13138  return SWIG_arg;
13139 
13140  if(0) SWIG_fail;
13141 
13142 fail:
13143  lua_error(L);
13144  return SWIG_arg;
13145 }
13146 
13147 
13148 static void swig_delete_InstanceIdentityException(void *obj) {
13150 delete arg1;
13151 }
13152 static swig_lua_method swig_Mezzanine_InstanceIdentityException_methods[] = {
13153  {"GetExceptionCode", _wrap_InstanceIdentityException_GetExceptionCode},
13154  {0,0}
13155 };
13156 static swig_lua_attribute swig_Mezzanine_InstanceIdentityException_attributes[] = {
13157  {0,0,0}
13158 };
13159 static swig_lua_class *swig_Mezzanine_InstanceIdentityException_bases[] = {0,0};
13160 static const char *swig_Mezzanine_InstanceIdentityException_base_names[] = {"Mezzanine::Exception *",0};
13161 static swig_lua_class _wrap_class_Mezzanine_InstanceIdentityException = { "InstanceIdentityException", &SWIGTYPE_p_Mezzanine__InstanceIdentityException,_wrap_new_InstanceIdentityException, swig_delete_InstanceIdentityException, swig_Mezzanine_InstanceIdentityException_methods, swig_Mezzanine_InstanceIdentityException_attributes, swig_Mezzanine_InstanceIdentityException_bases, swig_Mezzanine_InstanceIdentityException_base_names };
13162 
13163 static int _wrap_new_InstanceIdentityInvalidException__SWIG_0(lua_State* L) {
13164  int SWIG_arg = 0;
13165  Mezzanine::String *arg1 = 0 ;
13166  Mezzanine::String *arg2 = 0 ;
13167  Mezzanine::String *arg3 = 0 ;
13168  Mezzanine::String *arg4 = 0 ;
13169  Mezzanine::Whole *arg5 = 0 ;
13170  Mezzanine::String temp1 ;
13171  Mezzanine::String temp2 ;
13172  Mezzanine::String temp3 ;
13173  Mezzanine::String temp4 ;
13174  Mezzanine::Whole temp5 ;
13176 
13177  SWIG_check_num_args("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",5,5)
13178  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",1,"Mezzanine::String const &");
13179  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",2,"Mezzanine::String const &");
13180  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",3,"Mezzanine::String const &");
13181  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",4,"Mezzanine::String const &");
13182  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",5,"Mezzanine::Whole const &");
13183  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13184  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13185  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13186  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
13187  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
13188  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
13189  result = (Mezzanine::InstanceIdentityInvalidException *)new Mezzanine::InstanceIdentityInvalidException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
13190  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityInvalidException,1); SWIG_arg++;
13191  return SWIG_arg;
13192 
13193  if(0) SWIG_fail;
13194 
13195 fail:
13196  lua_error(L);
13197  return SWIG_arg;
13198 }
13199 
13200 
13201 static int _wrap_new_InstanceIdentityInvalidException__SWIG_1(lua_State* L) {
13202  int SWIG_arg = 0;
13203  Mezzanine::String *arg1 = 0 ;
13204  Mezzanine::String *arg2 = 0 ;
13205  Mezzanine::String *arg3 = 0 ;
13206  Mezzanine::Whole *arg4 = 0 ;
13207  Mezzanine::String temp1 ;
13208  Mezzanine::String temp2 ;
13209  Mezzanine::String temp3 ;
13210  Mezzanine::Whole temp4 ;
13212 
13213  SWIG_check_num_args("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",4,4)
13214  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",1,"Mezzanine::String const &");
13215  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",2,"Mezzanine::String const &");
13216  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",3,"Mezzanine::String const &");
13217  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException",4,"Mezzanine::Whole const &");
13218  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13219  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13220  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13221  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
13222  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
13223  result = (Mezzanine::InstanceIdentityInvalidException *)new Mezzanine::InstanceIdentityInvalidException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
13224  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityInvalidException,1); SWIG_arg++;
13225  return SWIG_arg;
13226 
13227  if(0) SWIG_fail;
13228 
13229 fail:
13230  lua_error(L);
13231  return SWIG_arg;
13232 }
13233 
13234 
13235 static int _wrap_new_InstanceIdentityInvalidException(lua_State* L) {
13236  int argc;
13237  int argv[6]={
13238  1,2,3,4,5,6
13239  };
13240 
13241  argc = lua_gettop(L);
13242  if (argc == 4) {
13243  int _v;
13244  {
13245  _v = lua_isstring(L,argv[0]);
13246  }
13247  if (_v) {
13248  {
13249  _v = lua_isstring(L,argv[1]);
13250  }
13251  if (_v) {
13252  {
13253  _v = lua_isstring(L,argv[2]);
13254  }
13255  if (_v) {
13256  {
13257  _v = lua_isnumber(L,argv[3]);
13258  }
13259  if (_v) {
13260  return _wrap_new_InstanceIdentityInvalidException__SWIG_1(L);
13261  }
13262  }
13263  }
13264  }
13265  }
13266  if (argc == 5) {
13267  int _v;
13268  {
13269  _v = lua_isstring(L,argv[0]);
13270  }
13271  if (_v) {
13272  {
13273  _v = lua_isstring(L,argv[1]);
13274  }
13275  if (_v) {
13276  {
13277  _v = lua_isstring(L,argv[2]);
13278  }
13279  if (_v) {
13280  {
13281  _v = lua_isstring(L,argv[3]);
13282  }
13283  if (_v) {
13284  {
13285  _v = lua_isnumber(L,argv[4]);
13286  }
13287  if (_v) {
13288  return _wrap_new_InstanceIdentityInvalidException__SWIG_0(L);
13289  }
13290  }
13291  }
13292  }
13293  }
13294  }
13295 
13296  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InstanceIdentityInvalidException'\n"
13297  " Possible C/C++ prototypes are:\n"
13298  " Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
13299  " Mezzanine::InstanceIdentityInvalidException::InstanceIdentityInvalidException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
13300  lua_error(L);return 0;
13301 }
13302 
13303 
13304 static int _wrap_InstanceIdentityInvalidException_GetExceptionCode(lua_State* L) {
13305  int SWIG_arg = 0;
13307  Mezzanine::Whole result;
13308 
13309  SWIG_check_num_args("Mezzanine::InstanceIdentityInvalidException::GetExceptionCode",1,1)
13310  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityInvalidException::GetExceptionCode",1,"Mezzanine::InstanceIdentityInvalidException const *");
13311 
13312  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InstanceIdentityInvalidException,0))){
13313  SWIG_fail_ptr("InstanceIdentityInvalidException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InstanceIdentityInvalidException);
13314  }
13315 
13316  result = (Mezzanine::Whole)((Mezzanine::InstanceIdentityInvalidException const *)arg1)->GetExceptionCode();
13317  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13318  return SWIG_arg;
13319 
13320  if(0) SWIG_fail;
13321 
13322 fail:
13323  lua_error(L);
13324  return SWIG_arg;
13325 }
13326 
13327 
13328 static void swig_delete_InstanceIdentityInvalidException(void *obj) {
13330 delete arg1;
13331 }
13332 static swig_lua_method swig_Mezzanine_InstanceIdentityInvalidException_methods[] = {
13333  {"GetExceptionCode", _wrap_InstanceIdentityInvalidException_GetExceptionCode},
13334  {0,0}
13335 };
13336 static swig_lua_attribute swig_Mezzanine_InstanceIdentityInvalidException_attributes[] = {
13337  {0,0,0}
13338 };
13339 static swig_lua_class *swig_Mezzanine_InstanceIdentityInvalidException_bases[] = {0,0};
13340 static const char *swig_Mezzanine_InstanceIdentityInvalidException_base_names[] = {"Mezzanine::InstanceIdentityException *",0};
13341 static swig_lua_class _wrap_class_Mezzanine_InstanceIdentityInvalidException = { "InstanceIdentityInvalidException", &SWIGTYPE_p_Mezzanine__InstanceIdentityInvalidException,_wrap_new_InstanceIdentityInvalidException, swig_delete_InstanceIdentityInvalidException, swig_Mezzanine_InstanceIdentityInvalidException_methods, swig_Mezzanine_InstanceIdentityInvalidException_attributes, swig_Mezzanine_InstanceIdentityInvalidException_bases, swig_Mezzanine_InstanceIdentityInvalidException_base_names };
13342 
13343 static int _wrap_new_InstanceIdentityNotFoundException__SWIG_0(lua_State* L) {
13344  int SWIG_arg = 0;
13345  Mezzanine::String *arg1 = 0 ;
13346  Mezzanine::String *arg2 = 0 ;
13347  Mezzanine::String *arg3 = 0 ;
13348  Mezzanine::String *arg4 = 0 ;
13349  Mezzanine::Whole *arg5 = 0 ;
13350  Mezzanine::String temp1 ;
13351  Mezzanine::String temp2 ;
13352  Mezzanine::String temp3 ;
13353  Mezzanine::String temp4 ;
13354  Mezzanine::Whole temp5 ;
13356 
13357  SWIG_check_num_args("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",5,5)
13358  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",1,"Mezzanine::String const &");
13359  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",2,"Mezzanine::String const &");
13360  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",3,"Mezzanine::String const &");
13361  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",4,"Mezzanine::String const &");
13362  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",5,"Mezzanine::Whole const &");
13363  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13364  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13365  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13366  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
13367  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
13368  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
13369  result = (Mezzanine::InstanceIdentityNotFoundException *)new Mezzanine::InstanceIdentityNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
13370  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityNotFoundException,1); SWIG_arg++;
13371  return SWIG_arg;
13372 
13373  if(0) SWIG_fail;
13374 
13375 fail:
13376  lua_error(L);
13377  return SWIG_arg;
13378 }
13379 
13380 
13381 static int _wrap_new_InstanceIdentityNotFoundException__SWIG_1(lua_State* L) {
13382  int SWIG_arg = 0;
13383  Mezzanine::String *arg1 = 0 ;
13384  Mezzanine::String *arg2 = 0 ;
13385  Mezzanine::String *arg3 = 0 ;
13386  Mezzanine::Whole *arg4 = 0 ;
13387  Mezzanine::String temp1 ;
13388  Mezzanine::String temp2 ;
13389  Mezzanine::String temp3 ;
13390  Mezzanine::Whole temp4 ;
13392 
13393  SWIG_check_num_args("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",4,4)
13394  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",1,"Mezzanine::String const &");
13395  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",2,"Mezzanine::String const &");
13396  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",3,"Mezzanine::String const &");
13397  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException",4,"Mezzanine::Whole const &");
13398  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13399  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13400  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13401  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
13402  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
13403  result = (Mezzanine::InstanceIdentityNotFoundException *)new Mezzanine::InstanceIdentityNotFoundException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
13404  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityNotFoundException,1); SWIG_arg++;
13405  return SWIG_arg;
13406 
13407  if(0) SWIG_fail;
13408 
13409 fail:
13410  lua_error(L);
13411  return SWIG_arg;
13412 }
13413 
13414 
13415 static int _wrap_new_InstanceIdentityNotFoundException(lua_State* L) {
13416  int argc;
13417  int argv[6]={
13418  1,2,3,4,5,6
13419  };
13420 
13421  argc = lua_gettop(L);
13422  if (argc == 4) {
13423  int _v;
13424  {
13425  _v = lua_isstring(L,argv[0]);
13426  }
13427  if (_v) {
13428  {
13429  _v = lua_isstring(L,argv[1]);
13430  }
13431  if (_v) {
13432  {
13433  _v = lua_isstring(L,argv[2]);
13434  }
13435  if (_v) {
13436  {
13437  _v = lua_isnumber(L,argv[3]);
13438  }
13439  if (_v) {
13440  return _wrap_new_InstanceIdentityNotFoundException__SWIG_1(L);
13441  }
13442  }
13443  }
13444  }
13445  }
13446  if (argc == 5) {
13447  int _v;
13448  {
13449  _v = lua_isstring(L,argv[0]);
13450  }
13451  if (_v) {
13452  {
13453  _v = lua_isstring(L,argv[1]);
13454  }
13455  if (_v) {
13456  {
13457  _v = lua_isstring(L,argv[2]);
13458  }
13459  if (_v) {
13460  {
13461  _v = lua_isstring(L,argv[3]);
13462  }
13463  if (_v) {
13464  {
13465  _v = lua_isnumber(L,argv[4]);
13466  }
13467  if (_v) {
13468  return _wrap_new_InstanceIdentityNotFoundException__SWIG_0(L);
13469  }
13470  }
13471  }
13472  }
13473  }
13474  }
13475 
13476  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InstanceIdentityNotFoundException'\n"
13477  " Possible C/C++ prototypes are:\n"
13478  " Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
13479  " Mezzanine::InstanceIdentityNotFoundException::InstanceIdentityNotFoundException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
13480  lua_error(L);return 0;
13481 }
13482 
13483 
13484 static int _wrap_InstanceIdentityNotFoundException_GetExceptionCode(lua_State* L) {
13485  int SWIG_arg = 0;
13487  Mezzanine::Whole result;
13488 
13489  SWIG_check_num_args("Mezzanine::InstanceIdentityNotFoundException::GetExceptionCode",1,1)
13490  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityNotFoundException::GetExceptionCode",1,"Mezzanine::InstanceIdentityNotFoundException const *");
13491 
13492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InstanceIdentityNotFoundException,0))){
13493  SWIG_fail_ptr("InstanceIdentityNotFoundException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InstanceIdentityNotFoundException);
13494  }
13495 
13496  result = (Mezzanine::Whole)((Mezzanine::InstanceIdentityNotFoundException const *)arg1)->GetExceptionCode();
13497  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13498  return SWIG_arg;
13499 
13500  if(0) SWIG_fail;
13501 
13502 fail:
13503  lua_error(L);
13504  return SWIG_arg;
13505 }
13506 
13507 
13508 static void swig_delete_InstanceIdentityNotFoundException(void *obj) {
13510 delete arg1;
13511 }
13512 static swig_lua_method swig_Mezzanine_InstanceIdentityNotFoundException_methods[] = {
13513  {"GetExceptionCode", _wrap_InstanceIdentityNotFoundException_GetExceptionCode},
13514  {0,0}
13515 };
13516 static swig_lua_attribute swig_Mezzanine_InstanceIdentityNotFoundException_attributes[] = {
13517  {0,0,0}
13518 };
13519 static swig_lua_class *swig_Mezzanine_InstanceIdentityNotFoundException_bases[] = {0,0};
13520 static const char *swig_Mezzanine_InstanceIdentityNotFoundException_base_names[] = {"Mezzanine::InstanceIdentityException *",0};
13521 static swig_lua_class _wrap_class_Mezzanine_InstanceIdentityNotFoundException = { "InstanceIdentityNotFoundException", &SWIGTYPE_p_Mezzanine__InstanceIdentityNotFoundException,_wrap_new_InstanceIdentityNotFoundException, swig_delete_InstanceIdentityNotFoundException, swig_Mezzanine_InstanceIdentityNotFoundException_methods, swig_Mezzanine_InstanceIdentityNotFoundException_attributes, swig_Mezzanine_InstanceIdentityNotFoundException_bases, swig_Mezzanine_InstanceIdentityNotFoundException_base_names };
13522 
13523 static int _wrap_new_InstanceIdentityDuplicateException__SWIG_0(lua_State* L) {
13524  int SWIG_arg = 0;
13525  Mezzanine::String *arg1 = 0 ;
13526  Mezzanine::String *arg2 = 0 ;
13527  Mezzanine::String *arg3 = 0 ;
13528  Mezzanine::String *arg4 = 0 ;
13529  Mezzanine::Whole *arg5 = 0 ;
13530  Mezzanine::String temp1 ;
13531  Mezzanine::String temp2 ;
13532  Mezzanine::String temp3 ;
13533  Mezzanine::String temp4 ;
13534  Mezzanine::Whole temp5 ;
13536 
13537  SWIG_check_num_args("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",5,5)
13538  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",1,"Mezzanine::String const &");
13539  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",2,"Mezzanine::String const &");
13540  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",3,"Mezzanine::String const &");
13541  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",4,"Mezzanine::String const &");
13542  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",5,"Mezzanine::Whole const &");
13543  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13544  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13545  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13546  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
13547  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
13548  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
13549  result = (Mezzanine::InstanceIdentityDuplicateException *)new Mezzanine::InstanceIdentityDuplicateException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
13550  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityDuplicateException,1); SWIG_arg++;
13551  return SWIG_arg;
13552 
13553  if(0) SWIG_fail;
13554 
13555 fail:
13556  lua_error(L);
13557  return SWIG_arg;
13558 }
13559 
13560 
13561 static int _wrap_new_InstanceIdentityDuplicateException__SWIG_1(lua_State* L) {
13562  int SWIG_arg = 0;
13563  Mezzanine::String *arg1 = 0 ;
13564  Mezzanine::String *arg2 = 0 ;
13565  Mezzanine::String *arg3 = 0 ;
13566  Mezzanine::Whole *arg4 = 0 ;
13567  Mezzanine::String temp1 ;
13568  Mezzanine::String temp2 ;
13569  Mezzanine::String temp3 ;
13570  Mezzanine::Whole temp4 ;
13572 
13573  SWIG_check_num_args("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",4,4)
13574  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",1,"Mezzanine::String const &");
13575  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",2,"Mezzanine::String const &");
13576  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",3,"Mezzanine::String const &");
13577  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException",4,"Mezzanine::Whole const &");
13578  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13579  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13580  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13581  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
13582  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
13583  result = (Mezzanine::InstanceIdentityDuplicateException *)new Mezzanine::InstanceIdentityDuplicateException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
13584  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InstanceIdentityDuplicateException,1); SWIG_arg++;
13585  return SWIG_arg;
13586 
13587  if(0) SWIG_fail;
13588 
13589 fail:
13590  lua_error(L);
13591  return SWIG_arg;
13592 }
13593 
13594 
13595 static int _wrap_new_InstanceIdentityDuplicateException(lua_State* L) {
13596  int argc;
13597  int argv[6]={
13598  1,2,3,4,5,6
13599  };
13600 
13601  argc = lua_gettop(L);
13602  if (argc == 4) {
13603  int _v;
13604  {
13605  _v = lua_isstring(L,argv[0]);
13606  }
13607  if (_v) {
13608  {
13609  _v = lua_isstring(L,argv[1]);
13610  }
13611  if (_v) {
13612  {
13613  _v = lua_isstring(L,argv[2]);
13614  }
13615  if (_v) {
13616  {
13617  _v = lua_isnumber(L,argv[3]);
13618  }
13619  if (_v) {
13620  return _wrap_new_InstanceIdentityDuplicateException__SWIG_1(L);
13621  }
13622  }
13623  }
13624  }
13625  }
13626  if (argc == 5) {
13627  int _v;
13628  {
13629  _v = lua_isstring(L,argv[0]);
13630  }
13631  if (_v) {
13632  {
13633  _v = lua_isstring(L,argv[1]);
13634  }
13635  if (_v) {
13636  {
13637  _v = lua_isstring(L,argv[2]);
13638  }
13639  if (_v) {
13640  {
13641  _v = lua_isstring(L,argv[3]);
13642  }
13643  if (_v) {
13644  {
13645  _v = lua_isnumber(L,argv[4]);
13646  }
13647  if (_v) {
13648  return _wrap_new_InstanceIdentityDuplicateException__SWIG_0(L);
13649  }
13650  }
13651  }
13652  }
13653  }
13654  }
13655 
13656  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InstanceIdentityDuplicateException'\n"
13657  " Possible C/C++ prototypes are:\n"
13658  " Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
13659  " Mezzanine::InstanceIdentityDuplicateException::InstanceIdentityDuplicateException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
13660  lua_error(L);return 0;
13661 }
13662 
13663 
13664 static int _wrap_InstanceIdentityDuplicateException_GetExceptionCode(lua_State* L) {
13665  int SWIG_arg = 0;
13667  Mezzanine::Whole result;
13668 
13669  SWIG_check_num_args("Mezzanine::InstanceIdentityDuplicateException::GetExceptionCode",1,1)
13670  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InstanceIdentityDuplicateException::GetExceptionCode",1,"Mezzanine::InstanceIdentityDuplicateException const *");
13671 
13672  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InstanceIdentityDuplicateException,0))){
13673  SWIG_fail_ptr("InstanceIdentityDuplicateException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InstanceIdentityDuplicateException);
13674  }
13675 
13676  result = (Mezzanine::Whole)((Mezzanine::InstanceIdentityDuplicateException const *)arg1)->GetExceptionCode();
13677  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13678  return SWIG_arg;
13679 
13680  if(0) SWIG_fail;
13681 
13682 fail:
13683  lua_error(L);
13684  return SWIG_arg;
13685 }
13686 
13687 
13688 static void swig_delete_InstanceIdentityDuplicateException(void *obj) {
13690 delete arg1;
13691 }
13692 static swig_lua_method swig_Mezzanine_InstanceIdentityDuplicateException_methods[] = {
13693  {"GetExceptionCode", _wrap_InstanceIdentityDuplicateException_GetExceptionCode},
13694  {0,0}
13695 };
13696 static swig_lua_attribute swig_Mezzanine_InstanceIdentityDuplicateException_attributes[] = {
13697  {0,0,0}
13698 };
13699 static swig_lua_class *swig_Mezzanine_InstanceIdentityDuplicateException_bases[] = {0,0};
13700 static const char *swig_Mezzanine_InstanceIdentityDuplicateException_base_names[] = {"Mezzanine::InstanceIdentityException *",0};
13701 static swig_lua_class _wrap_class_Mezzanine_InstanceIdentityDuplicateException = { "InstanceIdentityDuplicateException", &SWIGTYPE_p_Mezzanine__InstanceIdentityDuplicateException,_wrap_new_InstanceIdentityDuplicateException, swig_delete_InstanceIdentityDuplicateException, swig_Mezzanine_InstanceIdentityDuplicateException_methods, swig_Mezzanine_InstanceIdentityDuplicateException_attributes, swig_Mezzanine_InstanceIdentityDuplicateException_bases, swig_Mezzanine_InstanceIdentityDuplicateException_base_names };
13702 
13703 static int _wrap_new_MemoryManagementException__SWIG_0(lua_State* L) {
13704  int SWIG_arg = 0;
13705  Mezzanine::String *arg1 = 0 ;
13706  Mezzanine::String *arg2 = 0 ;
13707  Mezzanine::String *arg3 = 0 ;
13708  Mezzanine::String *arg4 = 0 ;
13709  Mezzanine::Whole *arg5 = 0 ;
13710  Mezzanine::String temp1 ;
13711  Mezzanine::String temp2 ;
13712  Mezzanine::String temp3 ;
13713  Mezzanine::String temp4 ;
13714  Mezzanine::Whole temp5 ;
13716 
13717  SWIG_check_num_args("Mezzanine::MemoryManagementException::MemoryManagementException",5,5)
13718  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",1,"Mezzanine::String const &");
13719  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",2,"Mezzanine::String const &");
13720  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",3,"Mezzanine::String const &");
13721  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",4,"Mezzanine::String const &");
13722  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",5,"Mezzanine::Whole const &");
13723  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13724  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13725  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13726  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
13727  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
13728  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
13729  result = (Mezzanine::MemoryManagementException *)new Mezzanine::MemoryManagementException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
13730  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__MemoryManagementException,1); SWIG_arg++;
13731  return SWIG_arg;
13732 
13733  if(0) SWIG_fail;
13734 
13735 fail:
13736  lua_error(L);
13737  return SWIG_arg;
13738 }
13739 
13740 
13741 static int _wrap_new_MemoryManagementException__SWIG_1(lua_State* L) {
13742  int SWIG_arg = 0;
13743  Mezzanine::String *arg1 = 0 ;
13744  Mezzanine::String *arg2 = 0 ;
13745  Mezzanine::String *arg3 = 0 ;
13746  Mezzanine::Whole *arg4 = 0 ;
13747  Mezzanine::String temp1 ;
13748  Mezzanine::String temp2 ;
13749  Mezzanine::String temp3 ;
13750  Mezzanine::Whole temp4 ;
13752 
13753  SWIG_check_num_args("Mezzanine::MemoryManagementException::MemoryManagementException",4,4)
13754  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",1,"Mezzanine::String const &");
13755  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",2,"Mezzanine::String const &");
13756  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",3,"Mezzanine::String const &");
13757  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::MemoryManagementException::MemoryManagementException",4,"Mezzanine::Whole const &");
13758  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13759  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13760  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13761  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
13762  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
13763  result = (Mezzanine::MemoryManagementException *)new Mezzanine::MemoryManagementException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
13764  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__MemoryManagementException,1); SWIG_arg++;
13765  return SWIG_arg;
13766 
13767  if(0) SWIG_fail;
13768 
13769 fail:
13770  lua_error(L);
13771  return SWIG_arg;
13772 }
13773 
13774 
13775 static int _wrap_new_MemoryManagementException(lua_State* L) {
13776  int argc;
13777  int argv[6]={
13778  1,2,3,4,5,6
13779  };
13780 
13781  argc = lua_gettop(L);
13782  if (argc == 4) {
13783  int _v;
13784  {
13785  _v = lua_isstring(L,argv[0]);
13786  }
13787  if (_v) {
13788  {
13789  _v = lua_isstring(L,argv[1]);
13790  }
13791  if (_v) {
13792  {
13793  _v = lua_isstring(L,argv[2]);
13794  }
13795  if (_v) {
13796  {
13797  _v = lua_isnumber(L,argv[3]);
13798  }
13799  if (_v) {
13800  return _wrap_new_MemoryManagementException__SWIG_1(L);
13801  }
13802  }
13803  }
13804  }
13805  }
13806  if (argc == 5) {
13807  int _v;
13808  {
13809  _v = lua_isstring(L,argv[0]);
13810  }
13811  if (_v) {
13812  {
13813  _v = lua_isstring(L,argv[1]);
13814  }
13815  if (_v) {
13816  {
13817  _v = lua_isstring(L,argv[2]);
13818  }
13819  if (_v) {
13820  {
13821  _v = lua_isstring(L,argv[3]);
13822  }
13823  if (_v) {
13824  {
13825  _v = lua_isnumber(L,argv[4]);
13826  }
13827  if (_v) {
13828  return _wrap_new_MemoryManagementException__SWIG_0(L);
13829  }
13830  }
13831  }
13832  }
13833  }
13834  }
13835 
13836  lua_pushstring(L,"Wrong arguments for overloaded function 'new_MemoryManagementException'\n"
13837  " Possible C/C++ prototypes are:\n"
13838  " Mezzanine::MemoryManagementException::MemoryManagementException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
13839  " Mezzanine::MemoryManagementException::MemoryManagementException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
13840  lua_error(L);return 0;
13841 }
13842 
13843 
13844 static int _wrap_MemoryManagementException_GetExceptionCode(lua_State* L) {
13845  int SWIG_arg = 0;
13847  Mezzanine::Whole result;
13848 
13849  SWIG_check_num_args("Mezzanine::MemoryManagementException::GetExceptionCode",1,1)
13850  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::MemoryManagementException::GetExceptionCode",1,"Mezzanine::MemoryManagementException const *");
13851 
13852  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__MemoryManagementException,0))){
13853  SWIG_fail_ptr("MemoryManagementException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__MemoryManagementException);
13854  }
13855 
13856  result = (Mezzanine::Whole)((Mezzanine::MemoryManagementException const *)arg1)->GetExceptionCode();
13857  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13858  return SWIG_arg;
13859 
13860  if(0) SWIG_fail;
13861 
13862 fail:
13863  lua_error(L);
13864  return SWIG_arg;
13865 }
13866 
13867 
13868 static void swig_delete_MemoryManagementException(void *obj) {
13870 delete arg1;
13871 }
13872 static swig_lua_method swig_Mezzanine_MemoryManagementException_methods[] = {
13873  {"GetExceptionCode", _wrap_MemoryManagementException_GetExceptionCode},
13874  {0,0}
13875 };
13876 static swig_lua_attribute swig_Mezzanine_MemoryManagementException_attributes[] = {
13877  {0,0,0}
13878 };
13879 static swig_lua_class *swig_Mezzanine_MemoryManagementException_bases[] = {0,0};
13880 static const char *swig_Mezzanine_MemoryManagementException_base_names[] = {"Mezzanine::Exception *",0};
13881 static swig_lua_class _wrap_class_Mezzanine_MemoryManagementException = { "MemoryManagementException", &SWIGTYPE_p_Mezzanine__MemoryManagementException,_wrap_new_MemoryManagementException, swig_delete_MemoryManagementException, swig_Mezzanine_MemoryManagementException_methods, swig_Mezzanine_MemoryManagementException_attributes, swig_Mezzanine_MemoryManagementException_bases, swig_Mezzanine_MemoryManagementException_base_names };
13882 
13883 static int _wrap_new_OutOfMemoryException__SWIG_0(lua_State* L) {
13884  int SWIG_arg = 0;
13885  Mezzanine::String *arg1 = 0 ;
13886  Mezzanine::String *arg2 = 0 ;
13887  Mezzanine::String *arg3 = 0 ;
13888  Mezzanine::String *arg4 = 0 ;
13889  Mezzanine::Whole *arg5 = 0 ;
13890  Mezzanine::String temp1 ;
13891  Mezzanine::String temp2 ;
13892  Mezzanine::String temp3 ;
13893  Mezzanine::String temp4 ;
13894  Mezzanine::Whole temp5 ;
13895  Mezzanine::OutOfMemoryException *result = 0 ;
13896 
13897  SWIG_check_num_args("Mezzanine::OutOfMemoryException::OutOfMemoryException",5,5)
13898  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",1,"Mezzanine::String const &");
13899  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",2,"Mezzanine::String const &");
13900  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",3,"Mezzanine::String const &");
13901  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",4,"Mezzanine::String const &");
13902  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",5,"Mezzanine::Whole const &");
13903  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13904  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13905  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13906  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
13907  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
13908  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
13909  result = (Mezzanine::OutOfMemoryException *)new Mezzanine::OutOfMemoryException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
13910  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__OutOfMemoryException,1); SWIG_arg++;
13911  return SWIG_arg;
13912 
13913  if(0) SWIG_fail;
13914 
13915 fail:
13916  lua_error(L);
13917  return SWIG_arg;
13918 }
13919 
13920 
13921 static int _wrap_new_OutOfMemoryException__SWIG_1(lua_State* L) {
13922  int SWIG_arg = 0;
13923  Mezzanine::String *arg1 = 0 ;
13924  Mezzanine::String *arg2 = 0 ;
13925  Mezzanine::String *arg3 = 0 ;
13926  Mezzanine::Whole *arg4 = 0 ;
13927  Mezzanine::String temp1 ;
13928  Mezzanine::String temp2 ;
13929  Mezzanine::String temp3 ;
13930  Mezzanine::Whole temp4 ;
13931  Mezzanine::OutOfMemoryException *result = 0 ;
13932 
13933  SWIG_check_num_args("Mezzanine::OutOfMemoryException::OutOfMemoryException",4,4)
13934  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",1,"Mezzanine::String const &");
13935  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",2,"Mezzanine::String const &");
13936  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",3,"Mezzanine::String const &");
13937  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::OutOfMemoryException",4,"Mezzanine::Whole const &");
13938  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
13939  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
13940  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
13941  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
13942  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
13943  result = (Mezzanine::OutOfMemoryException *)new Mezzanine::OutOfMemoryException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
13944  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__OutOfMemoryException,1); SWIG_arg++;
13945  return SWIG_arg;
13946 
13947  if(0) SWIG_fail;
13948 
13949 fail:
13950  lua_error(L);
13951  return SWIG_arg;
13952 }
13953 
13954 
13955 static int _wrap_new_OutOfMemoryException(lua_State* L) {
13956  int argc;
13957  int argv[6]={
13958  1,2,3,4,5,6
13959  };
13960 
13961  argc = lua_gettop(L);
13962  if (argc == 4) {
13963  int _v;
13964  {
13965  _v = lua_isstring(L,argv[0]);
13966  }
13967  if (_v) {
13968  {
13969  _v = lua_isstring(L,argv[1]);
13970  }
13971  if (_v) {
13972  {
13973  _v = lua_isstring(L,argv[2]);
13974  }
13975  if (_v) {
13976  {
13977  _v = lua_isnumber(L,argv[3]);
13978  }
13979  if (_v) {
13980  return _wrap_new_OutOfMemoryException__SWIG_1(L);
13981  }
13982  }
13983  }
13984  }
13985  }
13986  if (argc == 5) {
13987  int _v;
13988  {
13989  _v = lua_isstring(L,argv[0]);
13990  }
13991  if (_v) {
13992  {
13993  _v = lua_isstring(L,argv[1]);
13994  }
13995  if (_v) {
13996  {
13997  _v = lua_isstring(L,argv[2]);
13998  }
13999  if (_v) {
14000  {
14001  _v = lua_isstring(L,argv[3]);
14002  }
14003  if (_v) {
14004  {
14005  _v = lua_isnumber(L,argv[4]);
14006  }
14007  if (_v) {
14008  return _wrap_new_OutOfMemoryException__SWIG_0(L);
14009  }
14010  }
14011  }
14012  }
14013  }
14014  }
14015 
14016  lua_pushstring(L,"Wrong arguments for overloaded function 'new_OutOfMemoryException'\n"
14017  " Possible C/C++ prototypes are:\n"
14018  " Mezzanine::OutOfMemoryException::OutOfMemoryException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
14019  " Mezzanine::OutOfMemoryException::OutOfMemoryException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
14020  lua_error(L);return 0;
14021 }
14022 
14023 
14024 static int _wrap_OutOfMemoryException_GetExceptionCode(lua_State* L) {
14025  int SWIG_arg = 0;
14027  Mezzanine::Whole result;
14028 
14029  SWIG_check_num_args("Mezzanine::OutOfMemoryException::GetExceptionCode",1,1)
14030  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::OutOfMemoryException::GetExceptionCode",1,"Mezzanine::OutOfMemoryException const *");
14031 
14032  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__OutOfMemoryException,0))){
14033  SWIG_fail_ptr("OutOfMemoryException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__OutOfMemoryException);
14034  }
14035 
14036  result = (Mezzanine::Whole)((Mezzanine::OutOfMemoryException const *)arg1)->GetExceptionCode();
14037  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14038  return SWIG_arg;
14039 
14040  if(0) SWIG_fail;
14041 
14042 fail:
14043  lua_error(L);
14044  return SWIG_arg;
14045 }
14046 
14047 
14048 static void swig_delete_OutOfMemoryException(void *obj) {
14050 delete arg1;
14051 }
14052 static swig_lua_method swig_Mezzanine_OutOfMemoryException_methods[] = {
14053  {"GetExceptionCode", _wrap_OutOfMemoryException_GetExceptionCode},
14054  {0,0}
14055 };
14056 static swig_lua_attribute swig_Mezzanine_OutOfMemoryException_attributes[] = {
14057  {0,0,0}
14058 };
14059 static swig_lua_class *swig_Mezzanine_OutOfMemoryException_bases[] = {0,0};
14060 static const char *swig_Mezzanine_OutOfMemoryException_base_names[] = {"Mezzanine::MemoryManagementException *",0};
14061 static swig_lua_class _wrap_class_Mezzanine_OutOfMemoryException = { "OutOfMemoryException", &SWIGTYPE_p_Mezzanine__OutOfMemoryException,_wrap_new_OutOfMemoryException, swig_delete_OutOfMemoryException, swig_Mezzanine_OutOfMemoryException_methods, swig_Mezzanine_OutOfMemoryException_attributes, swig_Mezzanine_OutOfMemoryException_bases, swig_Mezzanine_OutOfMemoryException_base_names };
14062 
14063 static int _wrap_new_MemoryOutOfBoundsException__SWIG_0(lua_State* L) {
14064  int SWIG_arg = 0;
14065  Mezzanine::String *arg1 = 0 ;
14066  Mezzanine::String *arg2 = 0 ;
14067  Mezzanine::String *arg3 = 0 ;
14068  Mezzanine::String *arg4 = 0 ;
14069  Mezzanine::Whole *arg5 = 0 ;
14070  Mezzanine::String temp1 ;
14071  Mezzanine::String temp2 ;
14072  Mezzanine::String temp3 ;
14073  Mezzanine::String temp4 ;
14074  Mezzanine::Whole temp5 ;
14076 
14077  SWIG_check_num_args("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",5,5)
14078  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",1,"Mezzanine::String const &");
14079  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",2,"Mezzanine::String const &");
14080  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",3,"Mezzanine::String const &");
14081  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",4,"Mezzanine::String const &");
14082  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",5,"Mezzanine::Whole const &");
14083  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14084  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14085  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14086  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
14087  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
14088  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
14089  result = (Mezzanine::MemoryOutOfBoundsException *)new Mezzanine::MemoryOutOfBoundsException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
14090  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__MemoryOutOfBoundsException,1); SWIG_arg++;
14091  return SWIG_arg;
14092 
14093  if(0) SWIG_fail;
14094 
14095 fail:
14096  lua_error(L);
14097  return SWIG_arg;
14098 }
14099 
14100 
14101 static int _wrap_new_MemoryOutOfBoundsException__SWIG_1(lua_State* L) {
14102  int SWIG_arg = 0;
14103  Mezzanine::String *arg1 = 0 ;
14104  Mezzanine::String *arg2 = 0 ;
14105  Mezzanine::String *arg3 = 0 ;
14106  Mezzanine::Whole *arg4 = 0 ;
14107  Mezzanine::String temp1 ;
14108  Mezzanine::String temp2 ;
14109  Mezzanine::String temp3 ;
14110  Mezzanine::Whole temp4 ;
14112 
14113  SWIG_check_num_args("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",4,4)
14114  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",1,"Mezzanine::String const &");
14115  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",2,"Mezzanine::String const &");
14116  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",3,"Mezzanine::String const &");
14117  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException",4,"Mezzanine::Whole const &");
14118  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14119  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14120  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14121  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
14122  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
14123  result = (Mezzanine::MemoryOutOfBoundsException *)new Mezzanine::MemoryOutOfBoundsException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
14124  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__MemoryOutOfBoundsException,1); SWIG_arg++;
14125  return SWIG_arg;
14126 
14127  if(0) SWIG_fail;
14128 
14129 fail:
14130  lua_error(L);
14131  return SWIG_arg;
14132 }
14133 
14134 
14135 static int _wrap_new_MemoryOutOfBoundsException(lua_State* L) {
14136  int argc;
14137  int argv[6]={
14138  1,2,3,4,5,6
14139  };
14140 
14141  argc = lua_gettop(L);
14142  if (argc == 4) {
14143  int _v;
14144  {
14145  _v = lua_isstring(L,argv[0]);
14146  }
14147  if (_v) {
14148  {
14149  _v = lua_isstring(L,argv[1]);
14150  }
14151  if (_v) {
14152  {
14153  _v = lua_isstring(L,argv[2]);
14154  }
14155  if (_v) {
14156  {
14157  _v = lua_isnumber(L,argv[3]);
14158  }
14159  if (_v) {
14160  return _wrap_new_MemoryOutOfBoundsException__SWIG_1(L);
14161  }
14162  }
14163  }
14164  }
14165  }
14166  if (argc == 5) {
14167  int _v;
14168  {
14169  _v = lua_isstring(L,argv[0]);
14170  }
14171  if (_v) {
14172  {
14173  _v = lua_isstring(L,argv[1]);
14174  }
14175  if (_v) {
14176  {
14177  _v = lua_isstring(L,argv[2]);
14178  }
14179  if (_v) {
14180  {
14181  _v = lua_isstring(L,argv[3]);
14182  }
14183  if (_v) {
14184  {
14185  _v = lua_isnumber(L,argv[4]);
14186  }
14187  if (_v) {
14188  return _wrap_new_MemoryOutOfBoundsException__SWIG_0(L);
14189  }
14190  }
14191  }
14192  }
14193  }
14194  }
14195 
14196  lua_pushstring(L,"Wrong arguments for overloaded function 'new_MemoryOutOfBoundsException'\n"
14197  " Possible C/C++ prototypes are:\n"
14198  " Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
14199  " Mezzanine::MemoryOutOfBoundsException::MemoryOutOfBoundsException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
14200  lua_error(L);return 0;
14201 }
14202 
14203 
14204 static int _wrap_MemoryOutOfBoundsException_GetExceptionCode(lua_State* L) {
14205  int SWIG_arg = 0;
14207  Mezzanine::Whole result;
14208 
14209  SWIG_check_num_args("Mezzanine::MemoryOutOfBoundsException::GetExceptionCode",1,1)
14210  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::MemoryOutOfBoundsException::GetExceptionCode",1,"Mezzanine::MemoryOutOfBoundsException const *");
14211 
14212  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__MemoryOutOfBoundsException,0))){
14213  SWIG_fail_ptr("MemoryOutOfBoundsException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__MemoryOutOfBoundsException);
14214  }
14215 
14216  result = (Mezzanine::Whole)((Mezzanine::MemoryOutOfBoundsException const *)arg1)->GetExceptionCode();
14217  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14218  return SWIG_arg;
14219 
14220  if(0) SWIG_fail;
14221 
14222 fail:
14223  lua_error(L);
14224  return SWIG_arg;
14225 }
14226 
14227 
14228 static void swig_delete_MemoryOutOfBoundsException(void *obj) {
14230 delete arg1;
14231 }
14232 static swig_lua_method swig_Mezzanine_MemoryOutOfBoundsException_methods[] = {
14233  {"GetExceptionCode", _wrap_MemoryOutOfBoundsException_GetExceptionCode},
14234  {0,0}
14235 };
14236 static swig_lua_attribute swig_Mezzanine_MemoryOutOfBoundsException_attributes[] = {
14237  {0,0,0}
14238 };
14239 static swig_lua_class *swig_Mezzanine_MemoryOutOfBoundsException_bases[] = {0,0};
14240 static const char *swig_Mezzanine_MemoryOutOfBoundsException_base_names[] = {"Mezzanine::MemoryManagementException *",0};
14241 static swig_lua_class _wrap_class_Mezzanine_MemoryOutOfBoundsException = { "MemoryOutOfBoundsException", &SWIGTYPE_p_Mezzanine__MemoryOutOfBoundsException,_wrap_new_MemoryOutOfBoundsException, swig_delete_MemoryOutOfBoundsException, swig_Mezzanine_MemoryOutOfBoundsException_methods, swig_Mezzanine_MemoryOutOfBoundsException_attributes, swig_Mezzanine_MemoryOutOfBoundsException_bases, swig_Mezzanine_MemoryOutOfBoundsException_base_names };
14242 
14243 static int _wrap_new_SyntaxErrorException__SWIG_0(lua_State* L) {
14244  int SWIG_arg = 0;
14245  Mezzanine::String *arg1 = 0 ;
14246  Mezzanine::String *arg2 = 0 ;
14247  Mezzanine::String *arg3 = 0 ;
14248  Mezzanine::String *arg4 = 0 ;
14249  Mezzanine::Whole *arg5 = 0 ;
14250  Mezzanine::String temp1 ;
14251  Mezzanine::String temp2 ;
14252  Mezzanine::String temp3 ;
14253  Mezzanine::String temp4 ;
14254  Mezzanine::Whole temp5 ;
14255  Mezzanine::SyntaxErrorException *result = 0 ;
14256 
14257  SWIG_check_num_args("Mezzanine::SyntaxErrorException::SyntaxErrorException",5,5)
14258  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",1,"Mezzanine::String const &");
14259  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",2,"Mezzanine::String const &");
14260  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",3,"Mezzanine::String const &");
14261  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",4,"Mezzanine::String const &");
14262  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",5,"Mezzanine::Whole const &");
14263  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14264  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14265  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14266  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
14267  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
14268  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
14269  result = (Mezzanine::SyntaxErrorException *)new Mezzanine::SyntaxErrorException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
14270  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorException,1); SWIG_arg++;
14271  return SWIG_arg;
14272 
14273  if(0) SWIG_fail;
14274 
14275 fail:
14276  lua_error(L);
14277  return SWIG_arg;
14278 }
14279 
14280 
14281 static int _wrap_new_SyntaxErrorException__SWIG_1(lua_State* L) {
14282  int SWIG_arg = 0;
14283  Mezzanine::String *arg1 = 0 ;
14284  Mezzanine::String *arg2 = 0 ;
14285  Mezzanine::String *arg3 = 0 ;
14286  Mezzanine::Whole *arg4 = 0 ;
14287  Mezzanine::String temp1 ;
14288  Mezzanine::String temp2 ;
14289  Mezzanine::String temp3 ;
14290  Mezzanine::Whole temp4 ;
14291  Mezzanine::SyntaxErrorException *result = 0 ;
14292 
14293  SWIG_check_num_args("Mezzanine::SyntaxErrorException::SyntaxErrorException",4,4)
14294  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",1,"Mezzanine::String const &");
14295  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",2,"Mezzanine::String const &");
14296  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",3,"Mezzanine::String const &");
14297  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::SyntaxErrorException",4,"Mezzanine::Whole const &");
14298  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14299  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14300  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14301  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
14302  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
14303  result = (Mezzanine::SyntaxErrorException *)new Mezzanine::SyntaxErrorException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
14304  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorException,1); SWIG_arg++;
14305  return SWIG_arg;
14306 
14307  if(0) SWIG_fail;
14308 
14309 fail:
14310  lua_error(L);
14311  return SWIG_arg;
14312 }
14313 
14314 
14315 static int _wrap_new_SyntaxErrorException(lua_State* L) {
14316  int argc;
14317  int argv[6]={
14318  1,2,3,4,5,6
14319  };
14320 
14321  argc = lua_gettop(L);
14322  if (argc == 4) {
14323  int _v;
14324  {
14325  _v = lua_isstring(L,argv[0]);
14326  }
14327  if (_v) {
14328  {
14329  _v = lua_isstring(L,argv[1]);
14330  }
14331  if (_v) {
14332  {
14333  _v = lua_isstring(L,argv[2]);
14334  }
14335  if (_v) {
14336  {
14337  _v = lua_isnumber(L,argv[3]);
14338  }
14339  if (_v) {
14340  return _wrap_new_SyntaxErrorException__SWIG_1(L);
14341  }
14342  }
14343  }
14344  }
14345  }
14346  if (argc == 5) {
14347  int _v;
14348  {
14349  _v = lua_isstring(L,argv[0]);
14350  }
14351  if (_v) {
14352  {
14353  _v = lua_isstring(L,argv[1]);
14354  }
14355  if (_v) {
14356  {
14357  _v = lua_isstring(L,argv[2]);
14358  }
14359  if (_v) {
14360  {
14361  _v = lua_isstring(L,argv[3]);
14362  }
14363  if (_v) {
14364  {
14365  _v = lua_isnumber(L,argv[4]);
14366  }
14367  if (_v) {
14368  return _wrap_new_SyntaxErrorException__SWIG_0(L);
14369  }
14370  }
14371  }
14372  }
14373  }
14374  }
14375 
14376  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SyntaxErrorException'\n"
14377  " Possible C/C++ prototypes are:\n"
14378  " Mezzanine::SyntaxErrorException::SyntaxErrorException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
14379  " Mezzanine::SyntaxErrorException::SyntaxErrorException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
14380  lua_error(L);return 0;
14381 }
14382 
14383 
14384 static int _wrap_SyntaxErrorException_GetExceptionCode(lua_State* L) {
14385  int SWIG_arg = 0;
14387  Mezzanine::Whole result;
14388 
14389  SWIG_check_num_args("Mezzanine::SyntaxErrorException::GetExceptionCode",1,1)
14390  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorException::GetExceptionCode",1,"Mezzanine::SyntaxErrorException const *");
14391 
14392  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__SyntaxErrorException,0))){
14393  SWIG_fail_ptr("SyntaxErrorException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__SyntaxErrorException);
14394  }
14395 
14396  result = (Mezzanine::Whole)((Mezzanine::SyntaxErrorException const *)arg1)->GetExceptionCode();
14397  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14398  return SWIG_arg;
14399 
14400  if(0) SWIG_fail;
14401 
14402 fail:
14403  lua_error(L);
14404  return SWIG_arg;
14405 }
14406 
14407 
14408 static void swig_delete_SyntaxErrorException(void *obj) {
14410 delete arg1;
14411 }
14412 static swig_lua_method swig_Mezzanine_SyntaxErrorException_methods[] = {
14413  {"GetExceptionCode", _wrap_SyntaxErrorException_GetExceptionCode},
14414  {0,0}
14415 };
14416 static swig_lua_attribute swig_Mezzanine_SyntaxErrorException_attributes[] = {
14417  {0,0,0}
14418 };
14419 static swig_lua_class *swig_Mezzanine_SyntaxErrorException_bases[] = {0,0};
14420 static const char *swig_Mezzanine_SyntaxErrorException_base_names[] = {"Mezzanine::Exception *",0};
14421 static swig_lua_class _wrap_class_Mezzanine_SyntaxErrorException = { "SyntaxErrorException", &SWIGTYPE_p_Mezzanine__SyntaxErrorException,_wrap_new_SyntaxErrorException, swig_delete_SyntaxErrorException, swig_Mezzanine_SyntaxErrorException_methods, swig_Mezzanine_SyntaxErrorException_attributes, swig_Mezzanine_SyntaxErrorException_bases, swig_Mezzanine_SyntaxErrorException_base_names };
14422 
14423 static int _wrap_new_SyntaxErrorXMLException__SWIG_0(lua_State* L) {
14424  int SWIG_arg = 0;
14425  Mezzanine::String *arg1 = 0 ;
14426  Mezzanine::String *arg2 = 0 ;
14427  Mezzanine::String *arg3 = 0 ;
14428  Mezzanine::String *arg4 = 0 ;
14429  Mezzanine::Whole *arg5 = 0 ;
14430  Mezzanine::String temp1 ;
14431  Mezzanine::String temp2 ;
14432  Mezzanine::String temp3 ;
14433  Mezzanine::String temp4 ;
14434  Mezzanine::Whole temp5 ;
14436 
14437  SWIG_check_num_args("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",5,5)
14438  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",1,"Mezzanine::String const &");
14439  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",2,"Mezzanine::String const &");
14440  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",3,"Mezzanine::String const &");
14441  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",4,"Mezzanine::String const &");
14442  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",5,"Mezzanine::Whole const &");
14443  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14444  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14445  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14446  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
14447  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
14448  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
14449  result = (Mezzanine::SyntaxErrorXMLException *)new Mezzanine::SyntaxErrorXMLException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
14450  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorXMLException,1); SWIG_arg++;
14451  return SWIG_arg;
14452 
14453  if(0) SWIG_fail;
14454 
14455 fail:
14456  lua_error(L);
14457  return SWIG_arg;
14458 }
14459 
14460 
14461 static int _wrap_new_SyntaxErrorXMLException__SWIG_1(lua_State* L) {
14462  int SWIG_arg = 0;
14463  Mezzanine::String *arg1 = 0 ;
14464  Mezzanine::String *arg2 = 0 ;
14465  Mezzanine::String *arg3 = 0 ;
14466  Mezzanine::Whole *arg4 = 0 ;
14467  Mezzanine::String temp1 ;
14468  Mezzanine::String temp2 ;
14469  Mezzanine::String temp3 ;
14470  Mezzanine::Whole temp4 ;
14472 
14473  SWIG_check_num_args("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",4,4)
14474  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",1,"Mezzanine::String const &");
14475  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",2,"Mezzanine::String const &");
14476  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",3,"Mezzanine::String const &");
14477  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException",4,"Mezzanine::Whole const &");
14478  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14479  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14480  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14481  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
14482  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
14483  result = (Mezzanine::SyntaxErrorXMLException *)new Mezzanine::SyntaxErrorXMLException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
14484  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorXMLException,1); SWIG_arg++;
14485  return SWIG_arg;
14486 
14487  if(0) SWIG_fail;
14488 
14489 fail:
14490  lua_error(L);
14491  return SWIG_arg;
14492 }
14493 
14494 
14495 static int _wrap_new_SyntaxErrorXMLException(lua_State* L) {
14496  int argc;
14497  int argv[6]={
14498  1,2,3,4,5,6
14499  };
14500 
14501  argc = lua_gettop(L);
14502  if (argc == 4) {
14503  int _v;
14504  {
14505  _v = lua_isstring(L,argv[0]);
14506  }
14507  if (_v) {
14508  {
14509  _v = lua_isstring(L,argv[1]);
14510  }
14511  if (_v) {
14512  {
14513  _v = lua_isstring(L,argv[2]);
14514  }
14515  if (_v) {
14516  {
14517  _v = lua_isnumber(L,argv[3]);
14518  }
14519  if (_v) {
14520  return _wrap_new_SyntaxErrorXMLException__SWIG_1(L);
14521  }
14522  }
14523  }
14524  }
14525  }
14526  if (argc == 5) {
14527  int _v;
14528  {
14529  _v = lua_isstring(L,argv[0]);
14530  }
14531  if (_v) {
14532  {
14533  _v = lua_isstring(L,argv[1]);
14534  }
14535  if (_v) {
14536  {
14537  _v = lua_isstring(L,argv[2]);
14538  }
14539  if (_v) {
14540  {
14541  _v = lua_isstring(L,argv[3]);
14542  }
14543  if (_v) {
14544  {
14545  _v = lua_isnumber(L,argv[4]);
14546  }
14547  if (_v) {
14548  return _wrap_new_SyntaxErrorXMLException__SWIG_0(L);
14549  }
14550  }
14551  }
14552  }
14553  }
14554  }
14555 
14556  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SyntaxErrorXMLException'\n"
14557  " Possible C/C++ prototypes are:\n"
14558  " Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
14559  " Mezzanine::SyntaxErrorXMLException::SyntaxErrorXMLException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
14560  lua_error(L);return 0;
14561 }
14562 
14563 
14564 static int _wrap_SyntaxErrorXMLException_GetExceptionCode(lua_State* L) {
14565  int SWIG_arg = 0;
14567  Mezzanine::Whole result;
14568 
14569  SWIG_check_num_args("Mezzanine::SyntaxErrorXMLException::GetExceptionCode",1,1)
14570  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorXMLException::GetExceptionCode",1,"Mezzanine::SyntaxErrorXMLException const *");
14571 
14572  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__SyntaxErrorXMLException,0))){
14573  SWIG_fail_ptr("SyntaxErrorXMLException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__SyntaxErrorXMLException);
14574  }
14575 
14576  result = (Mezzanine::Whole)((Mezzanine::SyntaxErrorXMLException const *)arg1)->GetExceptionCode();
14577  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14578  return SWIG_arg;
14579 
14580  if(0) SWIG_fail;
14581 
14582 fail:
14583  lua_error(L);
14584  return SWIG_arg;
14585 }
14586 
14587 
14588 static void swig_delete_SyntaxErrorXMLException(void *obj) {
14590 delete arg1;
14591 }
14592 static swig_lua_method swig_Mezzanine_SyntaxErrorXMLException_methods[] = {
14593  {"GetExceptionCode", _wrap_SyntaxErrorXMLException_GetExceptionCode},
14594  {0,0}
14595 };
14596 static swig_lua_attribute swig_Mezzanine_SyntaxErrorXMLException_attributes[] = {
14597  {0,0,0}
14598 };
14599 static swig_lua_class *swig_Mezzanine_SyntaxErrorXMLException_bases[] = {0,0};
14600 static const char *swig_Mezzanine_SyntaxErrorXMLException_base_names[] = {"Mezzanine::SyntaxErrorException *",0};
14601 static swig_lua_class _wrap_class_Mezzanine_SyntaxErrorXMLException = { "SyntaxErrorXMLException", &SWIGTYPE_p_Mezzanine__SyntaxErrorXMLException,_wrap_new_SyntaxErrorXMLException, swig_delete_SyntaxErrorXMLException, swig_Mezzanine_SyntaxErrorXMLException_methods, swig_Mezzanine_SyntaxErrorXMLException_attributes, swig_Mezzanine_SyntaxErrorXMLException_bases, swig_Mezzanine_SyntaxErrorXMLException_base_names };
14602 
14603 static int _wrap_new_SyntaxErrorXPathException__SWIG_0(lua_State* L) {
14604  int SWIG_arg = 0;
14605  Mezzanine::String *arg1 = 0 ;
14606  Mezzanine::String *arg2 = 0 ;
14607  Mezzanine::String *arg3 = 0 ;
14608  Mezzanine::String *arg4 = 0 ;
14609  Mezzanine::Whole *arg5 = 0 ;
14610  Mezzanine::String temp1 ;
14611  Mezzanine::String temp2 ;
14612  Mezzanine::String temp3 ;
14613  Mezzanine::String temp4 ;
14614  Mezzanine::Whole temp5 ;
14616 
14617  SWIG_check_num_args("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",5,5)
14618  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",1,"Mezzanine::String const &");
14619  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",2,"Mezzanine::String const &");
14620  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",3,"Mezzanine::String const &");
14621  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",4,"Mezzanine::String const &");
14622  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",5,"Mezzanine::Whole const &");
14623  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14624  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14625  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14626  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
14627  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
14628  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
14629  result = (Mezzanine::SyntaxErrorXPathException *)new Mezzanine::SyntaxErrorXPathException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
14630  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorXPathException,1); SWIG_arg++;
14631  return SWIG_arg;
14632 
14633  if(0) SWIG_fail;
14634 
14635 fail:
14636  lua_error(L);
14637  return SWIG_arg;
14638 }
14639 
14640 
14641 static int _wrap_new_SyntaxErrorXPathException__SWIG_1(lua_State* L) {
14642  int SWIG_arg = 0;
14643  Mezzanine::String *arg1 = 0 ;
14644  Mezzanine::String *arg2 = 0 ;
14645  Mezzanine::String *arg3 = 0 ;
14646  Mezzanine::Whole *arg4 = 0 ;
14647  Mezzanine::String temp1 ;
14648  Mezzanine::String temp2 ;
14649  Mezzanine::String temp3 ;
14650  Mezzanine::Whole temp4 ;
14652 
14653  SWIG_check_num_args("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",4,4)
14654  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",1,"Mezzanine::String const &");
14655  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",2,"Mezzanine::String const &");
14656  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",3,"Mezzanine::String const &");
14657  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException",4,"Mezzanine::Whole const &");
14658  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14659  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14660  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14661  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
14662  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
14663  result = (Mezzanine::SyntaxErrorXPathException *)new Mezzanine::SyntaxErrorXPathException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
14664  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorXPathException,1); SWIG_arg++;
14665  return SWIG_arg;
14666 
14667  if(0) SWIG_fail;
14668 
14669 fail:
14670  lua_error(L);
14671  return SWIG_arg;
14672 }
14673 
14674 
14675 static int _wrap_new_SyntaxErrorXPathException(lua_State* L) {
14676  int argc;
14677  int argv[6]={
14678  1,2,3,4,5,6
14679  };
14680 
14681  argc = lua_gettop(L);
14682  if (argc == 4) {
14683  int _v;
14684  {
14685  _v = lua_isstring(L,argv[0]);
14686  }
14687  if (_v) {
14688  {
14689  _v = lua_isstring(L,argv[1]);
14690  }
14691  if (_v) {
14692  {
14693  _v = lua_isstring(L,argv[2]);
14694  }
14695  if (_v) {
14696  {
14697  _v = lua_isnumber(L,argv[3]);
14698  }
14699  if (_v) {
14700  return _wrap_new_SyntaxErrorXPathException__SWIG_1(L);
14701  }
14702  }
14703  }
14704  }
14705  }
14706  if (argc == 5) {
14707  int _v;
14708  {
14709  _v = lua_isstring(L,argv[0]);
14710  }
14711  if (_v) {
14712  {
14713  _v = lua_isstring(L,argv[1]);
14714  }
14715  if (_v) {
14716  {
14717  _v = lua_isstring(L,argv[2]);
14718  }
14719  if (_v) {
14720  {
14721  _v = lua_isstring(L,argv[3]);
14722  }
14723  if (_v) {
14724  {
14725  _v = lua_isnumber(L,argv[4]);
14726  }
14727  if (_v) {
14728  return _wrap_new_SyntaxErrorXPathException__SWIG_0(L);
14729  }
14730  }
14731  }
14732  }
14733  }
14734  }
14735 
14736  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SyntaxErrorXPathException'\n"
14737  " Possible C/C++ prototypes are:\n"
14738  " Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
14739  " Mezzanine::SyntaxErrorXPathException::SyntaxErrorXPathException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
14740  lua_error(L);return 0;
14741 }
14742 
14743 
14744 static int _wrap_SyntaxErrorXPathException_GetExceptionCode(lua_State* L) {
14745  int SWIG_arg = 0;
14747  Mezzanine::Whole result;
14748 
14749  SWIG_check_num_args("Mezzanine::SyntaxErrorXPathException::GetExceptionCode",1,1)
14750  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorXPathException::GetExceptionCode",1,"Mezzanine::SyntaxErrorXPathException const *");
14751 
14752  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__SyntaxErrorXPathException,0))){
14753  SWIG_fail_ptr("SyntaxErrorXPathException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__SyntaxErrorXPathException);
14754  }
14755 
14756  result = (Mezzanine::Whole)((Mezzanine::SyntaxErrorXPathException const *)arg1)->GetExceptionCode();
14757  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14758  return SWIG_arg;
14759 
14760  if(0) SWIG_fail;
14761 
14762 fail:
14763  lua_error(L);
14764  return SWIG_arg;
14765 }
14766 
14767 
14768 static void swig_delete_SyntaxErrorXPathException(void *obj) {
14770 delete arg1;
14771 }
14772 static swig_lua_method swig_Mezzanine_SyntaxErrorXPathException_methods[] = {
14773  {"GetExceptionCode", _wrap_SyntaxErrorXPathException_GetExceptionCode},
14774  {0,0}
14775 };
14776 static swig_lua_attribute swig_Mezzanine_SyntaxErrorXPathException_attributes[] = {
14777  {0,0,0}
14778 };
14779 static swig_lua_class *swig_Mezzanine_SyntaxErrorXPathException_bases[] = {0,0};
14780 static const char *swig_Mezzanine_SyntaxErrorXPathException_base_names[] = {"Mezzanine::SyntaxErrorException *",0};
14781 static swig_lua_class _wrap_class_Mezzanine_SyntaxErrorXPathException = { "SyntaxErrorXPathException", &SWIGTYPE_p_Mezzanine__SyntaxErrorXPathException,_wrap_new_SyntaxErrorXPathException, swig_delete_SyntaxErrorXPathException, swig_Mezzanine_SyntaxErrorXPathException_methods, swig_Mezzanine_SyntaxErrorXPathException_attributes, swig_Mezzanine_SyntaxErrorXPathException_bases, swig_Mezzanine_SyntaxErrorXPathException_base_names };
14782 
14783 static int _wrap_new_SyntaxErrorLuaException__SWIG_0(lua_State* L) {
14784  int SWIG_arg = 0;
14785  Mezzanine::String *arg1 = 0 ;
14786  Mezzanine::String *arg2 = 0 ;
14787  Mezzanine::String *arg3 = 0 ;
14788  Mezzanine::String *arg4 = 0 ;
14789  Mezzanine::Whole *arg5 = 0 ;
14790  Mezzanine::String temp1 ;
14791  Mezzanine::String temp2 ;
14792  Mezzanine::String temp3 ;
14793  Mezzanine::String temp4 ;
14794  Mezzanine::Whole temp5 ;
14796 
14797  SWIG_check_num_args("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",5,5)
14798  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",1,"Mezzanine::String const &");
14799  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",2,"Mezzanine::String const &");
14800  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",3,"Mezzanine::String const &");
14801  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",4,"Mezzanine::String const &");
14802  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",5,"Mezzanine::Whole const &");
14803  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14804  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14805  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14806  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
14807  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
14808  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
14809  result = (Mezzanine::SyntaxErrorLuaException *)new Mezzanine::SyntaxErrorLuaException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
14810  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorLuaException,1); SWIG_arg++;
14811  return SWIG_arg;
14812 
14813  if(0) SWIG_fail;
14814 
14815 fail:
14816  lua_error(L);
14817  return SWIG_arg;
14818 }
14819 
14820 
14821 static int _wrap_new_SyntaxErrorLuaException__SWIG_1(lua_State* L) {
14822  int SWIG_arg = 0;
14823  Mezzanine::String *arg1 = 0 ;
14824  Mezzanine::String *arg2 = 0 ;
14825  Mezzanine::String *arg3 = 0 ;
14826  Mezzanine::Whole *arg4 = 0 ;
14827  Mezzanine::String temp1 ;
14828  Mezzanine::String temp2 ;
14829  Mezzanine::String temp3 ;
14830  Mezzanine::Whole temp4 ;
14832 
14833  SWIG_check_num_args("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",4,4)
14834  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",1,"Mezzanine::String const &");
14835  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",2,"Mezzanine::String const &");
14836  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",3,"Mezzanine::String const &");
14837  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException",4,"Mezzanine::Whole const &");
14838  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14839  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14840  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14841  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
14842  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
14843  result = (Mezzanine::SyntaxErrorLuaException *)new Mezzanine::SyntaxErrorLuaException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
14844  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__SyntaxErrorLuaException,1); SWIG_arg++;
14845  return SWIG_arg;
14846 
14847  if(0) SWIG_fail;
14848 
14849 fail:
14850  lua_error(L);
14851  return SWIG_arg;
14852 }
14853 
14854 
14855 static int _wrap_new_SyntaxErrorLuaException(lua_State* L) {
14856  int argc;
14857  int argv[6]={
14858  1,2,3,4,5,6
14859  };
14860 
14861  argc = lua_gettop(L);
14862  if (argc == 4) {
14863  int _v;
14864  {
14865  _v = lua_isstring(L,argv[0]);
14866  }
14867  if (_v) {
14868  {
14869  _v = lua_isstring(L,argv[1]);
14870  }
14871  if (_v) {
14872  {
14873  _v = lua_isstring(L,argv[2]);
14874  }
14875  if (_v) {
14876  {
14877  _v = lua_isnumber(L,argv[3]);
14878  }
14879  if (_v) {
14880  return _wrap_new_SyntaxErrorLuaException__SWIG_1(L);
14881  }
14882  }
14883  }
14884  }
14885  }
14886  if (argc == 5) {
14887  int _v;
14888  {
14889  _v = lua_isstring(L,argv[0]);
14890  }
14891  if (_v) {
14892  {
14893  _v = lua_isstring(L,argv[1]);
14894  }
14895  if (_v) {
14896  {
14897  _v = lua_isstring(L,argv[2]);
14898  }
14899  if (_v) {
14900  {
14901  _v = lua_isstring(L,argv[3]);
14902  }
14903  if (_v) {
14904  {
14905  _v = lua_isnumber(L,argv[4]);
14906  }
14907  if (_v) {
14908  return _wrap_new_SyntaxErrorLuaException__SWIG_0(L);
14909  }
14910  }
14911  }
14912  }
14913  }
14914  }
14915 
14916  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SyntaxErrorLuaException'\n"
14917  " Possible C/C++ prototypes are:\n"
14918  " Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
14919  " Mezzanine::SyntaxErrorLuaException::SyntaxErrorLuaException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
14920  lua_error(L);return 0;
14921 }
14922 
14923 
14924 static int _wrap_SyntaxErrorLuaException_GetExceptionCode(lua_State* L) {
14925  int SWIG_arg = 0;
14927  Mezzanine::Whole result;
14928 
14929  SWIG_check_num_args("Mezzanine::SyntaxErrorLuaException::GetExceptionCode",1,1)
14930  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::SyntaxErrorLuaException::GetExceptionCode",1,"Mezzanine::SyntaxErrorLuaException const *");
14931 
14932  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__SyntaxErrorLuaException,0))){
14933  SWIG_fail_ptr("SyntaxErrorLuaException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__SyntaxErrorLuaException);
14934  }
14935 
14936  result = (Mezzanine::Whole)((Mezzanine::SyntaxErrorLuaException const *)arg1)->GetExceptionCode();
14937  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14938  return SWIG_arg;
14939 
14940  if(0) SWIG_fail;
14941 
14942 fail:
14943  lua_error(L);
14944  return SWIG_arg;
14945 }
14946 
14947 
14948 static void swig_delete_SyntaxErrorLuaException(void *obj) {
14950 delete arg1;
14951 }
14952 static swig_lua_method swig_Mezzanine_SyntaxErrorLuaException_methods[] = {
14953  {"GetExceptionCode", _wrap_SyntaxErrorLuaException_GetExceptionCode},
14954  {0,0}
14955 };
14956 static swig_lua_attribute swig_Mezzanine_SyntaxErrorLuaException_attributes[] = {
14957  {0,0,0}
14958 };
14959 static swig_lua_class *swig_Mezzanine_SyntaxErrorLuaException_bases[] = {0,0};
14960 static const char *swig_Mezzanine_SyntaxErrorLuaException_base_names[] = {"Mezzanine::SyntaxErrorException *",0};
14961 static swig_lua_class _wrap_class_Mezzanine_SyntaxErrorLuaException = { "SyntaxErrorLuaException", &SWIGTYPE_p_Mezzanine__SyntaxErrorLuaException,_wrap_new_SyntaxErrorLuaException, swig_delete_SyntaxErrorLuaException, swig_Mezzanine_SyntaxErrorLuaException_methods, swig_Mezzanine_SyntaxErrorLuaException_attributes, swig_Mezzanine_SyntaxErrorLuaException_bases, swig_Mezzanine_SyntaxErrorLuaException_base_names };
14962 
14963 static int _wrap_new_ScriptException__SWIG_0(lua_State* L) {
14964  int SWIG_arg = 0;
14965  Mezzanine::String *arg1 = 0 ;
14966  Mezzanine::String *arg2 = 0 ;
14967  Mezzanine::String *arg3 = 0 ;
14968  Mezzanine::String *arg4 = 0 ;
14969  Mezzanine::Whole *arg5 = 0 ;
14970  Mezzanine::String temp1 ;
14971  Mezzanine::String temp2 ;
14972  Mezzanine::String temp3 ;
14973  Mezzanine::String temp4 ;
14974  Mezzanine::Whole temp5 ;
14975  Mezzanine::ScriptException *result = 0 ;
14976 
14977  SWIG_check_num_args("Mezzanine::ScriptException::ScriptException",5,5)
14978  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",1,"Mezzanine::String const &");
14979  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",2,"Mezzanine::String const &");
14980  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",3,"Mezzanine::String const &");
14981  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",4,"Mezzanine::String const &");
14982  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",5,"Mezzanine::Whole const &");
14983  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
14984  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
14985  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
14986  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
14987  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
14988  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
14989  result = (Mezzanine::ScriptException *)new Mezzanine::ScriptException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
14990  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptException,1); SWIG_arg++;
14991  return SWIG_arg;
14992 
14993  if(0) SWIG_fail;
14994 
14995 fail:
14996  lua_error(L);
14997  return SWIG_arg;
14998 }
14999 
15000 
15001 static int _wrap_new_ScriptException__SWIG_1(lua_State* L) {
15002  int SWIG_arg = 0;
15003  Mezzanine::String *arg1 = 0 ;
15004  Mezzanine::String *arg2 = 0 ;
15005  Mezzanine::String *arg3 = 0 ;
15006  Mezzanine::Whole *arg4 = 0 ;
15007  Mezzanine::String temp1 ;
15008  Mezzanine::String temp2 ;
15009  Mezzanine::String temp3 ;
15010  Mezzanine::Whole temp4 ;
15011  Mezzanine::ScriptException *result = 0 ;
15012 
15013  SWIG_check_num_args("Mezzanine::ScriptException::ScriptException",4,4)
15014  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",1,"Mezzanine::String const &");
15015  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",2,"Mezzanine::String const &");
15016  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",3,"Mezzanine::String const &");
15017  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ScriptException::ScriptException",4,"Mezzanine::Whole const &");
15018  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15019  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15020  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15021  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
15022  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
15023  result = (Mezzanine::ScriptException *)new Mezzanine::ScriptException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
15024  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptException,1); SWIG_arg++;
15025  return SWIG_arg;
15026 
15027  if(0) SWIG_fail;
15028 
15029 fail:
15030  lua_error(L);
15031  return SWIG_arg;
15032 }
15033 
15034 
15035 static int _wrap_new_ScriptException(lua_State* L) {
15036  int argc;
15037  int argv[6]={
15038  1,2,3,4,5,6
15039  };
15040 
15041  argc = lua_gettop(L);
15042  if (argc == 4) {
15043  int _v;
15044  {
15045  _v = lua_isstring(L,argv[0]);
15046  }
15047  if (_v) {
15048  {
15049  _v = lua_isstring(L,argv[1]);
15050  }
15051  if (_v) {
15052  {
15053  _v = lua_isstring(L,argv[2]);
15054  }
15055  if (_v) {
15056  {
15057  _v = lua_isnumber(L,argv[3]);
15058  }
15059  if (_v) {
15060  return _wrap_new_ScriptException__SWIG_1(L);
15061  }
15062  }
15063  }
15064  }
15065  }
15066  if (argc == 5) {
15067  int _v;
15068  {
15069  _v = lua_isstring(L,argv[0]);
15070  }
15071  if (_v) {
15072  {
15073  _v = lua_isstring(L,argv[1]);
15074  }
15075  if (_v) {
15076  {
15077  _v = lua_isstring(L,argv[2]);
15078  }
15079  if (_v) {
15080  {
15081  _v = lua_isstring(L,argv[3]);
15082  }
15083  if (_v) {
15084  {
15085  _v = lua_isnumber(L,argv[4]);
15086  }
15087  if (_v) {
15088  return _wrap_new_ScriptException__SWIG_0(L);
15089  }
15090  }
15091  }
15092  }
15093  }
15094  }
15095 
15096  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ScriptException'\n"
15097  " Possible C/C++ prototypes are:\n"
15098  " Mezzanine::ScriptException::ScriptException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
15099  " Mezzanine::ScriptException::ScriptException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
15100  lua_error(L);return 0;
15101 }
15102 
15103 
15104 static int _wrap_ScriptException_GetExceptionCode(lua_State* L) {
15105  int SWIG_arg = 0;
15107  Mezzanine::Whole result;
15108 
15109  SWIG_check_num_args("Mezzanine::ScriptException::GetExceptionCode",1,1)
15110  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ScriptException::GetExceptionCode",1,"Mezzanine::ScriptException const *");
15111 
15112  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ScriptException,0))){
15113  SWIG_fail_ptr("ScriptException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ScriptException);
15114  }
15115 
15116  result = (Mezzanine::Whole)((Mezzanine::ScriptException const *)arg1)->GetExceptionCode();
15117  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15118  return SWIG_arg;
15119 
15120  if(0) SWIG_fail;
15121 
15122 fail:
15123  lua_error(L);
15124  return SWIG_arg;
15125 }
15126 
15127 
15128 static void swig_delete_ScriptException(void *obj) {
15130 delete arg1;
15131 }
15132 static swig_lua_method swig_Mezzanine_ScriptException_methods[] = {
15133  {"GetExceptionCode", _wrap_ScriptException_GetExceptionCode},
15134  {0,0}
15135 };
15136 static swig_lua_attribute swig_Mezzanine_ScriptException_attributes[] = {
15137  {0,0,0}
15138 };
15139 static swig_lua_class *swig_Mezzanine_ScriptException_bases[] = {0,0};
15140 static const char *swig_Mezzanine_ScriptException_base_names[] = {"Mezzanine::Exception *",0};
15141 static swig_lua_class _wrap_class_Mezzanine_ScriptException = { "ScriptException", &SWIGTYPE_p_Mezzanine__ScriptException,_wrap_new_ScriptException, swig_delete_ScriptException, swig_Mezzanine_ScriptException_methods, swig_Mezzanine_ScriptException_attributes, swig_Mezzanine_ScriptException_bases, swig_Mezzanine_ScriptException_base_names };
15142 
15143 static int _wrap_new_ScriptLuaException__SWIG_0(lua_State* L) {
15144  int SWIG_arg = 0;
15145  Mezzanine::String *arg1 = 0 ;
15146  Mezzanine::String *arg2 = 0 ;
15147  Mezzanine::String *arg3 = 0 ;
15148  Mezzanine::String *arg4 = 0 ;
15149  Mezzanine::Whole *arg5 = 0 ;
15150  Mezzanine::String temp1 ;
15151  Mezzanine::String temp2 ;
15152  Mezzanine::String temp3 ;
15153  Mezzanine::String temp4 ;
15154  Mezzanine::Whole temp5 ;
15155  Mezzanine::ScriptLuaException *result = 0 ;
15156 
15157  SWIG_check_num_args("Mezzanine::ScriptLuaException::ScriptLuaException",5,5)
15158  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",1,"Mezzanine::String const &");
15159  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",2,"Mezzanine::String const &");
15160  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",3,"Mezzanine::String const &");
15161  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",4,"Mezzanine::String const &");
15162  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",5,"Mezzanine::Whole const &");
15163  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15164  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15165  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15166  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
15167  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
15168  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
15169  result = (Mezzanine::ScriptLuaException *)new Mezzanine::ScriptLuaException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
15170  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaException,1); SWIG_arg++;
15171  return SWIG_arg;
15172 
15173  if(0) SWIG_fail;
15174 
15175 fail:
15176  lua_error(L);
15177  return SWIG_arg;
15178 }
15179 
15180 
15181 static int _wrap_new_ScriptLuaException__SWIG_1(lua_State* L) {
15182  int SWIG_arg = 0;
15183  Mezzanine::String *arg1 = 0 ;
15184  Mezzanine::String *arg2 = 0 ;
15185  Mezzanine::String *arg3 = 0 ;
15186  Mezzanine::Whole *arg4 = 0 ;
15187  Mezzanine::String temp1 ;
15188  Mezzanine::String temp2 ;
15189  Mezzanine::String temp3 ;
15190  Mezzanine::Whole temp4 ;
15191  Mezzanine::ScriptLuaException *result = 0 ;
15192 
15193  SWIG_check_num_args("Mezzanine::ScriptLuaException::ScriptLuaException",4,4)
15194  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",1,"Mezzanine::String const &");
15195  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",2,"Mezzanine::String const &");
15196  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",3,"Mezzanine::String const &");
15197  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaException::ScriptLuaException",4,"Mezzanine::Whole const &");
15198  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15199  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15200  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15201  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
15202  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
15203  result = (Mezzanine::ScriptLuaException *)new Mezzanine::ScriptLuaException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
15204  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaException,1); SWIG_arg++;
15205  return SWIG_arg;
15206 
15207  if(0) SWIG_fail;
15208 
15209 fail:
15210  lua_error(L);
15211  return SWIG_arg;
15212 }
15213 
15214 
15215 static int _wrap_new_ScriptLuaException(lua_State* L) {
15216  int argc;
15217  int argv[6]={
15218  1,2,3,4,5,6
15219  };
15220 
15221  argc = lua_gettop(L);
15222  if (argc == 4) {
15223  int _v;
15224  {
15225  _v = lua_isstring(L,argv[0]);
15226  }
15227  if (_v) {
15228  {
15229  _v = lua_isstring(L,argv[1]);
15230  }
15231  if (_v) {
15232  {
15233  _v = lua_isstring(L,argv[2]);
15234  }
15235  if (_v) {
15236  {
15237  _v = lua_isnumber(L,argv[3]);
15238  }
15239  if (_v) {
15240  return _wrap_new_ScriptLuaException__SWIG_1(L);
15241  }
15242  }
15243  }
15244  }
15245  }
15246  if (argc == 5) {
15247  int _v;
15248  {
15249  _v = lua_isstring(L,argv[0]);
15250  }
15251  if (_v) {
15252  {
15253  _v = lua_isstring(L,argv[1]);
15254  }
15255  if (_v) {
15256  {
15257  _v = lua_isstring(L,argv[2]);
15258  }
15259  if (_v) {
15260  {
15261  _v = lua_isstring(L,argv[3]);
15262  }
15263  if (_v) {
15264  {
15265  _v = lua_isnumber(L,argv[4]);
15266  }
15267  if (_v) {
15268  return _wrap_new_ScriptLuaException__SWIG_0(L);
15269  }
15270  }
15271  }
15272  }
15273  }
15274  }
15275 
15276  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ScriptLuaException'\n"
15277  " Possible C/C++ prototypes are:\n"
15278  " Mezzanine::ScriptLuaException::ScriptLuaException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
15279  " Mezzanine::ScriptLuaException::ScriptLuaException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
15280  lua_error(L);return 0;
15281 }
15282 
15283 
15284 static int _wrap_ScriptLuaException_GetExceptionCode(lua_State* L) {
15285  int SWIG_arg = 0;
15287  Mezzanine::Whole result;
15288 
15289  SWIG_check_num_args("Mezzanine::ScriptLuaException::GetExceptionCode",1,1)
15290  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaException::GetExceptionCode",1,"Mezzanine::ScriptLuaException const *");
15291 
15292  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ScriptLuaException,0))){
15293  SWIG_fail_ptr("ScriptLuaException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ScriptLuaException);
15294  }
15295 
15296  result = (Mezzanine::Whole)((Mezzanine::ScriptLuaException const *)arg1)->GetExceptionCode();
15297  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15298  return SWIG_arg;
15299 
15300  if(0) SWIG_fail;
15301 
15302 fail:
15303  lua_error(L);
15304  return SWIG_arg;
15305 }
15306 
15307 
15308 static void swig_delete_ScriptLuaException(void *obj) {
15310 delete arg1;
15311 }
15312 static swig_lua_method swig_Mezzanine_ScriptLuaException_methods[] = {
15313  {"GetExceptionCode", _wrap_ScriptLuaException_GetExceptionCode},
15314  {0,0}
15315 };
15316 static swig_lua_attribute swig_Mezzanine_ScriptLuaException_attributes[] = {
15317  {0,0,0}
15318 };
15319 static swig_lua_class *swig_Mezzanine_ScriptLuaException_bases[] = {0,0};
15320 static const char *swig_Mezzanine_ScriptLuaException_base_names[] = {"Mezzanine::ScriptException *",0};
15321 static swig_lua_class _wrap_class_Mezzanine_ScriptLuaException = { "ScriptLuaException", &SWIGTYPE_p_Mezzanine__ScriptLuaException,_wrap_new_ScriptLuaException, swig_delete_ScriptLuaException, swig_Mezzanine_ScriptLuaException_methods, swig_Mezzanine_ScriptLuaException_attributes, swig_Mezzanine_ScriptLuaException_bases, swig_Mezzanine_ScriptLuaException_base_names };
15322 
15323 static int _wrap_new_ScriptLuaYieldException__SWIG_0(lua_State* L) {
15324  int SWIG_arg = 0;
15325  Mezzanine::String *arg1 = 0 ;
15326  Mezzanine::String *arg2 = 0 ;
15327  Mezzanine::String *arg3 = 0 ;
15328  Mezzanine::String *arg4 = 0 ;
15329  Mezzanine::Whole *arg5 = 0 ;
15330  Mezzanine::String temp1 ;
15331  Mezzanine::String temp2 ;
15332  Mezzanine::String temp3 ;
15333  Mezzanine::String temp4 ;
15334  Mezzanine::Whole temp5 ;
15336 
15337  SWIG_check_num_args("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",5,5)
15338  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",1,"Mezzanine::String const &");
15339  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",2,"Mezzanine::String const &");
15340  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",3,"Mezzanine::String const &");
15341  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",4,"Mezzanine::String const &");
15342  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",5,"Mezzanine::Whole const &");
15343  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15344  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15345  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15346  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
15347  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
15348  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
15349  result = (Mezzanine::ScriptLuaYieldException *)new Mezzanine::ScriptLuaYieldException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
15350  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaYieldException,1); SWIG_arg++;
15351  return SWIG_arg;
15352 
15353  if(0) SWIG_fail;
15354 
15355 fail:
15356  lua_error(L);
15357  return SWIG_arg;
15358 }
15359 
15360 
15361 static int _wrap_new_ScriptLuaYieldException__SWIG_1(lua_State* L) {
15362  int SWIG_arg = 0;
15363  Mezzanine::String *arg1 = 0 ;
15364  Mezzanine::String *arg2 = 0 ;
15365  Mezzanine::String *arg3 = 0 ;
15366  Mezzanine::Whole *arg4 = 0 ;
15367  Mezzanine::String temp1 ;
15368  Mezzanine::String temp2 ;
15369  Mezzanine::String temp3 ;
15370  Mezzanine::Whole temp4 ;
15372 
15373  SWIG_check_num_args("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",4,4)
15374  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",1,"Mezzanine::String const &");
15375  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",2,"Mezzanine::String const &");
15376  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",3,"Mezzanine::String const &");
15377  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException",4,"Mezzanine::Whole const &");
15378  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15379  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15380  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15381  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
15382  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
15383  result = (Mezzanine::ScriptLuaYieldException *)new Mezzanine::ScriptLuaYieldException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
15384  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaYieldException,1); SWIG_arg++;
15385  return SWIG_arg;
15386 
15387  if(0) SWIG_fail;
15388 
15389 fail:
15390  lua_error(L);
15391  return SWIG_arg;
15392 }
15393 
15394 
15395 static int _wrap_new_ScriptLuaYieldException(lua_State* L) {
15396  int argc;
15397  int argv[6]={
15398  1,2,3,4,5,6
15399  };
15400 
15401  argc = lua_gettop(L);
15402  if (argc == 4) {
15403  int _v;
15404  {
15405  _v = lua_isstring(L,argv[0]);
15406  }
15407  if (_v) {
15408  {
15409  _v = lua_isstring(L,argv[1]);
15410  }
15411  if (_v) {
15412  {
15413  _v = lua_isstring(L,argv[2]);
15414  }
15415  if (_v) {
15416  {
15417  _v = lua_isnumber(L,argv[3]);
15418  }
15419  if (_v) {
15420  return _wrap_new_ScriptLuaYieldException__SWIG_1(L);
15421  }
15422  }
15423  }
15424  }
15425  }
15426  if (argc == 5) {
15427  int _v;
15428  {
15429  _v = lua_isstring(L,argv[0]);
15430  }
15431  if (_v) {
15432  {
15433  _v = lua_isstring(L,argv[1]);
15434  }
15435  if (_v) {
15436  {
15437  _v = lua_isstring(L,argv[2]);
15438  }
15439  if (_v) {
15440  {
15441  _v = lua_isstring(L,argv[3]);
15442  }
15443  if (_v) {
15444  {
15445  _v = lua_isnumber(L,argv[4]);
15446  }
15447  if (_v) {
15448  return _wrap_new_ScriptLuaYieldException__SWIG_0(L);
15449  }
15450  }
15451  }
15452  }
15453  }
15454  }
15455 
15456  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ScriptLuaYieldException'\n"
15457  " Possible C/C++ prototypes are:\n"
15458  " Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
15459  " Mezzanine::ScriptLuaYieldException::ScriptLuaYieldException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
15460  lua_error(L);return 0;
15461 }
15462 
15463 
15464 static int _wrap_ScriptLuaYieldException_GetExceptionCode(lua_State* L) {
15465  int SWIG_arg = 0;
15467  Mezzanine::Whole result;
15468 
15469  SWIG_check_num_args("Mezzanine::ScriptLuaYieldException::GetExceptionCode",1,1)
15470  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaYieldException::GetExceptionCode",1,"Mezzanine::ScriptLuaYieldException const *");
15471 
15472  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ScriptLuaYieldException,0))){
15473  SWIG_fail_ptr("ScriptLuaYieldException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ScriptLuaYieldException);
15474  }
15475 
15476  result = (Mezzanine::Whole)((Mezzanine::ScriptLuaYieldException const *)arg1)->GetExceptionCode();
15477  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15478  return SWIG_arg;
15479 
15480  if(0) SWIG_fail;
15481 
15482 fail:
15483  lua_error(L);
15484  return SWIG_arg;
15485 }
15486 
15487 
15488 static void swig_delete_ScriptLuaYieldException(void *obj) {
15490 delete arg1;
15491 }
15492 static swig_lua_method swig_Mezzanine_ScriptLuaYieldException_methods[] = {
15493  {"GetExceptionCode", _wrap_ScriptLuaYieldException_GetExceptionCode},
15494  {0,0}
15495 };
15496 static swig_lua_attribute swig_Mezzanine_ScriptLuaYieldException_attributes[] = {
15497  {0,0,0}
15498 };
15499 static swig_lua_class *swig_Mezzanine_ScriptLuaYieldException_bases[] = {0,0};
15500 static const char *swig_Mezzanine_ScriptLuaYieldException_base_names[] = {"Mezzanine::ScriptLuaException *",0};
15501 static swig_lua_class _wrap_class_Mezzanine_ScriptLuaYieldException = { "ScriptLuaYieldException", &SWIGTYPE_p_Mezzanine__ScriptLuaYieldException,_wrap_new_ScriptLuaYieldException, swig_delete_ScriptLuaYieldException, swig_Mezzanine_ScriptLuaYieldException_methods, swig_Mezzanine_ScriptLuaYieldException_attributes, swig_Mezzanine_ScriptLuaYieldException_bases, swig_Mezzanine_ScriptLuaYieldException_base_names };
15502 
15503 static int _wrap_new_ScriptLuaRuntimeException__SWIG_0(lua_State* L) {
15504  int SWIG_arg = 0;
15505  Mezzanine::String *arg1 = 0 ;
15506  Mezzanine::String *arg2 = 0 ;
15507  Mezzanine::String *arg3 = 0 ;
15508  Mezzanine::String *arg4 = 0 ;
15509  Mezzanine::Whole *arg5 = 0 ;
15510  Mezzanine::String temp1 ;
15511  Mezzanine::String temp2 ;
15512  Mezzanine::String temp3 ;
15513  Mezzanine::String temp4 ;
15514  Mezzanine::Whole temp5 ;
15516 
15517  SWIG_check_num_args("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",5,5)
15518  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",1,"Mezzanine::String const &");
15519  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",2,"Mezzanine::String const &");
15520  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",3,"Mezzanine::String const &");
15521  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",4,"Mezzanine::String const &");
15522  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",5,"Mezzanine::Whole const &");
15523  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15524  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15525  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15526  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
15527  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
15528  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
15529  result = (Mezzanine::ScriptLuaRuntimeException *)new Mezzanine::ScriptLuaRuntimeException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
15530  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaRuntimeException,1); SWIG_arg++;
15531  return SWIG_arg;
15532 
15533  if(0) SWIG_fail;
15534 
15535 fail:
15536  lua_error(L);
15537  return SWIG_arg;
15538 }
15539 
15540 
15541 static int _wrap_new_ScriptLuaRuntimeException__SWIG_1(lua_State* L) {
15542  int SWIG_arg = 0;
15543  Mezzanine::String *arg1 = 0 ;
15544  Mezzanine::String *arg2 = 0 ;
15545  Mezzanine::String *arg3 = 0 ;
15546  Mezzanine::Whole *arg4 = 0 ;
15547  Mezzanine::String temp1 ;
15548  Mezzanine::String temp2 ;
15549  Mezzanine::String temp3 ;
15550  Mezzanine::Whole temp4 ;
15552 
15553  SWIG_check_num_args("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",4,4)
15554  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",1,"Mezzanine::String const &");
15555  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",2,"Mezzanine::String const &");
15556  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",3,"Mezzanine::String const &");
15557  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException",4,"Mezzanine::Whole const &");
15558  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15559  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15560  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15561  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
15562  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
15563  result = (Mezzanine::ScriptLuaRuntimeException *)new Mezzanine::ScriptLuaRuntimeException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
15564  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaRuntimeException,1); SWIG_arg++;
15565  return SWIG_arg;
15566 
15567  if(0) SWIG_fail;
15568 
15569 fail:
15570  lua_error(L);
15571  return SWIG_arg;
15572 }
15573 
15574 
15575 static int _wrap_new_ScriptLuaRuntimeException(lua_State* L) {
15576  int argc;
15577  int argv[6]={
15578  1,2,3,4,5,6
15579  };
15580 
15581  argc = lua_gettop(L);
15582  if (argc == 4) {
15583  int _v;
15584  {
15585  _v = lua_isstring(L,argv[0]);
15586  }
15587  if (_v) {
15588  {
15589  _v = lua_isstring(L,argv[1]);
15590  }
15591  if (_v) {
15592  {
15593  _v = lua_isstring(L,argv[2]);
15594  }
15595  if (_v) {
15596  {
15597  _v = lua_isnumber(L,argv[3]);
15598  }
15599  if (_v) {
15600  return _wrap_new_ScriptLuaRuntimeException__SWIG_1(L);
15601  }
15602  }
15603  }
15604  }
15605  }
15606  if (argc == 5) {
15607  int _v;
15608  {
15609  _v = lua_isstring(L,argv[0]);
15610  }
15611  if (_v) {
15612  {
15613  _v = lua_isstring(L,argv[1]);
15614  }
15615  if (_v) {
15616  {
15617  _v = lua_isstring(L,argv[2]);
15618  }
15619  if (_v) {
15620  {
15621  _v = lua_isstring(L,argv[3]);
15622  }
15623  if (_v) {
15624  {
15625  _v = lua_isnumber(L,argv[4]);
15626  }
15627  if (_v) {
15628  return _wrap_new_ScriptLuaRuntimeException__SWIG_0(L);
15629  }
15630  }
15631  }
15632  }
15633  }
15634  }
15635 
15636  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ScriptLuaRuntimeException'\n"
15637  " Possible C/C++ prototypes are:\n"
15638  " Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
15639  " Mezzanine::ScriptLuaRuntimeException::ScriptLuaRuntimeException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
15640  lua_error(L);return 0;
15641 }
15642 
15643 
15644 static int _wrap_ScriptLuaRuntimeException_GetExceptionCode(lua_State* L) {
15645  int SWIG_arg = 0;
15647  Mezzanine::Whole result;
15648 
15649  SWIG_check_num_args("Mezzanine::ScriptLuaRuntimeException::GetExceptionCode",1,1)
15650  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaRuntimeException::GetExceptionCode",1,"Mezzanine::ScriptLuaRuntimeException const *");
15651 
15652  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ScriptLuaRuntimeException,0))){
15653  SWIG_fail_ptr("ScriptLuaRuntimeException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ScriptLuaRuntimeException);
15654  }
15655 
15656  result = (Mezzanine::Whole)((Mezzanine::ScriptLuaRuntimeException const *)arg1)->GetExceptionCode();
15657  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15658  return SWIG_arg;
15659 
15660  if(0) SWIG_fail;
15661 
15662 fail:
15663  lua_error(L);
15664  return SWIG_arg;
15665 }
15666 
15667 
15668 static void swig_delete_ScriptLuaRuntimeException(void *obj) {
15670 delete arg1;
15671 }
15672 static swig_lua_method swig_Mezzanine_ScriptLuaRuntimeException_methods[] = {
15673  {"GetExceptionCode", _wrap_ScriptLuaRuntimeException_GetExceptionCode},
15674  {0,0}
15675 };
15676 static swig_lua_attribute swig_Mezzanine_ScriptLuaRuntimeException_attributes[] = {
15677  {0,0,0}
15678 };
15679 static swig_lua_class *swig_Mezzanine_ScriptLuaRuntimeException_bases[] = {0,0};
15680 static const char *swig_Mezzanine_ScriptLuaRuntimeException_base_names[] = {"Mezzanine::ScriptLuaException *",0};
15681 static swig_lua_class _wrap_class_Mezzanine_ScriptLuaRuntimeException = { "ScriptLuaRuntimeException", &SWIGTYPE_p_Mezzanine__ScriptLuaRuntimeException,_wrap_new_ScriptLuaRuntimeException, swig_delete_ScriptLuaRuntimeException, swig_Mezzanine_ScriptLuaRuntimeException_methods, swig_Mezzanine_ScriptLuaRuntimeException_attributes, swig_Mezzanine_ScriptLuaRuntimeException_bases, swig_Mezzanine_ScriptLuaRuntimeException_base_names };
15682 
15683 static int _wrap_new_ScriptLuaErrErrException__SWIG_0(lua_State* L) {
15684  int SWIG_arg = 0;
15685  Mezzanine::String *arg1 = 0 ;
15686  Mezzanine::String *arg2 = 0 ;
15687  Mezzanine::String *arg3 = 0 ;
15688  Mezzanine::String *arg4 = 0 ;
15689  Mezzanine::Whole *arg5 = 0 ;
15690  Mezzanine::String temp1 ;
15691  Mezzanine::String temp2 ;
15692  Mezzanine::String temp3 ;
15693  Mezzanine::String temp4 ;
15694  Mezzanine::Whole temp5 ;
15696 
15697  SWIG_check_num_args("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",5,5)
15698  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",1,"Mezzanine::String const &");
15699  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",2,"Mezzanine::String const &");
15700  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",3,"Mezzanine::String const &");
15701  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",4,"Mezzanine::String const &");
15702  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",5,"Mezzanine::Whole const &");
15703  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15704  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15705  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15706  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
15707  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
15708  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
15709  result = (Mezzanine::ScriptLuaErrErrException *)new Mezzanine::ScriptLuaErrErrException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
15710  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaErrErrException,1); SWIG_arg++;
15711  return SWIG_arg;
15712 
15713  if(0) SWIG_fail;
15714 
15715 fail:
15716  lua_error(L);
15717  return SWIG_arg;
15718 }
15719 
15720 
15721 static int _wrap_new_ScriptLuaErrErrException__SWIG_1(lua_State* L) {
15722  int SWIG_arg = 0;
15723  Mezzanine::String *arg1 = 0 ;
15724  Mezzanine::String *arg2 = 0 ;
15725  Mezzanine::String *arg3 = 0 ;
15726  Mezzanine::Whole *arg4 = 0 ;
15727  Mezzanine::String temp1 ;
15728  Mezzanine::String temp2 ;
15729  Mezzanine::String temp3 ;
15730  Mezzanine::Whole temp4 ;
15732 
15733  SWIG_check_num_args("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",4,4)
15734  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",1,"Mezzanine::String const &");
15735  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",2,"Mezzanine::String const &");
15736  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",3,"Mezzanine::String const &");
15737  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException",4,"Mezzanine::Whole const &");
15738  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15739  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15740  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15741  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
15742  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
15743  result = (Mezzanine::ScriptLuaErrErrException *)new Mezzanine::ScriptLuaErrErrException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
15744  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ScriptLuaErrErrException,1); SWIG_arg++;
15745  return SWIG_arg;
15746 
15747  if(0) SWIG_fail;
15748 
15749 fail:
15750  lua_error(L);
15751  return SWIG_arg;
15752 }
15753 
15754 
15755 static int _wrap_new_ScriptLuaErrErrException(lua_State* L) {
15756  int argc;
15757  int argv[6]={
15758  1,2,3,4,5,6
15759  };
15760 
15761  argc = lua_gettop(L);
15762  if (argc == 4) {
15763  int _v;
15764  {
15765  _v = lua_isstring(L,argv[0]);
15766  }
15767  if (_v) {
15768  {
15769  _v = lua_isstring(L,argv[1]);
15770  }
15771  if (_v) {
15772  {
15773  _v = lua_isstring(L,argv[2]);
15774  }
15775  if (_v) {
15776  {
15777  _v = lua_isnumber(L,argv[3]);
15778  }
15779  if (_v) {
15780  return _wrap_new_ScriptLuaErrErrException__SWIG_1(L);
15781  }
15782  }
15783  }
15784  }
15785  }
15786  if (argc == 5) {
15787  int _v;
15788  {
15789  _v = lua_isstring(L,argv[0]);
15790  }
15791  if (_v) {
15792  {
15793  _v = lua_isstring(L,argv[1]);
15794  }
15795  if (_v) {
15796  {
15797  _v = lua_isstring(L,argv[2]);
15798  }
15799  if (_v) {
15800  {
15801  _v = lua_isstring(L,argv[3]);
15802  }
15803  if (_v) {
15804  {
15805  _v = lua_isnumber(L,argv[4]);
15806  }
15807  if (_v) {
15808  return _wrap_new_ScriptLuaErrErrException__SWIG_0(L);
15809  }
15810  }
15811  }
15812  }
15813  }
15814  }
15815 
15816  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ScriptLuaErrErrException'\n"
15817  " Possible C/C++ prototypes are:\n"
15818  " Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
15819  " Mezzanine::ScriptLuaErrErrException::ScriptLuaErrErrException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
15820  lua_error(L);return 0;
15821 }
15822 
15823 
15824 static int _wrap_ScriptLuaErrErrException_GetExceptionCode(lua_State* L) {
15825  int SWIG_arg = 0;
15827  Mezzanine::Whole result;
15828 
15829  SWIG_check_num_args("Mezzanine::ScriptLuaErrErrException::GetExceptionCode",1,1)
15830  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ScriptLuaErrErrException::GetExceptionCode",1,"Mezzanine::ScriptLuaErrErrException const *");
15831 
15832  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ScriptLuaErrErrException,0))){
15833  SWIG_fail_ptr("ScriptLuaErrErrException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ScriptLuaErrErrException);
15834  }
15835 
15836  result = (Mezzanine::Whole)((Mezzanine::ScriptLuaErrErrException const *)arg1)->GetExceptionCode();
15837  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15838  return SWIG_arg;
15839 
15840  if(0) SWIG_fail;
15841 
15842 fail:
15843  lua_error(L);
15844  return SWIG_arg;
15845 }
15846 
15847 
15848 static void swig_delete_ScriptLuaErrErrException(void *obj) {
15850 delete arg1;
15851 }
15852 static swig_lua_method swig_Mezzanine_ScriptLuaErrErrException_methods[] = {
15853  {"GetExceptionCode", _wrap_ScriptLuaErrErrException_GetExceptionCode},
15854  {0,0}
15855 };
15856 static swig_lua_attribute swig_Mezzanine_ScriptLuaErrErrException_attributes[] = {
15857  {0,0,0}
15858 };
15859 static swig_lua_class *swig_Mezzanine_ScriptLuaErrErrException_bases[] = {0,0};
15860 static const char *swig_Mezzanine_ScriptLuaErrErrException_base_names[] = {"Mezzanine::ScriptLuaException *",0};
15861 static swig_lua_class _wrap_class_Mezzanine_ScriptLuaErrErrException = { "ScriptLuaErrErrException", &SWIGTYPE_p_Mezzanine__ScriptLuaErrErrException,_wrap_new_ScriptLuaErrErrException, swig_delete_ScriptLuaErrErrException, swig_Mezzanine_ScriptLuaErrErrException_methods, swig_Mezzanine_ScriptLuaErrErrException_attributes, swig_Mezzanine_ScriptLuaErrErrException_bases, swig_Mezzanine_ScriptLuaErrErrException_base_names };
15862 
15863 static int _wrap_new_ParametersException__SWIG_0(lua_State* L) {
15864  int SWIG_arg = 0;
15865  Mezzanine::String *arg1 = 0 ;
15866  Mezzanine::String *arg2 = 0 ;
15867  Mezzanine::String *arg3 = 0 ;
15868  Mezzanine::String *arg4 = 0 ;
15869  Mezzanine::Whole *arg5 = 0 ;
15870  Mezzanine::String temp1 ;
15871  Mezzanine::String temp2 ;
15872  Mezzanine::String temp3 ;
15873  Mezzanine::String temp4 ;
15874  Mezzanine::Whole temp5 ;
15875  Mezzanine::ParametersException *result = 0 ;
15876 
15877  SWIG_check_num_args("Mezzanine::ParametersException::ParametersException",5,5)
15878  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",1,"Mezzanine::String const &");
15879  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",2,"Mezzanine::String const &");
15880  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",3,"Mezzanine::String const &");
15881  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",4,"Mezzanine::String const &");
15882  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",5,"Mezzanine::Whole const &");
15883  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15884  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15885  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15886  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
15887  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
15888  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
15889  result = (Mezzanine::ParametersException *)new Mezzanine::ParametersException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
15890  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ParametersException,1); SWIG_arg++;
15891  return SWIG_arg;
15892 
15893  if(0) SWIG_fail;
15894 
15895 fail:
15896  lua_error(L);
15897  return SWIG_arg;
15898 }
15899 
15900 
15901 static int _wrap_new_ParametersException__SWIG_1(lua_State* L) {
15902  int SWIG_arg = 0;
15903  Mezzanine::String *arg1 = 0 ;
15904  Mezzanine::String *arg2 = 0 ;
15905  Mezzanine::String *arg3 = 0 ;
15906  Mezzanine::Whole *arg4 = 0 ;
15907  Mezzanine::String temp1 ;
15908  Mezzanine::String temp2 ;
15909  Mezzanine::String temp3 ;
15910  Mezzanine::Whole temp4 ;
15911  Mezzanine::ParametersException *result = 0 ;
15912 
15913  SWIG_check_num_args("Mezzanine::ParametersException::ParametersException",4,4)
15914  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",1,"Mezzanine::String const &");
15915  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",2,"Mezzanine::String const &");
15916  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",3,"Mezzanine::String const &");
15917  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ParametersException::ParametersException",4,"Mezzanine::Whole const &");
15918  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
15919  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
15920  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
15921  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
15922  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
15923  result = (Mezzanine::ParametersException *)new Mezzanine::ParametersException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
15924  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ParametersException,1); SWIG_arg++;
15925  return SWIG_arg;
15926 
15927  if(0) SWIG_fail;
15928 
15929 fail:
15930  lua_error(L);
15931  return SWIG_arg;
15932 }
15933 
15934 
15935 static int _wrap_new_ParametersException(lua_State* L) {
15936  int argc;
15937  int argv[6]={
15938  1,2,3,4,5,6
15939  };
15940 
15941  argc = lua_gettop(L);
15942  if (argc == 4) {
15943  int _v;
15944  {
15945  _v = lua_isstring(L,argv[0]);
15946  }
15947  if (_v) {
15948  {
15949  _v = lua_isstring(L,argv[1]);
15950  }
15951  if (_v) {
15952  {
15953  _v = lua_isstring(L,argv[2]);
15954  }
15955  if (_v) {
15956  {
15957  _v = lua_isnumber(L,argv[3]);
15958  }
15959  if (_v) {
15960  return _wrap_new_ParametersException__SWIG_1(L);
15961  }
15962  }
15963  }
15964  }
15965  }
15966  if (argc == 5) {
15967  int _v;
15968  {
15969  _v = lua_isstring(L,argv[0]);
15970  }
15971  if (_v) {
15972  {
15973  _v = lua_isstring(L,argv[1]);
15974  }
15975  if (_v) {
15976  {
15977  _v = lua_isstring(L,argv[2]);
15978  }
15979  if (_v) {
15980  {
15981  _v = lua_isstring(L,argv[3]);
15982  }
15983  if (_v) {
15984  {
15985  _v = lua_isnumber(L,argv[4]);
15986  }
15987  if (_v) {
15988  return _wrap_new_ParametersException__SWIG_0(L);
15989  }
15990  }
15991  }
15992  }
15993  }
15994  }
15995 
15996  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ParametersException'\n"
15997  " Possible C/C++ prototypes are:\n"
15998  " Mezzanine::ParametersException::ParametersException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
15999  " Mezzanine::ParametersException::ParametersException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
16000  lua_error(L);return 0;
16001 }
16002 
16003 
16004 static int _wrap_ParametersException_GetExceptionCode(lua_State* L) {
16005  int SWIG_arg = 0;
16007  Mezzanine::Whole result;
16008 
16009  SWIG_check_num_args("Mezzanine::ParametersException::GetExceptionCode",1,1)
16010  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ParametersException::GetExceptionCode",1,"Mezzanine::ParametersException const *");
16011 
16012  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ParametersException,0))){
16013  SWIG_fail_ptr("ParametersException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ParametersException);
16014  }
16015 
16016  result = (Mezzanine::Whole)((Mezzanine::ParametersException const *)arg1)->GetExceptionCode();
16017  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16018  return SWIG_arg;
16019 
16020  if(0) SWIG_fail;
16021 
16022 fail:
16023  lua_error(L);
16024  return SWIG_arg;
16025 }
16026 
16027 
16028 static void swig_delete_ParametersException(void *obj) {
16030 delete arg1;
16031 }
16032 static swig_lua_method swig_Mezzanine_ParametersException_methods[] = {
16033  {"GetExceptionCode", _wrap_ParametersException_GetExceptionCode},
16034  {0,0}
16035 };
16036 static swig_lua_attribute swig_Mezzanine_ParametersException_attributes[] = {
16037  {0,0,0}
16038 };
16039 static swig_lua_class *swig_Mezzanine_ParametersException_bases[] = {0,0};
16040 static const char *swig_Mezzanine_ParametersException_base_names[] = {"Mezzanine::Exception *",0};
16041 static swig_lua_class _wrap_class_Mezzanine_ParametersException = { "ParametersException", &SWIGTYPE_p_Mezzanine__ParametersException,_wrap_new_ParametersException, swig_delete_ParametersException, swig_Mezzanine_ParametersException_methods, swig_Mezzanine_ParametersException_attributes, swig_Mezzanine_ParametersException_bases, swig_Mezzanine_ParametersException_base_names };
16042 
16043 static int _wrap_new_ParametersCastException__SWIG_0(lua_State* L) {
16044  int SWIG_arg = 0;
16045  Mezzanine::String *arg1 = 0 ;
16046  Mezzanine::String *arg2 = 0 ;
16047  Mezzanine::String *arg3 = 0 ;
16048  Mezzanine::String *arg4 = 0 ;
16049  Mezzanine::Whole *arg5 = 0 ;
16050  Mezzanine::String temp1 ;
16051  Mezzanine::String temp2 ;
16052  Mezzanine::String temp3 ;
16053  Mezzanine::String temp4 ;
16054  Mezzanine::Whole temp5 ;
16056 
16057  SWIG_check_num_args("Mezzanine::ParametersCastException::ParametersCastException",5,5)
16058  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",1,"Mezzanine::String const &");
16059  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",2,"Mezzanine::String const &");
16060  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",3,"Mezzanine::String const &");
16061  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",4,"Mezzanine::String const &");
16062  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",5,"Mezzanine::Whole const &");
16063  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16064  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16065  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16066  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
16067  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
16068  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
16069  result = (Mezzanine::ParametersCastException *)new Mezzanine::ParametersCastException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
16070  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ParametersCastException,1); SWIG_arg++;
16071  return SWIG_arg;
16072 
16073  if(0) SWIG_fail;
16074 
16075 fail:
16076  lua_error(L);
16077  return SWIG_arg;
16078 }
16079 
16080 
16081 static int _wrap_new_ParametersCastException__SWIG_1(lua_State* L) {
16082  int SWIG_arg = 0;
16083  Mezzanine::String *arg1 = 0 ;
16084  Mezzanine::String *arg2 = 0 ;
16085  Mezzanine::String *arg3 = 0 ;
16086  Mezzanine::Whole *arg4 = 0 ;
16087  Mezzanine::String temp1 ;
16088  Mezzanine::String temp2 ;
16089  Mezzanine::String temp3 ;
16090  Mezzanine::Whole temp4 ;
16092 
16093  SWIG_check_num_args("Mezzanine::ParametersCastException::ParametersCastException",4,4)
16094  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",1,"Mezzanine::String const &");
16095  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",2,"Mezzanine::String const &");
16096  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",3,"Mezzanine::String const &");
16097  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ParametersCastException::ParametersCastException",4,"Mezzanine::Whole const &");
16098  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16099  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16100  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16101  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
16102  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
16103  result = (Mezzanine::ParametersCastException *)new Mezzanine::ParametersCastException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
16104  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ParametersCastException,1); SWIG_arg++;
16105  return SWIG_arg;
16106 
16107  if(0) SWIG_fail;
16108 
16109 fail:
16110  lua_error(L);
16111  return SWIG_arg;
16112 }
16113 
16114 
16115 static int _wrap_new_ParametersCastException(lua_State* L) {
16116  int argc;
16117  int argv[6]={
16118  1,2,3,4,5,6
16119  };
16120 
16121  argc = lua_gettop(L);
16122  if (argc == 4) {
16123  int _v;
16124  {
16125  _v = lua_isstring(L,argv[0]);
16126  }
16127  if (_v) {
16128  {
16129  _v = lua_isstring(L,argv[1]);
16130  }
16131  if (_v) {
16132  {
16133  _v = lua_isstring(L,argv[2]);
16134  }
16135  if (_v) {
16136  {
16137  _v = lua_isnumber(L,argv[3]);
16138  }
16139  if (_v) {
16140  return _wrap_new_ParametersCastException__SWIG_1(L);
16141  }
16142  }
16143  }
16144  }
16145  }
16146  if (argc == 5) {
16147  int _v;
16148  {
16149  _v = lua_isstring(L,argv[0]);
16150  }
16151  if (_v) {
16152  {
16153  _v = lua_isstring(L,argv[1]);
16154  }
16155  if (_v) {
16156  {
16157  _v = lua_isstring(L,argv[2]);
16158  }
16159  if (_v) {
16160  {
16161  _v = lua_isstring(L,argv[3]);
16162  }
16163  if (_v) {
16164  {
16165  _v = lua_isnumber(L,argv[4]);
16166  }
16167  if (_v) {
16168  return _wrap_new_ParametersCastException__SWIG_0(L);
16169  }
16170  }
16171  }
16172  }
16173  }
16174  }
16175 
16176  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ParametersCastException'\n"
16177  " Possible C/C++ prototypes are:\n"
16178  " Mezzanine::ParametersCastException::ParametersCastException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
16179  " Mezzanine::ParametersCastException::ParametersCastException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
16180  lua_error(L);return 0;
16181 }
16182 
16183 
16184 static int _wrap_ParametersCastException_GetExceptionCode(lua_State* L) {
16185  int SWIG_arg = 0;
16187  Mezzanine::Whole result;
16188 
16189  SWIG_check_num_args("Mezzanine::ParametersCastException::GetExceptionCode",1,1)
16190  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ParametersCastException::GetExceptionCode",1,"Mezzanine::ParametersCastException const *");
16191 
16192  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ParametersCastException,0))){
16193  SWIG_fail_ptr("ParametersCastException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ParametersCastException);
16194  }
16195 
16196  result = (Mezzanine::Whole)((Mezzanine::ParametersCastException const *)arg1)->GetExceptionCode();
16197  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16198  return SWIG_arg;
16199 
16200  if(0) SWIG_fail;
16201 
16202 fail:
16203  lua_error(L);
16204  return SWIG_arg;
16205 }
16206 
16207 
16208 static void swig_delete_ParametersCastException(void *obj) {
16210 delete arg1;
16211 }
16212 static swig_lua_method swig_Mezzanine_ParametersCastException_methods[] = {
16213  {"GetExceptionCode", _wrap_ParametersCastException_GetExceptionCode},
16214  {0,0}
16215 };
16216 static swig_lua_attribute swig_Mezzanine_ParametersCastException_attributes[] = {
16217  {0,0,0}
16218 };
16219 static swig_lua_class *swig_Mezzanine_ParametersCastException_bases[] = {0,0};
16220 static const char *swig_Mezzanine_ParametersCastException_base_names[] = {"Mezzanine::ParametersException *",0};
16221 static swig_lua_class _wrap_class_Mezzanine_ParametersCastException = { "ParametersCastException", &SWIGTYPE_p_Mezzanine__ParametersCastException,_wrap_new_ParametersCastException, swig_delete_ParametersCastException, swig_Mezzanine_ParametersCastException_methods, swig_Mezzanine_ParametersCastException_attributes, swig_Mezzanine_ParametersCastException_bases, swig_Mezzanine_ParametersCastException_base_names };
16222 
16223 static int _wrap_new_ParametersRangeException__SWIG_0(lua_State* L) {
16224  int SWIG_arg = 0;
16225  Mezzanine::String *arg1 = 0 ;
16226  Mezzanine::String *arg2 = 0 ;
16227  Mezzanine::String *arg3 = 0 ;
16228  Mezzanine::String *arg4 = 0 ;
16229  Mezzanine::Whole *arg5 = 0 ;
16230  Mezzanine::String temp1 ;
16231  Mezzanine::String temp2 ;
16232  Mezzanine::String temp3 ;
16233  Mezzanine::String temp4 ;
16234  Mezzanine::Whole temp5 ;
16236 
16237  SWIG_check_num_args("Mezzanine::ParametersRangeException::ParametersRangeException",5,5)
16238  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",1,"Mezzanine::String const &");
16239  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",2,"Mezzanine::String const &");
16240  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",3,"Mezzanine::String const &");
16241  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",4,"Mezzanine::String const &");
16242  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",5,"Mezzanine::Whole const &");
16243  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16244  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16245  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16246  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
16247  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
16248  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
16249  result = (Mezzanine::ParametersRangeException *)new Mezzanine::ParametersRangeException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
16250  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ParametersRangeException,1); SWIG_arg++;
16251  return SWIG_arg;
16252 
16253  if(0) SWIG_fail;
16254 
16255 fail:
16256  lua_error(L);
16257  return SWIG_arg;
16258 }
16259 
16260 
16261 static int _wrap_new_ParametersRangeException__SWIG_1(lua_State* L) {
16262  int SWIG_arg = 0;
16263  Mezzanine::String *arg1 = 0 ;
16264  Mezzanine::String *arg2 = 0 ;
16265  Mezzanine::String *arg3 = 0 ;
16266  Mezzanine::Whole *arg4 = 0 ;
16267  Mezzanine::String temp1 ;
16268  Mezzanine::String temp2 ;
16269  Mezzanine::String temp3 ;
16270  Mezzanine::Whole temp4 ;
16272 
16273  SWIG_check_num_args("Mezzanine::ParametersRangeException::ParametersRangeException",4,4)
16274  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",1,"Mezzanine::String const &");
16275  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",2,"Mezzanine::String const &");
16276  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",3,"Mezzanine::String const &");
16277  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ParametersRangeException::ParametersRangeException",4,"Mezzanine::Whole const &");
16278  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16279  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16280  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16281  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
16282  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
16283  result = (Mezzanine::ParametersRangeException *)new Mezzanine::ParametersRangeException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
16284  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ParametersRangeException,1); SWIG_arg++;
16285  return SWIG_arg;
16286 
16287  if(0) SWIG_fail;
16288 
16289 fail:
16290  lua_error(L);
16291  return SWIG_arg;
16292 }
16293 
16294 
16295 static int _wrap_new_ParametersRangeException(lua_State* L) {
16296  int argc;
16297  int argv[6]={
16298  1,2,3,4,5,6
16299  };
16300 
16301  argc = lua_gettop(L);
16302  if (argc == 4) {
16303  int _v;
16304  {
16305  _v = lua_isstring(L,argv[0]);
16306  }
16307  if (_v) {
16308  {
16309  _v = lua_isstring(L,argv[1]);
16310  }
16311  if (_v) {
16312  {
16313  _v = lua_isstring(L,argv[2]);
16314  }
16315  if (_v) {
16316  {
16317  _v = lua_isnumber(L,argv[3]);
16318  }
16319  if (_v) {
16320  return _wrap_new_ParametersRangeException__SWIG_1(L);
16321  }
16322  }
16323  }
16324  }
16325  }
16326  if (argc == 5) {
16327  int _v;
16328  {
16329  _v = lua_isstring(L,argv[0]);
16330  }
16331  if (_v) {
16332  {
16333  _v = lua_isstring(L,argv[1]);
16334  }
16335  if (_v) {
16336  {
16337  _v = lua_isstring(L,argv[2]);
16338  }
16339  if (_v) {
16340  {
16341  _v = lua_isstring(L,argv[3]);
16342  }
16343  if (_v) {
16344  {
16345  _v = lua_isnumber(L,argv[4]);
16346  }
16347  if (_v) {
16348  return _wrap_new_ParametersRangeException__SWIG_0(L);
16349  }
16350  }
16351  }
16352  }
16353  }
16354  }
16355 
16356  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ParametersRangeException'\n"
16357  " Possible C/C++ prototypes are:\n"
16358  " Mezzanine::ParametersRangeException::ParametersRangeException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
16359  " Mezzanine::ParametersRangeException::ParametersRangeException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
16360  lua_error(L);return 0;
16361 }
16362 
16363 
16364 static int _wrap_ParametersRangeException_GetExceptionCode(lua_State* L) {
16365  int SWIG_arg = 0;
16367  Mezzanine::Whole result;
16368 
16369  SWIG_check_num_args("Mezzanine::ParametersRangeException::GetExceptionCode",1,1)
16370  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ParametersRangeException::GetExceptionCode",1,"Mezzanine::ParametersRangeException const *");
16371 
16372  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ParametersRangeException,0))){
16373  SWIG_fail_ptr("ParametersRangeException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ParametersRangeException);
16374  }
16375 
16376  result = (Mezzanine::Whole)((Mezzanine::ParametersRangeException const *)arg1)->GetExceptionCode();
16377  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16378  return SWIG_arg;
16379 
16380  if(0) SWIG_fail;
16381 
16382 fail:
16383  lua_error(L);
16384  return SWIG_arg;
16385 }
16386 
16387 
16388 static void swig_delete_ParametersRangeException(void *obj) {
16390 delete arg1;
16391 }
16392 static swig_lua_method swig_Mezzanine_ParametersRangeException_methods[] = {
16393  {"GetExceptionCode", _wrap_ParametersRangeException_GetExceptionCode},
16394  {0,0}
16395 };
16396 static swig_lua_attribute swig_Mezzanine_ParametersRangeException_attributes[] = {
16397  {0,0,0}
16398 };
16399 static swig_lua_class *swig_Mezzanine_ParametersRangeException_bases[] = {0,0};
16400 static const char *swig_Mezzanine_ParametersRangeException_base_names[] = {"Mezzanine::ParametersException *",0};
16401 static swig_lua_class _wrap_class_Mezzanine_ParametersRangeException = { "ParametersRangeException", &SWIGTYPE_p_Mezzanine__ParametersRangeException,_wrap_new_ParametersRangeException, swig_delete_ParametersRangeException, swig_Mezzanine_ParametersRangeException_methods, swig_Mezzanine_ParametersRangeException_attributes, swig_Mezzanine_ParametersRangeException_bases, swig_Mezzanine_ParametersRangeException_base_names };
16402 
16403 static int _wrap_new_ArithmeticException__SWIG_0(lua_State* L) {
16404  int SWIG_arg = 0;
16405  Mezzanine::String *arg1 = 0 ;
16406  Mezzanine::String *arg2 = 0 ;
16407  Mezzanine::String *arg3 = 0 ;
16408  Mezzanine::String *arg4 = 0 ;
16409  Mezzanine::Whole *arg5 = 0 ;
16410  Mezzanine::String temp1 ;
16411  Mezzanine::String temp2 ;
16412  Mezzanine::String temp3 ;
16413  Mezzanine::String temp4 ;
16414  Mezzanine::Whole temp5 ;
16415  Mezzanine::ArithmeticException *result = 0 ;
16416 
16417  SWIG_check_num_args("Mezzanine::ArithmeticException::ArithmeticException",5,5)
16418  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",1,"Mezzanine::String const &");
16419  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",2,"Mezzanine::String const &");
16420  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",3,"Mezzanine::String const &");
16421  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",4,"Mezzanine::String const &");
16422  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",5,"Mezzanine::Whole const &");
16423  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16424  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16425  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16426  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
16427  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
16428  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
16429  result = (Mezzanine::ArithmeticException *)new Mezzanine::ArithmeticException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
16430  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ArithmeticException,1); SWIG_arg++;
16431  return SWIG_arg;
16432 
16433  if(0) SWIG_fail;
16434 
16435 fail:
16436  lua_error(L);
16437  return SWIG_arg;
16438 }
16439 
16440 
16441 static int _wrap_new_ArithmeticException__SWIG_1(lua_State* L) {
16442  int SWIG_arg = 0;
16443  Mezzanine::String *arg1 = 0 ;
16444  Mezzanine::String *arg2 = 0 ;
16445  Mezzanine::String *arg3 = 0 ;
16446  Mezzanine::Whole *arg4 = 0 ;
16447  Mezzanine::String temp1 ;
16448  Mezzanine::String temp2 ;
16449  Mezzanine::String temp3 ;
16450  Mezzanine::Whole temp4 ;
16451  Mezzanine::ArithmeticException *result = 0 ;
16452 
16453  SWIG_check_num_args("Mezzanine::ArithmeticException::ArithmeticException",4,4)
16454  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",1,"Mezzanine::String const &");
16455  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",2,"Mezzanine::String const &");
16456  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",3,"Mezzanine::String const &");
16457  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::ArithmeticException::ArithmeticException",4,"Mezzanine::Whole const &");
16458  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16459  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16460  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16461  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
16462  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
16463  result = (Mezzanine::ArithmeticException *)new Mezzanine::ArithmeticException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
16464  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__ArithmeticException,1); SWIG_arg++;
16465  return SWIG_arg;
16466 
16467  if(0) SWIG_fail;
16468 
16469 fail:
16470  lua_error(L);
16471  return SWIG_arg;
16472 }
16473 
16474 
16475 static int _wrap_new_ArithmeticException(lua_State* L) {
16476  int argc;
16477  int argv[6]={
16478  1,2,3,4,5,6
16479  };
16480 
16481  argc = lua_gettop(L);
16482  if (argc == 4) {
16483  int _v;
16484  {
16485  _v = lua_isstring(L,argv[0]);
16486  }
16487  if (_v) {
16488  {
16489  _v = lua_isstring(L,argv[1]);
16490  }
16491  if (_v) {
16492  {
16493  _v = lua_isstring(L,argv[2]);
16494  }
16495  if (_v) {
16496  {
16497  _v = lua_isnumber(L,argv[3]);
16498  }
16499  if (_v) {
16500  return _wrap_new_ArithmeticException__SWIG_1(L);
16501  }
16502  }
16503  }
16504  }
16505  }
16506  if (argc == 5) {
16507  int _v;
16508  {
16509  _v = lua_isstring(L,argv[0]);
16510  }
16511  if (_v) {
16512  {
16513  _v = lua_isstring(L,argv[1]);
16514  }
16515  if (_v) {
16516  {
16517  _v = lua_isstring(L,argv[2]);
16518  }
16519  if (_v) {
16520  {
16521  _v = lua_isstring(L,argv[3]);
16522  }
16523  if (_v) {
16524  {
16525  _v = lua_isnumber(L,argv[4]);
16526  }
16527  if (_v) {
16528  return _wrap_new_ArithmeticException__SWIG_0(L);
16529  }
16530  }
16531  }
16532  }
16533  }
16534  }
16535 
16536  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ArithmeticException'\n"
16537  " Possible C/C++ prototypes are:\n"
16538  " Mezzanine::ArithmeticException::ArithmeticException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
16539  " Mezzanine::ArithmeticException::ArithmeticException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
16540  lua_error(L);return 0;
16541 }
16542 
16543 
16544 static int _wrap_ArithmeticException_GetExceptionCode(lua_State* L) {
16545  int SWIG_arg = 0;
16547  Mezzanine::Whole result;
16548 
16549  SWIG_check_num_args("Mezzanine::ArithmeticException::GetExceptionCode",1,1)
16550  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::ArithmeticException::GetExceptionCode",1,"Mezzanine::ArithmeticException const *");
16551 
16552  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__ArithmeticException,0))){
16553  SWIG_fail_ptr("ArithmeticException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__ArithmeticException);
16554  }
16555 
16556  result = (Mezzanine::Whole)((Mezzanine::ArithmeticException const *)arg1)->GetExceptionCode();
16557  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16558  return SWIG_arg;
16559 
16560  if(0) SWIG_fail;
16561 
16562 fail:
16563  lua_error(L);
16564  return SWIG_arg;
16565 }
16566 
16567 
16568 static void swig_delete_ArithmeticException(void *obj) {
16570 delete arg1;
16571 }
16572 static swig_lua_method swig_Mezzanine_ArithmeticException_methods[] = {
16573  {"GetExceptionCode", _wrap_ArithmeticException_GetExceptionCode},
16574  {0,0}
16575 };
16576 static swig_lua_attribute swig_Mezzanine_ArithmeticException_attributes[] = {
16577  {0,0,0}
16578 };
16579 static swig_lua_class *swig_Mezzanine_ArithmeticException_bases[] = {0,0};
16580 static const char *swig_Mezzanine_ArithmeticException_base_names[] = {"Mezzanine::Exception *",0};
16581 static swig_lua_class _wrap_class_Mezzanine_ArithmeticException = { "ArithmeticException", &SWIGTYPE_p_Mezzanine__ArithmeticException,_wrap_new_ArithmeticException, swig_delete_ArithmeticException, swig_Mezzanine_ArithmeticException_methods, swig_Mezzanine_ArithmeticException_attributes, swig_Mezzanine_ArithmeticException_bases, swig_Mezzanine_ArithmeticException_base_names };
16582 
16583 static int _wrap_new_InvalidVersionException__SWIG_0(lua_State* L) {
16584  int SWIG_arg = 0;
16585  Mezzanine::String *arg1 = 0 ;
16586  Mezzanine::String *arg2 = 0 ;
16587  Mezzanine::String *arg3 = 0 ;
16588  Mezzanine::String *arg4 = 0 ;
16589  Mezzanine::Whole *arg5 = 0 ;
16590  Mezzanine::String temp1 ;
16591  Mezzanine::String temp2 ;
16592  Mezzanine::String temp3 ;
16593  Mezzanine::String temp4 ;
16594  Mezzanine::Whole temp5 ;
16596 
16597  SWIG_check_num_args("Mezzanine::InvalidVersionException::InvalidVersionException",5,5)
16598  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",1,"Mezzanine::String const &");
16599  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",2,"Mezzanine::String const &");
16600  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",3,"Mezzanine::String const &");
16601  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",4,"Mezzanine::String const &");
16602  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",5,"Mezzanine::Whole const &");
16603  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16604  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16605  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16606  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
16607  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
16608  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
16609  result = (Mezzanine::InvalidVersionException *)new Mezzanine::InvalidVersionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
16610  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InvalidVersionException,1); SWIG_arg++;
16611  return SWIG_arg;
16612 
16613  if(0) SWIG_fail;
16614 
16615 fail:
16616  lua_error(L);
16617  return SWIG_arg;
16618 }
16619 
16620 
16621 static int _wrap_new_InvalidVersionException__SWIG_1(lua_State* L) {
16622  int SWIG_arg = 0;
16623  Mezzanine::String *arg1 = 0 ;
16624  Mezzanine::String *arg2 = 0 ;
16625  Mezzanine::String *arg3 = 0 ;
16626  Mezzanine::Whole *arg4 = 0 ;
16627  Mezzanine::String temp1 ;
16628  Mezzanine::String temp2 ;
16629  Mezzanine::String temp3 ;
16630  Mezzanine::Whole temp4 ;
16632 
16633  SWIG_check_num_args("Mezzanine::InvalidVersionException::InvalidVersionException",4,4)
16634  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",1,"Mezzanine::String const &");
16635  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",2,"Mezzanine::String const &");
16636  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",3,"Mezzanine::String const &");
16637  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InvalidVersionException::InvalidVersionException",4,"Mezzanine::Whole const &");
16638  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16639  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16640  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16641  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
16642  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
16643  result = (Mezzanine::InvalidVersionException *)new Mezzanine::InvalidVersionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
16644  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InvalidVersionException,1); SWIG_arg++;
16645  return SWIG_arg;
16646 
16647  if(0) SWIG_fail;
16648 
16649 fail:
16650  lua_error(L);
16651  return SWIG_arg;
16652 }
16653 
16654 
16655 static int _wrap_new_InvalidVersionException(lua_State* L) {
16656  int argc;
16657  int argv[6]={
16658  1,2,3,4,5,6
16659  };
16660 
16661  argc = lua_gettop(L);
16662  if (argc == 4) {
16663  int _v;
16664  {
16665  _v = lua_isstring(L,argv[0]);
16666  }
16667  if (_v) {
16668  {
16669  _v = lua_isstring(L,argv[1]);
16670  }
16671  if (_v) {
16672  {
16673  _v = lua_isstring(L,argv[2]);
16674  }
16675  if (_v) {
16676  {
16677  _v = lua_isnumber(L,argv[3]);
16678  }
16679  if (_v) {
16680  return _wrap_new_InvalidVersionException__SWIG_1(L);
16681  }
16682  }
16683  }
16684  }
16685  }
16686  if (argc == 5) {
16687  int _v;
16688  {
16689  _v = lua_isstring(L,argv[0]);
16690  }
16691  if (_v) {
16692  {
16693  _v = lua_isstring(L,argv[1]);
16694  }
16695  if (_v) {
16696  {
16697  _v = lua_isstring(L,argv[2]);
16698  }
16699  if (_v) {
16700  {
16701  _v = lua_isstring(L,argv[3]);
16702  }
16703  if (_v) {
16704  {
16705  _v = lua_isnumber(L,argv[4]);
16706  }
16707  if (_v) {
16708  return _wrap_new_InvalidVersionException__SWIG_0(L);
16709  }
16710  }
16711  }
16712  }
16713  }
16714  }
16715 
16716  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InvalidVersionException'\n"
16717  " Possible C/C++ prototypes are:\n"
16718  " Mezzanine::InvalidVersionException::InvalidVersionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
16719  " Mezzanine::InvalidVersionException::InvalidVersionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
16720  lua_error(L);return 0;
16721 }
16722 
16723 
16724 static int _wrap_InvalidVersionException_GetExceptionCode(lua_State* L) {
16725  int SWIG_arg = 0;
16727  Mezzanine::Whole result;
16728 
16729  SWIG_check_num_args("Mezzanine::InvalidVersionException::GetExceptionCode",1,1)
16730  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InvalidVersionException::GetExceptionCode",1,"Mezzanine::InvalidVersionException const *");
16731 
16732  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InvalidVersionException,0))){
16733  SWIG_fail_ptr("InvalidVersionException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InvalidVersionException);
16734  }
16735 
16736  result = (Mezzanine::Whole)((Mezzanine::InvalidVersionException const *)arg1)->GetExceptionCode();
16737  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16738  return SWIG_arg;
16739 
16740  if(0) SWIG_fail;
16741 
16742 fail:
16743  lua_error(L);
16744  return SWIG_arg;
16745 }
16746 
16747 
16748 static void swig_delete_InvalidVersionException(void *obj) {
16750 delete arg1;
16751 }
16752 static swig_lua_method swig_Mezzanine_InvalidVersionException_methods[] = {
16753  {"GetExceptionCode", _wrap_InvalidVersionException_GetExceptionCode},
16754  {0,0}
16755 };
16756 static swig_lua_attribute swig_Mezzanine_InvalidVersionException_attributes[] = {
16757  {0,0,0}
16758 };
16759 static swig_lua_class *swig_Mezzanine_InvalidVersionException_bases[] = {0,0};
16760 static const char *swig_Mezzanine_InvalidVersionException_base_names[] = {"Mezzanine::Exception *",0};
16761 static swig_lua_class _wrap_class_Mezzanine_InvalidVersionException = { "InvalidVersionException", &SWIGTYPE_p_Mezzanine__InvalidVersionException,_wrap_new_InvalidVersionException, swig_delete_InvalidVersionException, swig_Mezzanine_InvalidVersionException_methods, swig_Mezzanine_InvalidVersionException_attributes, swig_Mezzanine_InvalidVersionException_bases, swig_Mezzanine_InvalidVersionException_base_names };
16762 
16763 static int _wrap_new_InvalidStateException__SWIG_0(lua_State* L) {
16764  int SWIG_arg = 0;
16765  Mezzanine::String *arg1 = 0 ;
16766  Mezzanine::String *arg2 = 0 ;
16767  Mezzanine::String *arg3 = 0 ;
16768  Mezzanine::String *arg4 = 0 ;
16769  Mezzanine::Whole *arg5 = 0 ;
16770  Mezzanine::String temp1 ;
16771  Mezzanine::String temp2 ;
16772  Mezzanine::String temp3 ;
16773  Mezzanine::String temp4 ;
16774  Mezzanine::Whole temp5 ;
16775  Mezzanine::InvalidStateException *result = 0 ;
16776 
16777  SWIG_check_num_args("Mezzanine::InvalidStateException::InvalidStateException",5,5)
16778  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",1,"Mezzanine::String const &");
16779  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",2,"Mezzanine::String const &");
16780  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",3,"Mezzanine::String const &");
16781  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",4,"Mezzanine::String const &");
16782  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",5,"Mezzanine::Whole const &");
16783  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16784  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16785  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16786  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
16787  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
16788  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
16789  result = (Mezzanine::InvalidStateException *)new Mezzanine::InvalidStateException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
16790  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InvalidStateException,1); SWIG_arg++;
16791  return SWIG_arg;
16792 
16793  if(0) SWIG_fail;
16794 
16795 fail:
16796  lua_error(L);
16797  return SWIG_arg;
16798 }
16799 
16800 
16801 static int _wrap_new_InvalidStateException__SWIG_1(lua_State* L) {
16802  int SWIG_arg = 0;
16803  Mezzanine::String *arg1 = 0 ;
16804  Mezzanine::String *arg2 = 0 ;
16805  Mezzanine::String *arg3 = 0 ;
16806  Mezzanine::Whole *arg4 = 0 ;
16807  Mezzanine::String temp1 ;
16808  Mezzanine::String temp2 ;
16809  Mezzanine::String temp3 ;
16810  Mezzanine::Whole temp4 ;
16811  Mezzanine::InvalidStateException *result = 0 ;
16812 
16813  SWIG_check_num_args("Mezzanine::InvalidStateException::InvalidStateException",4,4)
16814  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",1,"Mezzanine::String const &");
16815  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",2,"Mezzanine::String const &");
16816  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",3,"Mezzanine::String const &");
16817  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InvalidStateException::InvalidStateException",4,"Mezzanine::Whole const &");
16818  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16819  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16820  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16821  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
16822  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
16823  result = (Mezzanine::InvalidStateException *)new Mezzanine::InvalidStateException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
16824  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InvalidStateException,1); SWIG_arg++;
16825  return SWIG_arg;
16826 
16827  if(0) SWIG_fail;
16828 
16829 fail:
16830  lua_error(L);
16831  return SWIG_arg;
16832 }
16833 
16834 
16835 static int _wrap_new_InvalidStateException(lua_State* L) {
16836  int argc;
16837  int argv[6]={
16838  1,2,3,4,5,6
16839  };
16840 
16841  argc = lua_gettop(L);
16842  if (argc == 4) {
16843  int _v;
16844  {
16845  _v = lua_isstring(L,argv[0]);
16846  }
16847  if (_v) {
16848  {
16849  _v = lua_isstring(L,argv[1]);
16850  }
16851  if (_v) {
16852  {
16853  _v = lua_isstring(L,argv[2]);
16854  }
16855  if (_v) {
16856  {
16857  _v = lua_isnumber(L,argv[3]);
16858  }
16859  if (_v) {
16860  return _wrap_new_InvalidStateException__SWIG_1(L);
16861  }
16862  }
16863  }
16864  }
16865  }
16866  if (argc == 5) {
16867  int _v;
16868  {
16869  _v = lua_isstring(L,argv[0]);
16870  }
16871  if (_v) {
16872  {
16873  _v = lua_isstring(L,argv[1]);
16874  }
16875  if (_v) {
16876  {
16877  _v = lua_isstring(L,argv[2]);
16878  }
16879  if (_v) {
16880  {
16881  _v = lua_isstring(L,argv[3]);
16882  }
16883  if (_v) {
16884  {
16885  _v = lua_isnumber(L,argv[4]);
16886  }
16887  if (_v) {
16888  return _wrap_new_InvalidStateException__SWIG_0(L);
16889  }
16890  }
16891  }
16892  }
16893  }
16894  }
16895 
16896  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InvalidStateException'\n"
16897  " Possible C/C++ prototypes are:\n"
16898  " Mezzanine::InvalidStateException::InvalidStateException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
16899  " Mezzanine::InvalidStateException::InvalidStateException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
16900  lua_error(L);return 0;
16901 }
16902 
16903 
16904 static int _wrap_InvalidStateException_GetExceptionCode(lua_State* L) {
16905  int SWIG_arg = 0;
16907  Mezzanine::Whole result;
16908 
16909  SWIG_check_num_args("Mezzanine::InvalidStateException::GetExceptionCode",1,1)
16910  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InvalidStateException::GetExceptionCode",1,"Mezzanine::InvalidStateException const *");
16911 
16912  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InvalidStateException,0))){
16913  SWIG_fail_ptr("InvalidStateException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InvalidStateException);
16914  }
16915 
16916  result = (Mezzanine::Whole)((Mezzanine::InvalidStateException const *)arg1)->GetExceptionCode();
16917  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16918  return SWIG_arg;
16919 
16920  if(0) SWIG_fail;
16921 
16922 fail:
16923  lua_error(L);
16924  return SWIG_arg;
16925 }
16926 
16927 
16928 static void swig_delete_InvalidStateException(void *obj) {
16930 delete arg1;
16931 }
16932 static swig_lua_method swig_Mezzanine_InvalidStateException_methods[] = {
16933  {"GetExceptionCode", _wrap_InvalidStateException_GetExceptionCode},
16934  {0,0}
16935 };
16936 static swig_lua_attribute swig_Mezzanine_InvalidStateException_attributes[] = {
16937  {0,0,0}
16938 };
16939 static swig_lua_class *swig_Mezzanine_InvalidStateException_bases[] = {0,0};
16940 static const char *swig_Mezzanine_InvalidStateException_base_names[] = {"Mezzanine::Exception *",0};
16941 static swig_lua_class _wrap_class_Mezzanine_InvalidStateException = { "InvalidStateException", &SWIGTYPE_p_Mezzanine__InvalidStateException,_wrap_new_InvalidStateException, swig_delete_InvalidStateException, swig_Mezzanine_InvalidStateException_methods, swig_Mezzanine_InvalidStateException_attributes, swig_Mezzanine_InvalidStateException_bases, swig_Mezzanine_InvalidStateException_base_names };
16942 
16943 static int _wrap_new_RenderingAPIException__SWIG_0(lua_State* L) {
16944  int SWIG_arg = 0;
16945  Mezzanine::String *arg1 = 0 ;
16946  Mezzanine::String *arg2 = 0 ;
16947  Mezzanine::String *arg3 = 0 ;
16948  Mezzanine::String *arg4 = 0 ;
16949  Mezzanine::Whole *arg5 = 0 ;
16950  Mezzanine::String temp1 ;
16951  Mezzanine::String temp2 ;
16952  Mezzanine::String temp3 ;
16953  Mezzanine::String temp4 ;
16954  Mezzanine::Whole temp5 ;
16955  Mezzanine::RenderingAPIException *result = 0 ;
16956 
16957  SWIG_check_num_args("Mezzanine::RenderingAPIException::RenderingAPIException",5,5)
16958  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",1,"Mezzanine::String const &");
16959  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",2,"Mezzanine::String const &");
16960  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",3,"Mezzanine::String const &");
16961  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",4,"Mezzanine::String const &");
16962  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",5,"Mezzanine::Whole const &");
16963  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16964  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
16965  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
16966  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
16967  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
16968  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
16969  result = (Mezzanine::RenderingAPIException *)new Mezzanine::RenderingAPIException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
16970  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__RenderingAPIException,1); SWIG_arg++;
16971  return SWIG_arg;
16972 
16973  if(0) SWIG_fail;
16974 
16975 fail:
16976  lua_error(L);
16977  return SWIG_arg;
16978 }
16979 
16980 
16981 static int _wrap_new_RenderingAPIException__SWIG_1(lua_State* L) {
16982  int SWIG_arg = 0;
16983  Mezzanine::String *arg1 = 0 ;
16984  Mezzanine::String *arg2 = 0 ;
16985  Mezzanine::String *arg3 = 0 ;
16986  Mezzanine::Whole *arg4 = 0 ;
16987  Mezzanine::String temp1 ;
16988  Mezzanine::String temp2 ;
16989  Mezzanine::String temp3 ;
16990  Mezzanine::Whole temp4 ;
16991  Mezzanine::RenderingAPIException *result = 0 ;
16992 
16993  SWIG_check_num_args("Mezzanine::RenderingAPIException::RenderingAPIException",4,4)
16994  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",1,"Mezzanine::String const &");
16995  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",2,"Mezzanine::String const &");
16996  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",3,"Mezzanine::String const &");
16997  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::RenderingAPIException::RenderingAPIException",4,"Mezzanine::Whole const &");
16998  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
16999  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17000  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17001  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
17002  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
17003  result = (Mezzanine::RenderingAPIException *)new Mezzanine::RenderingAPIException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
17004  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__RenderingAPIException,1); SWIG_arg++;
17005  return SWIG_arg;
17006 
17007  if(0) SWIG_fail;
17008 
17009 fail:
17010  lua_error(L);
17011  return SWIG_arg;
17012 }
17013 
17014 
17015 static int _wrap_new_RenderingAPIException(lua_State* L) {
17016  int argc;
17017  int argv[6]={
17018  1,2,3,4,5,6
17019  };
17020 
17021  argc = lua_gettop(L);
17022  if (argc == 4) {
17023  int _v;
17024  {
17025  _v = lua_isstring(L,argv[0]);
17026  }
17027  if (_v) {
17028  {
17029  _v = lua_isstring(L,argv[1]);
17030  }
17031  if (_v) {
17032  {
17033  _v = lua_isstring(L,argv[2]);
17034  }
17035  if (_v) {
17036  {
17037  _v = lua_isnumber(L,argv[3]);
17038  }
17039  if (_v) {
17040  return _wrap_new_RenderingAPIException__SWIG_1(L);
17041  }
17042  }
17043  }
17044  }
17045  }
17046  if (argc == 5) {
17047  int _v;
17048  {
17049  _v = lua_isstring(L,argv[0]);
17050  }
17051  if (_v) {
17052  {
17053  _v = lua_isstring(L,argv[1]);
17054  }
17055  if (_v) {
17056  {
17057  _v = lua_isstring(L,argv[2]);
17058  }
17059  if (_v) {
17060  {
17061  _v = lua_isstring(L,argv[3]);
17062  }
17063  if (_v) {
17064  {
17065  _v = lua_isnumber(L,argv[4]);
17066  }
17067  if (_v) {
17068  return _wrap_new_RenderingAPIException__SWIG_0(L);
17069  }
17070  }
17071  }
17072  }
17073  }
17074  }
17075 
17076  lua_pushstring(L,"Wrong arguments for overloaded function 'new_RenderingAPIException'\n"
17077  " Possible C/C++ prototypes are:\n"
17078  " Mezzanine::RenderingAPIException::RenderingAPIException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
17079  " Mezzanine::RenderingAPIException::RenderingAPIException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
17080  lua_error(L);return 0;
17081 }
17082 
17083 
17084 static int _wrap_RenderingAPIException_GetExceptionCode(lua_State* L) {
17085  int SWIG_arg = 0;
17087  Mezzanine::Whole result;
17088 
17089  SWIG_check_num_args("Mezzanine::RenderingAPIException::GetExceptionCode",1,1)
17090  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::RenderingAPIException::GetExceptionCode",1,"Mezzanine::RenderingAPIException const *");
17091 
17092  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__RenderingAPIException,0))){
17093  SWIG_fail_ptr("RenderingAPIException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__RenderingAPIException);
17094  }
17095 
17096  result = (Mezzanine::Whole)((Mezzanine::RenderingAPIException const *)arg1)->GetExceptionCode();
17097  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17098  return SWIG_arg;
17099 
17100  if(0) SWIG_fail;
17101 
17102 fail:
17103  lua_error(L);
17104  return SWIG_arg;
17105 }
17106 
17107 
17108 static void swig_delete_RenderingAPIException(void *obj) {
17110 delete arg1;
17111 }
17112 static swig_lua_method swig_Mezzanine_RenderingAPIException_methods[] = {
17113  {"GetExceptionCode", _wrap_RenderingAPIException_GetExceptionCode},
17114  {0,0}
17115 };
17116 static swig_lua_attribute swig_Mezzanine_RenderingAPIException_attributes[] = {
17117  {0,0,0}
17118 };
17119 static swig_lua_class *swig_Mezzanine_RenderingAPIException_bases[] = {0,0};
17120 static const char *swig_Mezzanine_RenderingAPIException_base_names[] = {"Mezzanine::Exception *",0};
17121 static swig_lua_class _wrap_class_Mezzanine_RenderingAPIException = { "RenderingAPIException", &SWIGTYPE_p_Mezzanine__RenderingAPIException,_wrap_new_RenderingAPIException, swig_delete_RenderingAPIException, swig_Mezzanine_RenderingAPIException_methods, swig_Mezzanine_RenderingAPIException_attributes, swig_Mezzanine_RenderingAPIException_bases, swig_Mezzanine_RenderingAPIException_base_names };
17122 
17123 static int _wrap_new_RuntimeAssertionException__SWIG_0(lua_State* L) {
17124  int SWIG_arg = 0;
17125  Mezzanine::String *arg1 = 0 ;
17126  Mezzanine::String *arg2 = 0 ;
17127  Mezzanine::String *arg3 = 0 ;
17128  Mezzanine::String *arg4 = 0 ;
17129  Mezzanine::Whole *arg5 = 0 ;
17130  Mezzanine::String temp1 ;
17131  Mezzanine::String temp2 ;
17132  Mezzanine::String temp3 ;
17133  Mezzanine::String temp4 ;
17134  Mezzanine::Whole temp5 ;
17136 
17137  SWIG_check_num_args("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",5,5)
17138  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",1,"Mezzanine::String const &");
17139  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",2,"Mezzanine::String const &");
17140  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",3,"Mezzanine::String const &");
17141  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",4,"Mezzanine::String const &");
17142  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",5,"Mezzanine::Whole const &");
17143  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17144  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17145  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17146  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
17147  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
17148  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
17149  result = (Mezzanine::RuntimeAssertionException *)new Mezzanine::RuntimeAssertionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
17150  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__RuntimeAssertionException,1); SWIG_arg++;
17151  return SWIG_arg;
17152 
17153  if(0) SWIG_fail;
17154 
17155 fail:
17156  lua_error(L);
17157  return SWIG_arg;
17158 }
17159 
17160 
17161 static int _wrap_new_RuntimeAssertionException__SWIG_1(lua_State* L) {
17162  int SWIG_arg = 0;
17163  Mezzanine::String *arg1 = 0 ;
17164  Mezzanine::String *arg2 = 0 ;
17165  Mezzanine::String *arg3 = 0 ;
17166  Mezzanine::Whole *arg4 = 0 ;
17167  Mezzanine::String temp1 ;
17168  Mezzanine::String temp2 ;
17169  Mezzanine::String temp3 ;
17170  Mezzanine::Whole temp4 ;
17172 
17173  SWIG_check_num_args("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",4,4)
17174  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",1,"Mezzanine::String const &");
17175  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",2,"Mezzanine::String const &");
17176  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",3,"Mezzanine::String const &");
17177  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::RuntimeAssertionException",4,"Mezzanine::Whole const &");
17178  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17179  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17180  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17181  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
17182  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
17183  result = (Mezzanine::RuntimeAssertionException *)new Mezzanine::RuntimeAssertionException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
17184  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__RuntimeAssertionException,1); SWIG_arg++;
17185  return SWIG_arg;
17186 
17187  if(0) SWIG_fail;
17188 
17189 fail:
17190  lua_error(L);
17191  return SWIG_arg;
17192 }
17193 
17194 
17195 static int _wrap_new_RuntimeAssertionException(lua_State* L) {
17196  int argc;
17197  int argv[6]={
17198  1,2,3,4,5,6
17199  };
17200 
17201  argc = lua_gettop(L);
17202  if (argc == 4) {
17203  int _v;
17204  {
17205  _v = lua_isstring(L,argv[0]);
17206  }
17207  if (_v) {
17208  {
17209  _v = lua_isstring(L,argv[1]);
17210  }
17211  if (_v) {
17212  {
17213  _v = lua_isstring(L,argv[2]);
17214  }
17215  if (_v) {
17216  {
17217  _v = lua_isnumber(L,argv[3]);
17218  }
17219  if (_v) {
17220  return _wrap_new_RuntimeAssertionException__SWIG_1(L);
17221  }
17222  }
17223  }
17224  }
17225  }
17226  if (argc == 5) {
17227  int _v;
17228  {
17229  _v = lua_isstring(L,argv[0]);
17230  }
17231  if (_v) {
17232  {
17233  _v = lua_isstring(L,argv[1]);
17234  }
17235  if (_v) {
17236  {
17237  _v = lua_isstring(L,argv[2]);
17238  }
17239  if (_v) {
17240  {
17241  _v = lua_isstring(L,argv[3]);
17242  }
17243  if (_v) {
17244  {
17245  _v = lua_isnumber(L,argv[4]);
17246  }
17247  if (_v) {
17248  return _wrap_new_RuntimeAssertionException__SWIG_0(L);
17249  }
17250  }
17251  }
17252  }
17253  }
17254  }
17255 
17256  lua_pushstring(L,"Wrong arguments for overloaded function 'new_RuntimeAssertionException'\n"
17257  " Possible C/C++ prototypes are:\n"
17258  " Mezzanine::RuntimeAssertionException::RuntimeAssertionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
17259  " Mezzanine::RuntimeAssertionException::RuntimeAssertionException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
17260  lua_error(L);return 0;
17261 }
17262 
17263 
17264 static int _wrap_RuntimeAssertionException_GetExceptionCode(lua_State* L) {
17265  int SWIG_arg = 0;
17267  Mezzanine::Whole result;
17268 
17269  SWIG_check_num_args("Mezzanine::RuntimeAssertionException::GetExceptionCode",1,1)
17270  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::RuntimeAssertionException::GetExceptionCode",1,"Mezzanine::RuntimeAssertionException const *");
17271 
17272  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__RuntimeAssertionException,0))){
17273  SWIG_fail_ptr("RuntimeAssertionException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__RuntimeAssertionException);
17274  }
17275 
17276  result = (Mezzanine::Whole)((Mezzanine::RuntimeAssertionException const *)arg1)->GetExceptionCode();
17277  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17278  return SWIG_arg;
17279 
17280  if(0) SWIG_fail;
17281 
17282 fail:
17283  lua_error(L);
17284  return SWIG_arg;
17285 }
17286 
17287 
17288 static void swig_delete_RuntimeAssertionException(void *obj) {
17290 delete arg1;
17291 }
17292 static swig_lua_method swig_Mezzanine_RuntimeAssertionException_methods[] = {
17293  {"GetExceptionCode", _wrap_RuntimeAssertionException_GetExceptionCode},
17294  {0,0}
17295 };
17296 static swig_lua_attribute swig_Mezzanine_RuntimeAssertionException_attributes[] = {
17297  {0,0,0}
17298 };
17299 static swig_lua_class *swig_Mezzanine_RuntimeAssertionException_bases[] = {0,0};
17300 static const char *swig_Mezzanine_RuntimeAssertionException_base_names[] = {"Mezzanine::Exception *",0};
17301 static swig_lua_class _wrap_class_Mezzanine_RuntimeAssertionException = { "RuntimeAssertionException", &SWIGTYPE_p_Mezzanine__RuntimeAssertionException,_wrap_new_RuntimeAssertionException, swig_delete_RuntimeAssertionException, swig_Mezzanine_RuntimeAssertionException_methods, swig_Mezzanine_RuntimeAssertionException_attributes, swig_Mezzanine_RuntimeAssertionException_bases, swig_Mezzanine_RuntimeAssertionException_base_names };
17302 
17303 static int _wrap_new_InternalException__SWIG_0(lua_State* L) {
17304  int SWIG_arg = 0;
17305  Mezzanine::String *arg1 = 0 ;
17306  Mezzanine::String *arg2 = 0 ;
17307  Mezzanine::String *arg3 = 0 ;
17308  Mezzanine::String *arg4 = 0 ;
17309  Mezzanine::Whole *arg5 = 0 ;
17310  Mezzanine::String temp1 ;
17311  Mezzanine::String temp2 ;
17312  Mezzanine::String temp3 ;
17313  Mezzanine::String temp4 ;
17314  Mezzanine::Whole temp5 ;
17315  Mezzanine::InternalException *result = 0 ;
17316 
17317  SWIG_check_num_args("Mezzanine::InternalException::InternalException",5,5)
17318  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",1,"Mezzanine::String const &");
17319  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",2,"Mezzanine::String const &");
17320  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",3,"Mezzanine::String const &");
17321  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",4,"Mezzanine::String const &");
17322  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",5,"Mezzanine::Whole const &");
17323  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17324  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17325  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17326  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
17327  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
17328  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
17329  result = (Mezzanine::InternalException *)new Mezzanine::InternalException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
17330  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InternalException,1); SWIG_arg++;
17331  return SWIG_arg;
17332 
17333  if(0) SWIG_fail;
17334 
17335 fail:
17336  lua_error(L);
17337  return SWIG_arg;
17338 }
17339 
17340 
17341 static int _wrap_new_InternalException__SWIG_1(lua_State* L) {
17342  int SWIG_arg = 0;
17343  Mezzanine::String *arg1 = 0 ;
17344  Mezzanine::String *arg2 = 0 ;
17345  Mezzanine::String *arg3 = 0 ;
17346  Mezzanine::Whole *arg4 = 0 ;
17347  Mezzanine::String temp1 ;
17348  Mezzanine::String temp2 ;
17349  Mezzanine::String temp3 ;
17350  Mezzanine::Whole temp4 ;
17351  Mezzanine::InternalException *result = 0 ;
17352 
17353  SWIG_check_num_args("Mezzanine::InternalException::InternalException",4,4)
17354  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",1,"Mezzanine::String const &");
17355  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",2,"Mezzanine::String const &");
17356  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",3,"Mezzanine::String const &");
17357  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InternalException::InternalException",4,"Mezzanine::Whole const &");
17358  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17359  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17360  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17361  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
17362  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
17363  result = (Mezzanine::InternalException *)new Mezzanine::InternalException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
17364  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InternalException,1); SWIG_arg++;
17365  return SWIG_arg;
17366 
17367  if(0) SWIG_fail;
17368 
17369 fail:
17370  lua_error(L);
17371  return SWIG_arg;
17372 }
17373 
17374 
17375 static int _wrap_new_InternalException(lua_State* L) {
17376  int argc;
17377  int argv[6]={
17378  1,2,3,4,5,6
17379  };
17380 
17381  argc = lua_gettop(L);
17382  if (argc == 4) {
17383  int _v;
17384  {
17385  _v = lua_isstring(L,argv[0]);
17386  }
17387  if (_v) {
17388  {
17389  _v = lua_isstring(L,argv[1]);
17390  }
17391  if (_v) {
17392  {
17393  _v = lua_isstring(L,argv[2]);
17394  }
17395  if (_v) {
17396  {
17397  _v = lua_isnumber(L,argv[3]);
17398  }
17399  if (_v) {
17400  return _wrap_new_InternalException__SWIG_1(L);
17401  }
17402  }
17403  }
17404  }
17405  }
17406  if (argc == 5) {
17407  int _v;
17408  {
17409  _v = lua_isstring(L,argv[0]);
17410  }
17411  if (_v) {
17412  {
17413  _v = lua_isstring(L,argv[1]);
17414  }
17415  if (_v) {
17416  {
17417  _v = lua_isstring(L,argv[2]);
17418  }
17419  if (_v) {
17420  {
17421  _v = lua_isstring(L,argv[3]);
17422  }
17423  if (_v) {
17424  {
17425  _v = lua_isnumber(L,argv[4]);
17426  }
17427  if (_v) {
17428  return _wrap_new_InternalException__SWIG_0(L);
17429  }
17430  }
17431  }
17432  }
17433  }
17434  }
17435 
17436  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InternalException'\n"
17437  " Possible C/C++ prototypes are:\n"
17438  " Mezzanine::InternalException::InternalException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
17439  " Mezzanine::InternalException::InternalException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
17440  lua_error(L);return 0;
17441 }
17442 
17443 
17444 static int _wrap_InternalException_GetExceptionCode(lua_State* L) {
17445  int SWIG_arg = 0;
17447  Mezzanine::Whole result;
17448 
17449  SWIG_check_num_args("Mezzanine::InternalException::GetExceptionCode",1,1)
17450  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InternalException::GetExceptionCode",1,"Mezzanine::InternalException const *");
17451 
17452  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InternalException,0))){
17453  SWIG_fail_ptr("InternalException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InternalException);
17454  }
17455 
17456  result = (Mezzanine::Whole)((Mezzanine::InternalException const *)arg1)->GetExceptionCode();
17457  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17458  return SWIG_arg;
17459 
17460  if(0) SWIG_fail;
17461 
17462 fail:
17463  lua_error(L);
17464  return SWIG_arg;
17465 }
17466 
17467 
17468 static void swig_delete_InternalException(void *obj) {
17470 delete arg1;
17471 }
17472 static swig_lua_method swig_Mezzanine_InternalException_methods[] = {
17473  {"GetExceptionCode", _wrap_InternalException_GetExceptionCode},
17474  {0,0}
17475 };
17476 static swig_lua_attribute swig_Mezzanine_InternalException_attributes[] = {
17477  {0,0,0}
17478 };
17479 static swig_lua_class *swig_Mezzanine_InternalException_bases[] = {0,0};
17480 static const char *swig_Mezzanine_InternalException_base_names[] = {"Mezzanine::Exception *",0};
17481 static swig_lua_class _wrap_class_Mezzanine_InternalException = { "InternalException", &SWIGTYPE_p_Mezzanine__InternalException,_wrap_new_InternalException, swig_delete_InternalException, swig_Mezzanine_InternalException_methods, swig_Mezzanine_InternalException_attributes, swig_Mezzanine_InternalException_bases, swig_Mezzanine_InternalException_base_names };
17482 
17483 static int _wrap_new_NotImplementedException__SWIG_0(lua_State* L) {
17484  int SWIG_arg = 0;
17485  Mezzanine::String *arg1 = 0 ;
17486  Mezzanine::String *arg2 = 0 ;
17487  Mezzanine::String *arg3 = 0 ;
17488  Mezzanine::String *arg4 = 0 ;
17489  Mezzanine::Whole *arg5 = 0 ;
17490  Mezzanine::String temp1 ;
17491  Mezzanine::String temp2 ;
17492  Mezzanine::String temp3 ;
17493  Mezzanine::String temp4 ;
17494  Mezzanine::Whole temp5 ;
17496 
17497  SWIG_check_num_args("Mezzanine::NotImplementedException::NotImplementedException",5,5)
17498  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",1,"Mezzanine::String const &");
17499  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",2,"Mezzanine::String const &");
17500  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",3,"Mezzanine::String const &");
17501  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",4,"Mezzanine::String const &");
17502  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",5,"Mezzanine::Whole const &");
17503  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17504  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17505  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17506  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
17507  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
17508  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
17509  result = (Mezzanine::NotImplementedException *)new Mezzanine::NotImplementedException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
17510  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NotImplementedException,1); SWIG_arg++;
17511  return SWIG_arg;
17512 
17513  if(0) SWIG_fail;
17514 
17515 fail:
17516  lua_error(L);
17517  return SWIG_arg;
17518 }
17519 
17520 
17521 static int _wrap_new_NotImplementedException__SWIG_1(lua_State* L) {
17522  int SWIG_arg = 0;
17523  Mezzanine::String *arg1 = 0 ;
17524  Mezzanine::String *arg2 = 0 ;
17525  Mezzanine::String *arg3 = 0 ;
17526  Mezzanine::Whole *arg4 = 0 ;
17527  Mezzanine::String temp1 ;
17528  Mezzanine::String temp2 ;
17529  Mezzanine::String temp3 ;
17530  Mezzanine::Whole temp4 ;
17532 
17533  SWIG_check_num_args("Mezzanine::NotImplementedException::NotImplementedException",4,4)
17534  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",1,"Mezzanine::String const &");
17535  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",2,"Mezzanine::String const &");
17536  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",3,"Mezzanine::String const &");
17537  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::NotImplementedException::NotImplementedException",4,"Mezzanine::Whole const &");
17538  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17539  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17540  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17541  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
17542  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
17543  result = (Mezzanine::NotImplementedException *)new Mezzanine::NotImplementedException((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
17544  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__NotImplementedException,1); SWIG_arg++;
17545  return SWIG_arg;
17546 
17547  if(0) SWIG_fail;
17548 
17549 fail:
17550  lua_error(L);
17551  return SWIG_arg;
17552 }
17553 
17554 
17555 static int _wrap_new_NotImplementedException(lua_State* L) {
17556  int argc;
17557  int argv[6]={
17558  1,2,3,4,5,6
17559  };
17560 
17561  argc = lua_gettop(L);
17562  if (argc == 4) {
17563  int _v;
17564  {
17565  _v = lua_isstring(L,argv[0]);
17566  }
17567  if (_v) {
17568  {
17569  _v = lua_isstring(L,argv[1]);
17570  }
17571  if (_v) {
17572  {
17573  _v = lua_isstring(L,argv[2]);
17574  }
17575  if (_v) {
17576  {
17577  _v = lua_isnumber(L,argv[3]);
17578  }
17579  if (_v) {
17580  return _wrap_new_NotImplementedException__SWIG_1(L);
17581  }
17582  }
17583  }
17584  }
17585  }
17586  if (argc == 5) {
17587  int _v;
17588  {
17589  _v = lua_isstring(L,argv[0]);
17590  }
17591  if (_v) {
17592  {
17593  _v = lua_isstring(L,argv[1]);
17594  }
17595  if (_v) {
17596  {
17597  _v = lua_isstring(L,argv[2]);
17598  }
17599  if (_v) {
17600  {
17601  _v = lua_isstring(L,argv[3]);
17602  }
17603  if (_v) {
17604  {
17605  _v = lua_isnumber(L,argv[4]);
17606  }
17607  if (_v) {
17608  return _wrap_new_NotImplementedException__SWIG_0(L);
17609  }
17610  }
17611  }
17612  }
17613  }
17614  }
17615 
17616  lua_pushstring(L,"Wrong arguments for overloaded function 'new_NotImplementedException'\n"
17617  " Possible C/C++ prototypes are:\n"
17618  " Mezzanine::NotImplementedException::NotImplementedException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
17619  " Mezzanine::NotImplementedException::NotImplementedException(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
17620  lua_error(L);return 0;
17621 }
17622 
17623 
17624 static int _wrap_NotImplementedException_GetExceptionCode(lua_State* L) {
17625  int SWIG_arg = 0;
17627  Mezzanine::Whole result;
17628 
17629  SWIG_check_num_args("Mezzanine::NotImplementedException::GetExceptionCode",1,1)
17630  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::NotImplementedException::GetExceptionCode",1,"Mezzanine::NotImplementedException const *");
17631 
17632  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__NotImplementedException,0))){
17633  SWIG_fail_ptr("NotImplementedException_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__NotImplementedException);
17634  }
17635 
17636  result = (Mezzanine::Whole)((Mezzanine::NotImplementedException const *)arg1)->GetExceptionCode();
17637  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17638  return SWIG_arg;
17639 
17640  if(0) SWIG_fail;
17641 
17642 fail:
17643  lua_error(L);
17644  return SWIG_arg;
17645 }
17646 
17647 
17648 static void swig_delete_NotImplementedException(void *obj) {
17650 delete arg1;
17651 }
17652 static swig_lua_method swig_Mezzanine_NotImplementedException_methods[] = {
17653  {"GetExceptionCode", _wrap_NotImplementedException_GetExceptionCode},
17654  {0,0}
17655 };
17656 static swig_lua_attribute swig_Mezzanine_NotImplementedException_attributes[] = {
17657  {0,0,0}
17658 };
17659 static swig_lua_class *swig_Mezzanine_NotImplementedException_bases[] = {0,0};
17660 static const char *swig_Mezzanine_NotImplementedException_base_names[] = {"Mezzanine::Exception *",0};
17661 static swig_lua_class _wrap_class_Mezzanine_NotImplementedException = { "NotImplementedException", &SWIGTYPE_p_Mezzanine__NotImplementedException,_wrap_new_NotImplementedException, swig_delete_NotImplementedException, swig_Mezzanine_NotImplementedException_methods, swig_Mezzanine_NotImplementedException_attributes, swig_Mezzanine_NotImplementedException_bases, swig_Mezzanine_NotImplementedException_base_names };
17662 
17663 static int _wrap_new_InvalidAssignment__SWIG_0(lua_State* L) {
17664  int SWIG_arg = 0;
17665  Mezzanine::String *arg1 = 0 ;
17666  Mezzanine::String *arg2 = 0 ;
17667  Mezzanine::String *arg3 = 0 ;
17668  Mezzanine::String *arg4 = 0 ;
17669  Mezzanine::Whole *arg5 = 0 ;
17670  Mezzanine::String temp1 ;
17671  Mezzanine::String temp2 ;
17672  Mezzanine::String temp3 ;
17673  Mezzanine::String temp4 ;
17674  Mezzanine::Whole temp5 ;
17675  Mezzanine::InvalidAssignment *result = 0 ;
17676 
17677  SWIG_check_num_args("Mezzanine::InvalidAssignment::InvalidAssignment",5,5)
17678  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",1,"Mezzanine::String const &");
17679  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",2,"Mezzanine::String const &");
17680  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",3,"Mezzanine::String const &");
17681  if(!lua_isstring(L,4)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",4,"Mezzanine::String const &");
17682  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",5,"Mezzanine::Whole const &");
17683  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17684  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17685  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17686  temp4.assign(lua_tostring(L,4),lua_rawlen(L,4)); arg4=&temp4;
17687  SWIG_contract_assert((lua_tonumber(L,5)>=0),"number must not be negative")
17688  temp5=(Mezzanine::Whole)lua_tonumber(L,5); arg5=&temp5;
17689  result = (Mezzanine::InvalidAssignment *)new Mezzanine::InvalidAssignment((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::String const &)*arg4,(Mezzanine::Whole const &)*arg5);
17690  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InvalidAssignment,1); SWIG_arg++;
17691  return SWIG_arg;
17692 
17693  if(0) SWIG_fail;
17694 
17695 fail:
17696  lua_error(L);
17697  return SWIG_arg;
17698 }
17699 
17700 
17701 static int _wrap_new_InvalidAssignment__SWIG_1(lua_State* L) {
17702  int SWIG_arg = 0;
17703  Mezzanine::String *arg1 = 0 ;
17704  Mezzanine::String *arg2 = 0 ;
17705  Mezzanine::String *arg3 = 0 ;
17706  Mezzanine::Whole *arg4 = 0 ;
17707  Mezzanine::String temp1 ;
17708  Mezzanine::String temp2 ;
17709  Mezzanine::String temp3 ;
17710  Mezzanine::Whole temp4 ;
17711  Mezzanine::InvalidAssignment *result = 0 ;
17712 
17713  SWIG_check_num_args("Mezzanine::InvalidAssignment::InvalidAssignment",4,4)
17714  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",1,"Mezzanine::String const &");
17715  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",2,"Mezzanine::String const &");
17716  if(!lua_isstring(L,3)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",3,"Mezzanine::String const &");
17717  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::InvalidAssignment::InvalidAssignment",4,"Mezzanine::Whole const &");
17718  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17719  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17720  temp3.assign(lua_tostring(L,3),lua_rawlen(L,3)); arg3=&temp3;
17721  SWIG_contract_assert((lua_tonumber(L,4)>=0),"number must not be negative")
17722  temp4=(Mezzanine::Whole)lua_tonumber(L,4); arg4=&temp4;
17723  result = (Mezzanine::InvalidAssignment *)new Mezzanine::InvalidAssignment((Mezzanine::String const &)*arg1,(Mezzanine::String const &)*arg2,(Mezzanine::String const &)*arg3,(Mezzanine::Whole const &)*arg4);
17724  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__InvalidAssignment,1); SWIG_arg++;
17725  return SWIG_arg;
17726 
17727  if(0) SWIG_fail;
17728 
17729 fail:
17730  lua_error(L);
17731  return SWIG_arg;
17732 }
17733 
17734 
17735 static int _wrap_new_InvalidAssignment(lua_State* L) {
17736  int argc;
17737  int argv[6]={
17738  1,2,3,4,5,6
17739  };
17740 
17741  argc = lua_gettop(L);
17742  if (argc == 4) {
17743  int _v;
17744  {
17745  _v = lua_isstring(L,argv[0]);
17746  }
17747  if (_v) {
17748  {
17749  _v = lua_isstring(L,argv[1]);
17750  }
17751  if (_v) {
17752  {
17753  _v = lua_isstring(L,argv[2]);
17754  }
17755  if (_v) {
17756  {
17757  _v = lua_isnumber(L,argv[3]);
17758  }
17759  if (_v) {
17760  return _wrap_new_InvalidAssignment__SWIG_1(L);
17761  }
17762  }
17763  }
17764  }
17765  }
17766  if (argc == 5) {
17767  int _v;
17768  {
17769  _v = lua_isstring(L,argv[0]);
17770  }
17771  if (_v) {
17772  {
17773  _v = lua_isstring(L,argv[1]);
17774  }
17775  if (_v) {
17776  {
17777  _v = lua_isstring(L,argv[2]);
17778  }
17779  if (_v) {
17780  {
17781  _v = lua_isstring(L,argv[3]);
17782  }
17783  if (_v) {
17784  {
17785  _v = lua_isnumber(L,argv[4]);
17786  }
17787  if (_v) {
17788  return _wrap_new_InvalidAssignment__SWIG_0(L);
17789  }
17790  }
17791  }
17792  }
17793  }
17794  }
17795 
17796  lua_pushstring(L,"Wrong arguments for overloaded function 'new_InvalidAssignment'\n"
17797  " Possible C/C++ prototypes are:\n"
17798  " Mezzanine::InvalidAssignment::InvalidAssignment(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n"
17799  " Mezzanine::InvalidAssignment::InvalidAssignment(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Whole const &)\n");
17800  lua_error(L);return 0;
17801 }
17802 
17803 
17804 static int _wrap_InvalidAssignment_GetExceptionCode(lua_State* L) {
17805  int SWIG_arg = 0;
17807  Mezzanine::Whole result;
17808 
17809  SWIG_check_num_args("Mezzanine::InvalidAssignment::GetExceptionCode",1,1)
17810  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::InvalidAssignment::GetExceptionCode",1,"Mezzanine::InvalidAssignment const *");
17811 
17812  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__InvalidAssignment,0))){
17813  SWIG_fail_ptr("InvalidAssignment_GetExceptionCode",1,SWIGTYPE_p_Mezzanine__InvalidAssignment);
17814  }
17815 
17816  result = (Mezzanine::Whole)((Mezzanine::InvalidAssignment const *)arg1)->GetExceptionCode();
17817  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
17818  return SWIG_arg;
17819 
17820  if(0) SWIG_fail;
17821 
17822 fail:
17823  lua_error(L);
17824  return SWIG_arg;
17825 }
17826 
17827 
17828 static void swig_delete_InvalidAssignment(void *obj) {
17830 delete arg1;
17831 }
17832 static swig_lua_method swig_Mezzanine_InvalidAssignment_methods[] = {
17833  {"GetExceptionCode", _wrap_InvalidAssignment_GetExceptionCode},
17834  {0,0}
17835 };
17836 static swig_lua_attribute swig_Mezzanine_InvalidAssignment_attributes[] = {
17837  {0,0,0}
17838 };
17839 static swig_lua_class *swig_Mezzanine_InvalidAssignment_bases[] = {0,0};
17840 static const char *swig_Mezzanine_InvalidAssignment_base_names[] = {"Mezzanine::Exception *",0};
17841 static swig_lua_class _wrap_class_Mezzanine_InvalidAssignment = { "InvalidAssignment", &SWIGTYPE_p_Mezzanine__InvalidAssignment,_wrap_new_InvalidAssignment, swig_delete_InvalidAssignment, swig_Mezzanine_InvalidAssignment_methods, swig_Mezzanine_InvalidAssignment_attributes, swig_Mezzanine_InvalidAssignment_bases, swig_Mezzanine_InvalidAssignment_base_names };
17842 
17843 static int _wrap_SerializeError__SWIG_0(lua_State* L) {
17844  int SWIG_arg = 0;
17845  Mezzanine::String *arg1 = 0 ;
17846  Mezzanine::String *arg2 = 0 ;
17847  Mezzanine::Boole arg3 ;
17848  Mezzanine::String temp1 ;
17849  Mezzanine::String temp2 ;
17850 
17851  SWIG_check_num_args("Mezzanine::SerializeError",3,3)
17852  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SerializeError",1,"Mezzanine::String const &");
17853  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SerializeError",2,"Mezzanine::String const &");
17854  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::SerializeError",3,"Mezzanine::Boole");
17855  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17856  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17857  arg3 = (lua_toboolean(L, 3)!=0);
17858  Mezzanine::SerializeError((std::string const &)*arg1,(std::string const &)*arg2,arg3);
17859 
17860  return SWIG_arg;
17861 
17862  if(0) SWIG_fail;
17863 
17864 fail:
17865  lua_error(L);
17866  return SWIG_arg;
17867 }
17868 
17869 
17870 static int _wrap_SerializeError__SWIG_1(lua_State* L) {
17871  int SWIG_arg = 0;
17872  Mezzanine::String *arg1 = 0 ;
17873  Mezzanine::String *arg2 = 0 ;
17874  Mezzanine::String temp1 ;
17875  Mezzanine::String temp2 ;
17876 
17877  SWIG_check_num_args("Mezzanine::SerializeError",2,2)
17878  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::SerializeError",1,"Mezzanine::String const &");
17879  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::SerializeError",2,"Mezzanine::String const &");
17880  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17881  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17882  Mezzanine::SerializeError((std::string const &)*arg1,(std::string const &)*arg2);
17883 
17884  return SWIG_arg;
17885 
17886  if(0) SWIG_fail;
17887 
17888 fail:
17889  lua_error(L);
17890  return SWIG_arg;
17891 }
17892 
17893 
17894 static int _wrap_SerializeError(lua_State* L) {
17895  int argc;
17896  int argv[4]={
17897  1,2,3,4
17898  };
17899 
17900  argc = lua_gettop(L);
17901  if (argc == 2) {
17902  int _v;
17903  {
17904  _v = lua_isstring(L,argv[0]);
17905  }
17906  if (_v) {
17907  {
17908  _v = lua_isstring(L,argv[1]);
17909  }
17910  if (_v) {
17911  return _wrap_SerializeError__SWIG_1(L);
17912  }
17913  }
17914  }
17915  if (argc == 3) {
17916  int _v;
17917  {
17918  _v = lua_isstring(L,argv[0]);
17919  }
17920  if (_v) {
17921  {
17922  _v = lua_isstring(L,argv[1]);
17923  }
17924  if (_v) {
17925  {
17926  _v = lua_isboolean(L,argv[2]);
17927  }
17928  if (_v) {
17929  return _wrap_SerializeError__SWIG_0(L);
17930  }
17931  }
17932  }
17933  }
17934 
17935  lua_pushstring(L,"Wrong arguments for overloaded function 'SerializeError'\n"
17936  " Possible C/C++ prototypes are:\n"
17937  " Mezzanine::SerializeError(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Boole)\n"
17938  " Mezzanine::SerializeError(Mezzanine::String const &,Mezzanine::String const &)\n");
17939  lua_error(L);return 0;
17940 }
17941 
17942 
17943 static int _wrap_DeSerializeError__SWIG_0(lua_State* L) {
17944  int SWIG_arg = 0;
17945  Mezzanine::String *arg1 = 0 ;
17946  Mezzanine::String *arg2 = 0 ;
17947  Mezzanine::Boole arg3 ;
17948  Mezzanine::String temp1 ;
17949  Mezzanine::String temp2 ;
17950 
17951  SWIG_check_num_args("Mezzanine::DeSerializeError",3,3)
17952  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DeSerializeError",1,"Mezzanine::String const &");
17953  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DeSerializeError",2,"Mezzanine::String const &");
17954  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::DeSerializeError",3,"Mezzanine::Boole");
17955  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17956  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17957  arg3 = (lua_toboolean(L, 3)!=0);
17958  Mezzanine::DeSerializeError((std::string const &)*arg1,(std::string const &)*arg2,arg3);
17959 
17960  return SWIG_arg;
17961 
17962  if(0) SWIG_fail;
17963 
17964 fail:
17965  lua_error(L);
17966  return SWIG_arg;
17967 }
17968 
17969 
17970 static int _wrap_DeSerializeError__SWIG_1(lua_State* L) {
17971  int SWIG_arg = 0;
17972  Mezzanine::String *arg1 = 0 ;
17973  Mezzanine::String *arg2 = 0 ;
17974  Mezzanine::String temp1 ;
17975  Mezzanine::String temp2 ;
17976 
17977  SWIG_check_num_args("Mezzanine::DeSerializeError",2,2)
17978  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::DeSerializeError",1,"Mezzanine::String const &");
17979  if(!lua_isstring(L,2)) SWIG_fail_arg("Mezzanine::DeSerializeError",2,"Mezzanine::String const &");
17980  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
17981  temp2.assign(lua_tostring(L,2),lua_rawlen(L,2)); arg2=&temp2;
17982  Mezzanine::DeSerializeError((std::string const &)*arg1,(std::string const &)*arg2);
17983 
17984  return SWIG_arg;
17985 
17986  if(0) SWIG_fail;
17987 
17988 fail:
17989  lua_error(L);
17990  return SWIG_arg;
17991 }
17992 
17993 
17994 static int _wrap_DeSerializeError(lua_State* L) {
17995  int argc;
17996  int argv[4]={
17997  1,2,3,4
17998  };
17999 
18000  argc = lua_gettop(L);
18001  if (argc == 2) {
18002  int _v;
18003  {
18004  _v = lua_isstring(L,argv[0]);
18005  }
18006  if (_v) {
18007  {
18008  _v = lua_isstring(L,argv[1]);
18009  }
18010  if (_v) {
18011  return _wrap_DeSerializeError__SWIG_1(L);
18012  }
18013  }
18014  }
18015  if (argc == 3) {
18016  int _v;
18017  {
18018  _v = lua_isstring(L,argv[0]);
18019  }
18020  if (_v) {
18021  {
18022  _v = lua_isstring(L,argv[1]);
18023  }
18024  if (_v) {
18025  {
18026  _v = lua_isboolean(L,argv[2]);
18027  }
18028  if (_v) {
18029  return _wrap_DeSerializeError__SWIG_0(L);
18030  }
18031  }
18032  }
18033  }
18034 
18035  lua_pushstring(L,"Wrong arguments for overloaded function 'DeSerializeError'\n"
18036  " Possible C/C++ prototypes are:\n"
18037  " Mezzanine::DeSerializeError(Mezzanine::String const &,Mezzanine::String const &,Mezzanine::Boole)\n"
18038  " Mezzanine::DeSerializeError(Mezzanine::String const &,Mezzanine::String const &)\n");
18039  lua_error(L);return 0;
18040 }
18041 
18042 
18043 static int _wrap_Vector3_X_set(lua_State* L) {
18044  int SWIG_arg = 0;
18045  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18046  Mezzanine::Real arg2 ;
18047 
18048  SWIG_check_num_args("Mezzanine::Vector3::X",2,2)
18049  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::X",1,"Mezzanine::Vector3 *");
18050  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::X",2,"Mezzanine::Real");
18051 
18052  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18053  SWIG_fail_ptr("Vector3_X_set",1,SWIGTYPE_p_Mezzanine__Vector3);
18054  }
18055 
18056  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
18057  if (arg1) (arg1)->X = arg2;
18058 
18059  return SWIG_arg;
18060 
18061  if(0) SWIG_fail;
18062 
18063 fail:
18064  lua_error(L);
18065  return SWIG_arg;
18066 }
18067 
18068 
18069 static int _wrap_Vector3_X_get(lua_State* L) {
18070  int SWIG_arg = 0;
18071  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18072  Mezzanine::Real result;
18073 
18074  SWIG_check_num_args("Mezzanine::Vector3::X",1,1)
18075  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::X",1,"Mezzanine::Vector3 *");
18076 
18077  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18078  SWIG_fail_ptr("Vector3_X_get",1,SWIGTYPE_p_Mezzanine__Vector3);
18079  }
18080 
18081  result = (Mezzanine::Real) ((arg1)->X);
18082  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
18083  return SWIG_arg;
18084 
18085  if(0) SWIG_fail;
18086 
18087 fail:
18088  lua_error(L);
18089  return SWIG_arg;
18090 }
18091 
18092 
18093 static int _wrap_Vector3_Y_set(lua_State* L) {
18094  int SWIG_arg = 0;
18095  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18096  Mezzanine::Real arg2 ;
18097 
18098  SWIG_check_num_args("Mezzanine::Vector3::Y",2,2)
18099  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Y",1,"Mezzanine::Vector3 *");
18100  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Y",2,"Mezzanine::Real");
18101 
18102  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18103  SWIG_fail_ptr("Vector3_Y_set",1,SWIGTYPE_p_Mezzanine__Vector3);
18104  }
18105 
18106  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
18107  if (arg1) (arg1)->Y = arg2;
18108 
18109  return SWIG_arg;
18110 
18111  if(0) SWIG_fail;
18112 
18113 fail:
18114  lua_error(L);
18115  return SWIG_arg;
18116 }
18117 
18118 
18119 static int _wrap_Vector3_Y_get(lua_State* L) {
18120  int SWIG_arg = 0;
18121  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18122  Mezzanine::Real result;
18123 
18124  SWIG_check_num_args("Mezzanine::Vector3::Y",1,1)
18125  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Y",1,"Mezzanine::Vector3 *");
18126 
18127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18128  SWIG_fail_ptr("Vector3_Y_get",1,SWIGTYPE_p_Mezzanine__Vector3);
18129  }
18130 
18131  result = (Mezzanine::Real) ((arg1)->Y);
18132  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
18133  return SWIG_arg;
18134 
18135  if(0) SWIG_fail;
18136 
18137 fail:
18138  lua_error(L);
18139  return SWIG_arg;
18140 }
18141 
18142 
18143 static int _wrap_Vector3_Z_set(lua_State* L) {
18144  int SWIG_arg = 0;
18145  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18146  Mezzanine::Real arg2 ;
18147 
18148  SWIG_check_num_args("Mezzanine::Vector3::Z",2,2)
18149  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Z",1,"Mezzanine::Vector3 *");
18150  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Z",2,"Mezzanine::Real");
18151 
18152  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18153  SWIG_fail_ptr("Vector3_Z_set",1,SWIGTYPE_p_Mezzanine__Vector3);
18154  }
18155 
18156  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
18157  if (arg1) (arg1)->Z = arg2;
18158 
18159  return SWIG_arg;
18160 
18161  if(0) SWIG_fail;
18162 
18163 fail:
18164  lua_error(L);
18165  return SWIG_arg;
18166 }
18167 
18168 
18169 static int _wrap_Vector3_Z_get(lua_State* L) {
18170  int SWIG_arg = 0;
18171  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18172  Mezzanine::Real result;
18173 
18174  SWIG_check_num_args("Mezzanine::Vector3::Z",1,1)
18175  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Z",1,"Mezzanine::Vector3 *");
18176 
18177  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18178  SWIG_fail_ptr("Vector3_Z_get",1,SWIGTYPE_p_Mezzanine__Vector3);
18179  }
18180 
18181  result = (Mezzanine::Real) ((arg1)->Z);
18182  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
18183  return SWIG_arg;
18184 
18185  if(0) SWIG_fail;
18186 
18187 fail:
18188  lua_error(L);
18189  return SWIG_arg;
18190 }
18191 
18192 
18193 static int _wrap_Vector3_GetAxisValue(lua_State* L) {
18194  int SWIG_arg = 0;
18195  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18196  Mezzanine::Whole *arg2 = 0 ;
18197  Mezzanine::Whole temp2 ;
18198  Mezzanine::Real result;
18199 
18200  SWIG_check_num_args("Mezzanine::Vector3::GetAxisValue",2,2)
18201  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetAxisValue",1,"Mezzanine::Vector3 const *");
18202  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::GetAxisValue",2,"Mezzanine::Whole const &");
18203 
18204  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18205  SWIG_fail_ptr("Vector3_GetAxisValue",1,SWIGTYPE_p_Mezzanine__Vector3);
18206  }
18207 
18208  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
18209  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
18210  result = (Mezzanine::Real)((Mezzanine::Vector3 const *)arg1)->GetAxisValue((Mezzanine::Whole const &)*arg2);
18211  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
18212  return SWIG_arg;
18213 
18214  if(0) SWIG_fail;
18215 
18216 fail:
18217  lua_error(L);
18218  return SWIG_arg;
18219 }
18220 
18221 
18222 static int _wrap_new_Vector3__SWIG_0(lua_State* L) {
18223  int SWIG_arg = 0;
18224  Mezzanine::Vector3 *result = 0 ;
18225 
18226  SWIG_check_num_args("Mezzanine::Vector3::Vector3",0,0)
18227  result = (Mezzanine::Vector3 *)new Mezzanine::Vector3();
18228  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18229  return SWIG_arg;
18230 
18231  if(0) SWIG_fail;
18232 
18233 fail:
18234  lua_error(L);
18235  return SWIG_arg;
18236 }
18237 
18238 
18239 static int _wrap_new_Vector3__SWIG_1(lua_State* L) {
18240  int SWIG_arg = 0;
18241  Mezzanine::Real *arg1 = 0 ;
18242  Mezzanine::Real *arg2 = 0 ;
18243  Mezzanine::Real *arg3 = 0 ;
18244  Mezzanine::Real temp1 ;
18245  Mezzanine::Real temp2 ;
18246  Mezzanine::Real temp3 ;
18247  Mezzanine::Vector3 *result = 0 ;
18248 
18249  SWIG_check_num_args("Mezzanine::Vector3::Vector3",3,3)
18250  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",1,"Mezzanine::Real const &");
18251  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",2,"Mezzanine::Real const &");
18252  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",3,"Mezzanine::Real const &");
18253  temp1=(Mezzanine::Real)lua_tonumber(L,1); arg1=&temp1;
18254  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
18255  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
18256  result = (Mezzanine::Vector3 *)new Mezzanine::Vector3((Mezzanine::Real const &)*arg1,(Mezzanine::Real const &)*arg2,(Mezzanine::Real const &)*arg3);
18257  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18258  return SWIG_arg;
18259 
18260  if(0) SWIG_fail;
18261 
18262 fail:
18263  lua_error(L);
18264  return SWIG_arg;
18265 }
18266 
18267 
18268 static int _wrap_new_Vector3__SWIG_2(lua_State* L) {
18269  int SWIG_arg = 0;
18270  Ogre::Vector3 *arg1 = 0 ;
18271  Mezzanine::Vector3 *result = 0 ;
18272 
18273  SWIG_check_num_args("Mezzanine::Vector3::Vector3",1,1)
18274  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",1,"Ogre::Vector3 const &");
18275 
18276  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Vector3,0))){
18277  SWIG_fail_ptr("new_Vector3",1,SWIGTYPE_p_Ogre__Vector3);
18278  }
18279 
18280  result = (Mezzanine::Vector3 *)new Mezzanine::Vector3((Ogre::Vector3 const &)*arg1);
18281  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18282  return SWIG_arg;
18283 
18284  if(0) SWIG_fail;
18285 
18286 fail:
18287  lua_error(L);
18288  return SWIG_arg;
18289 }
18290 
18291 
18292 static int _wrap_new_Vector3__SWIG_3(lua_State* L) {
18293  int SWIG_arg = 0;
18294  btVector3 *arg1 = 0 ;
18295  Mezzanine::Vector3 *result = 0 ;
18296 
18297  SWIG_check_num_args("Mezzanine::Vector3::Vector3",1,1)
18298  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",1,"btVector3 const &");
18299 
18300  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btVector3,0))){
18301  SWIG_fail_ptr("new_Vector3",1,SWIGTYPE_p_btVector3);
18302  }
18303 
18304  result = (Mezzanine::Vector3 *)new Mezzanine::Vector3((btVector3 const &)*arg1);
18305  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18306  return SWIG_arg;
18307 
18308  if(0) SWIG_fail;
18309 
18310 fail:
18311  lua_error(L);
18312  return SWIG_arg;
18313 }
18314 
18315 
18316 static int _wrap_new_Vector3__SWIG_4(lua_State* L) {
18317  int SWIG_arg = 0;
18318  Mezzanine::Vector3 *arg1 = 0 ;
18319  Mezzanine::Vector3 *result = 0 ;
18320 
18321  SWIG_check_num_args("Mezzanine::Vector3::Vector3",1,1)
18322  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",1,"Mezzanine::Vector3 const &");
18323 
18324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18325  SWIG_fail_ptr("new_Vector3",1,SWIGTYPE_p_Mezzanine__Vector3);
18326  }
18327 
18328  result = (Mezzanine::Vector3 *)new Mezzanine::Vector3((Mezzanine::Vector3 const &)*arg1);
18329  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18330  return SWIG_arg;
18331 
18332  if(0) SWIG_fail;
18333 
18334 fail:
18335  lua_error(L);
18336  return SWIG_arg;
18337 }
18338 
18339 
18340 static int _wrap_new_Vector3__SWIG_5(lua_State* L) {
18341  int SWIG_arg = 0;
18342  XML::Node arg1 ;
18343  XML::Node *argp1 ;
18344  Mezzanine::Vector3 *result = 0 ;
18345 
18346  SWIG_check_num_args("Mezzanine::Vector3::Vector3",1,1)
18347  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Vector3",1,"XML::Node");
18348 
18349  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
18350  SWIG_fail_ptr("new_Vector3",1,SWIGTYPE_p_XML__Node);
18351  }
18352  arg1 = *argp1;
18353 
18354  result = (Mezzanine::Vector3 *)new Mezzanine::Vector3(arg1);
18355  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18356  return SWIG_arg;
18357 
18358  if(0) SWIG_fail;
18359 
18360 fail:
18361  lua_error(L);
18362  return SWIG_arg;
18363 }
18364 
18365 
18366 static int _wrap_new_Vector3(lua_State* L) {
18367  int argc;
18368  int argv[4]={
18369  1,2,3,4
18370  };
18371 
18372  argc = lua_gettop(L);
18373  if (argc == 0) {
18374  return _wrap_new_Vector3__SWIG_0(L);
18375  }
18376  if (argc == 1) {
18377  int _v;
18378  {
18379  void *ptr;
18380  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
18381  _v = 0;
18382  } else {
18383  _v = 1;
18384  }
18385  }
18386  if (_v) {
18387  return _wrap_new_Vector3__SWIG_2(L);
18388  }
18389  }
18390  if (argc == 1) {
18391  int _v;
18392  {
18393  void *ptr;
18394  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
18395  _v = 0;
18396  } else {
18397  _v = 1;
18398  }
18399  }
18400  if (_v) {
18401  return _wrap_new_Vector3__SWIG_3(L);
18402  }
18403  }
18404  if (argc == 1) {
18405  int _v;
18406  {
18407  void *ptr;
18408  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
18409  _v = 0;
18410  } else {
18411  _v = 1;
18412  }
18413  }
18414  if (_v) {
18415  return _wrap_new_Vector3__SWIG_4(L);
18416  }
18417  }
18418  if (argc == 1) {
18419  int _v;
18420  {
18421  void *ptr;
18422  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
18423  _v = 0;
18424  } else {
18425  _v = 1;
18426  }
18427  }
18428  if (_v) {
18429  return _wrap_new_Vector3__SWIG_5(L);
18430  }
18431  }
18432  if (argc == 3) {
18433  int _v;
18434  {
18435  _v = lua_isnumber(L,argv[0]);
18436  }
18437  if (_v) {
18438  {
18439  _v = lua_isnumber(L,argv[1]);
18440  }
18441  if (_v) {
18442  {
18443  _v = lua_isnumber(L,argv[2]);
18444  }
18445  if (_v) {
18446  return _wrap_new_Vector3__SWIG_1(L);
18447  }
18448  }
18449  }
18450  }
18451 
18452  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Vector3'\n"
18453  " Possible C/C++ prototypes are:\n"
18454  " Mezzanine::Vector3::Vector3()\n"
18455  " Mezzanine::Vector3::Vector3(Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::Real const &)\n"
18456  " Mezzanine::Vector3::Vector3(Ogre::Vector3 const &)\n"
18457  " Mezzanine::Vector3::Vector3(btVector3 const &)\n"
18458  " Mezzanine::Vector3::Vector3(Mezzanine::Vector3 const &)\n"
18459  " Mezzanine::Vector3::Vector3(XML::Node)\n");
18460  lua_error(L);return 0;
18461 }
18462 
18463 
18464 static int _wrap_Vector3_Unit_X(lua_State* L) {
18465  int SWIG_arg = 0;
18466  Mezzanine::Vector3 result;
18467 
18468  SWIG_check_num_args("Mezzanine::Vector3::Unit_X",0,0)
18469  result = Mezzanine::Vector3::Unit_X();
18470  {
18471  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18472  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18473  }
18474  return SWIG_arg;
18475 
18476  if(0) SWIG_fail;
18477 
18478 fail:
18479  lua_error(L);
18480  return SWIG_arg;
18481 }
18482 
18483 
18484 static int _wrap_Vector3_Unit_Y(lua_State* L) {
18485  int SWIG_arg = 0;
18486  Mezzanine::Vector3 result;
18487 
18488  SWIG_check_num_args("Mezzanine::Vector3::Unit_Y",0,0)
18489  result = Mezzanine::Vector3::Unit_Y();
18490  {
18491  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18492  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18493  }
18494  return SWIG_arg;
18495 
18496  if(0) SWIG_fail;
18497 
18498 fail:
18499  lua_error(L);
18500  return SWIG_arg;
18501 }
18502 
18503 
18504 static int _wrap_Vector3_Unit_Z(lua_State* L) {
18505  int SWIG_arg = 0;
18506  Mezzanine::Vector3 result;
18507 
18508  SWIG_check_num_args("Mezzanine::Vector3::Unit_Z",0,0)
18509  result = Mezzanine::Vector3::Unit_Z();
18510  {
18511  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18512  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18513  }
18514  return SWIG_arg;
18515 
18516  if(0) SWIG_fail;
18517 
18518 fail:
18519  lua_error(L);
18520  return SWIG_arg;
18521 }
18522 
18523 
18524 static int _wrap_Vector3_Neg_Unit_X(lua_State* L) {
18525  int SWIG_arg = 0;
18526  Mezzanine::Vector3 result;
18527 
18528  SWIG_check_num_args("Mezzanine::Vector3::Neg_Unit_X",0,0)
18529  result = Mezzanine::Vector3::Neg_Unit_X();
18530  {
18531  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18532  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18533  }
18534  return SWIG_arg;
18535 
18536  if(0) SWIG_fail;
18537 
18538 fail:
18539  lua_error(L);
18540  return SWIG_arg;
18541 }
18542 
18543 
18544 static int _wrap_Vector3_Neg_Unit_Y(lua_State* L) {
18545  int SWIG_arg = 0;
18546  Mezzanine::Vector3 result;
18547 
18548  SWIG_check_num_args("Mezzanine::Vector3::Neg_Unit_Y",0,0)
18549  result = Mezzanine::Vector3::Neg_Unit_Y();
18550  {
18551  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18552  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18553  }
18554  return SWIG_arg;
18555 
18556  if(0) SWIG_fail;
18557 
18558 fail:
18559  lua_error(L);
18560  return SWIG_arg;
18561 }
18562 
18563 
18564 static int _wrap_Vector3_Neg_Unit_Z(lua_State* L) {
18565  int SWIG_arg = 0;
18566  Mezzanine::Vector3 result;
18567 
18568  SWIG_check_num_args("Mezzanine::Vector3::Neg_Unit_Z",0,0)
18569  result = Mezzanine::Vector3::Neg_Unit_Z();
18570  {
18571  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18572  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18573  }
18574  return SWIG_arg;
18575 
18576  if(0) SWIG_fail;
18577 
18578 fail:
18579  lua_error(L);
18580  return SWIG_arg;
18581 }
18582 
18583 
18584 static int _wrap_Vector3_UnitOnAxis(lua_State* L) {
18585  int SWIG_arg = 0;
18587  Mezzanine::Vector3 result;
18588 
18589  SWIG_check_num_args("Mezzanine::Vector3::UnitOnAxis",1,1)
18590  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Vector3::UnitOnAxis",1,"Mezzanine::StandardAxis");
18591  arg1 = (Mezzanine::StandardAxis)(int)lua_tonumber(L, 1);
18592  result = Mezzanine::Vector3::UnitOnAxis(arg1);
18593  {
18594  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18595  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18596  }
18597  return SWIG_arg;
18598 
18599  if(0) SWIG_fail;
18600 
18601 fail:
18602  lua_error(L);
18603  return SWIG_arg;
18604 }
18605 
18606 
18607 static int _wrap_Vector3_IsStandardUnitAxis(lua_State* L) {
18608  int SWIG_arg = 0;
18609  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18610  Mezzanine::StandardAxis result;
18611 
18612  SWIG_check_num_args("Mezzanine::Vector3::IsStandardUnitAxis",1,1)
18613  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::IsStandardUnitAxis",1,"Mezzanine::Vector3 const *");
18614 
18615  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18616  SWIG_fail_ptr("Vector3_IsStandardUnitAxis",1,SWIGTYPE_p_Mezzanine__Vector3);
18617  }
18618 
18619  result = (Mezzanine::StandardAxis)((Mezzanine::Vector3 const *)arg1)->IsStandardUnitAxis();
18620  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
18621  return SWIG_arg;
18622 
18623  if(0) SWIG_fail;
18624 
18625 fail:
18626  lua_error(L);
18627  return SWIG_arg;
18628 }
18629 
18630 
18631 static int _wrap_Vector3___unm(lua_State* L) {
18632  int SWIG_arg = 0;
18633  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18634  Mezzanine::Vector3 result;
18635 
18636  SWIG_check_num_args("Mezzanine::Vector3::operator -",2,2)
18637  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator -",1,"Mezzanine::Vector3 *");
18638 
18639  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18640  SWIG_fail_ptr("Vector3___unm",1,SWIGTYPE_p_Mezzanine__Vector3);
18641  }
18642 
18643  result = (arg1)->operator -();
18644  {
18645  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18646  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18647  }
18648  return SWIG_arg;
18649 
18650  if(0) SWIG_fail;
18651 
18652 fail:
18653  lua_error(L);
18654  return SWIG_arg;
18655 }
18656 
18657 
18658 static int _wrap_Vector3___mul__SWIG_0(lua_State* L) {
18659  int SWIG_arg = 0;
18660  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18661  Mezzanine::Real *arg2 = 0 ;
18662  Mezzanine::Real temp2 ;
18663  Mezzanine::Vector3 result;
18664 
18665  SWIG_check_num_args("Mezzanine::Vector3::operator *",2,2)
18666  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator *",1,"Mezzanine::Vector3 const *");
18667  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator *",2,"Mezzanine::Real const &");
18668 
18669  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18670  SWIG_fail_ptr("Vector3___mul",1,SWIGTYPE_p_Mezzanine__Vector3);
18671  }
18672 
18673  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
18674  result = ((Mezzanine::Vector3 const *)arg1)->operator *((Mezzanine::Real const &)*arg2);
18675  {
18676  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18677  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18678  }
18679  return SWIG_arg;
18680 
18681  if(0) SWIG_fail;
18682 
18683 fail:
18684  lua_error(L);
18685  return SWIG_arg;
18686 }
18687 
18688 
18689 static int _wrap_Vector3___div__SWIG_0(lua_State* L) {
18690  int SWIG_arg = 0;
18691  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18692  Mezzanine::Real *arg2 = 0 ;
18693  Mezzanine::Real temp2 ;
18694  Mezzanine::Vector3 result;
18695 
18696  SWIG_check_num_args("Mezzanine::Vector3::operator /",2,2)
18697  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator /",1,"Mezzanine::Vector3 const *");
18698  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator /",2,"Mezzanine::Real const &");
18699 
18700  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18701  SWIG_fail_ptr("Vector3___div",1,SWIGTYPE_p_Mezzanine__Vector3);
18702  }
18703 
18704  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
18705  result = ((Mezzanine::Vector3 const *)arg1)->operator /((Mezzanine::Real const &)*arg2);
18706  {
18707  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18708  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18709  }
18710  return SWIG_arg;
18711 
18712  if(0) SWIG_fail;
18713 
18714 fail:
18715  lua_error(L);
18716  return SWIG_arg;
18717 }
18718 
18719 
18720 static int _wrap_Vector3___eq__SWIG_0(lua_State* L) {
18721  int SWIG_arg = 0;
18722  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18723  Mezzanine::Vector3 *arg2 = 0 ;
18724  Mezzanine::Boole result;
18725 
18726  SWIG_check_num_args("Mezzanine::Vector3::operator ==",2,2)
18727  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator ==",1,"Mezzanine::Vector3 const *");
18728  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator ==",2,"Mezzanine::Vector3 const &");
18729 
18730  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18731  SWIG_fail_ptr("Vector3___eq",1,SWIGTYPE_p_Mezzanine__Vector3);
18732  }
18733 
18734 
18735  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
18736  SWIG_fail_ptr("Vector3___eq",2,SWIGTYPE_p_Mezzanine__Vector3);
18737  }
18738 
18739  result = (Mezzanine::Boole)((Mezzanine::Vector3 const *)arg1)->operator ==((Mezzanine::Vector3 const &)*arg2);
18740  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18741  return SWIG_arg;
18742 
18743  if(0) SWIG_fail;
18744 
18745 fail:
18746  lua_error(L);
18747  return SWIG_arg;
18748 }
18749 
18750 
18751 static int _wrap_Vector3___eq__SWIG_1(lua_State* L) {
18752  int SWIG_arg = 0;
18753  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18754  btVector3 *arg2 = 0 ;
18755  Mezzanine::Boole result;
18756 
18757  SWIG_check_num_args("Mezzanine::Vector3::operator ==",2,2)
18758  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator ==",1,"Mezzanine::Vector3 const *");
18759  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator ==",2,"btVector3 const &");
18760 
18761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18762  SWIG_fail_ptr("Vector3___eq",1,SWIGTYPE_p_Mezzanine__Vector3);
18763  }
18764 
18765 
18766  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btVector3,0))){
18767  SWIG_fail_ptr("Vector3___eq",2,SWIGTYPE_p_btVector3);
18768  }
18769 
18770  result = (Mezzanine::Boole)((Mezzanine::Vector3 const *)arg1)->operator ==((btVector3 const &)*arg2);
18771  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18772  return SWIG_arg;
18773 
18774  if(0) SWIG_fail;
18775 
18776 fail:
18777  lua_error(L);
18778  return SWIG_arg;
18779 }
18780 
18781 
18782 static int _wrap_Vector3___eq__SWIG_2(lua_State* L) {
18783  int SWIG_arg = 0;
18784  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18785  Ogre::Vector3 *arg2 = 0 ;
18786  Mezzanine::Boole result;
18787 
18788  SWIG_check_num_args("Mezzanine::Vector3::operator ==",2,2)
18789  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator ==",1,"Mezzanine::Vector3 const *");
18790  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator ==",2,"Ogre::Vector3 const &");
18791 
18792  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18793  SWIG_fail_ptr("Vector3___eq",1,SWIGTYPE_p_Mezzanine__Vector3);
18794  }
18795 
18796 
18797  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Vector3,0))){
18798  SWIG_fail_ptr("Vector3___eq",2,SWIGTYPE_p_Ogre__Vector3);
18799  }
18800 
18801  result = (Mezzanine::Boole)((Mezzanine::Vector3 const *)arg1)->operator ==((Ogre::Vector3 const &)*arg2);
18802  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18803  return SWIG_arg;
18804 
18805  if(0) SWIG_fail;
18806 
18807 fail:
18808  lua_error(L);
18809  return SWIG_arg;
18810 }
18811 
18812 
18813 static int _wrap_Vector3___eq(lua_State* L) {
18814  int argc;
18815  int argv[3]={
18816  1,2,3
18817  };
18818 
18819  argc = lua_gettop(L);
18820  if (argc == 2) {
18821  int _v;
18822  {
18823  void *ptr;
18824  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
18825  _v = 0;
18826  } else {
18827  _v = 1;
18828  }
18829  }
18830  if (_v) {
18831  {
18832  void *ptr;
18833  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
18834  _v = 0;
18835  } else {
18836  _v = 1;
18837  }
18838  }
18839  if (_v) {
18840  return _wrap_Vector3___eq__SWIG_0(L);
18841  }
18842  }
18843  }
18844  if (argc == 2) {
18845  int _v;
18846  {
18847  void *ptr;
18848  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
18849  _v = 0;
18850  } else {
18851  _v = 1;
18852  }
18853  }
18854  if (_v) {
18855  {
18856  void *ptr;
18857  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
18858  _v = 0;
18859  } else {
18860  _v = 1;
18861  }
18862  }
18863  if (_v) {
18864  return _wrap_Vector3___eq__SWIG_1(L);
18865  }
18866  }
18867  }
18868  if (argc == 2) {
18869  int _v;
18870  {
18871  void *ptr;
18872  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
18873  _v = 0;
18874  } else {
18875  _v = 1;
18876  }
18877  }
18878  if (_v) {
18879  {
18880  void *ptr;
18881  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
18882  _v = 0;
18883  } else {
18884  _v = 1;
18885  }
18886  }
18887  if (_v) {
18888  return _wrap_Vector3___eq__SWIG_2(L);
18889  }
18890  }
18891  }
18892 
18893  lua_pushstring(L,"Wrong arguments for overloaded function 'Vector3___eq'\n"
18894  " Possible C/C++ prototypes are:\n"
18895  " Mezzanine::Vector3::operator ==(Mezzanine::Vector3 const &) const\n"
18896  " Mezzanine::Vector3::operator ==(btVector3 const &) const\n"
18897  " Mezzanine::Vector3::operator ==(Ogre::Vector3 const &) const\n");
18898  lua_error(L);return 0;
18899 }
18900 
18901 
18902 static int _wrap_Vector3___le(lua_State* L) {
18903  int SWIG_arg = 0;
18904  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18905  Mezzanine::Vector3 *arg2 = 0 ;
18906  Mezzanine::Boole result;
18907 
18908  SWIG_check_num_args("Mezzanine::Vector3::operator <=",2,2)
18909  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator <=",1,"Mezzanine::Vector3 const *");
18910  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator <=",2,"Mezzanine::Vector3 const &");
18911 
18912  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18913  SWIG_fail_ptr("Vector3___le",1,SWIGTYPE_p_Mezzanine__Vector3);
18914  }
18915 
18916 
18917  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
18918  SWIG_fail_ptr("Vector3___le",2,SWIGTYPE_p_Mezzanine__Vector3);
18919  }
18920 
18921  result = (Mezzanine::Boole)((Mezzanine::Vector3 const *)arg1)->operator <=((Mezzanine::Vector3 const &)*arg2);
18922  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
18923  return SWIG_arg;
18924 
18925  if(0) SWIG_fail;
18926 
18927 fail:
18928  lua_error(L);
18929  return SWIG_arg;
18930 }
18931 
18932 
18933 static int _wrap_Vector3___add__SWIG_0(lua_State* L) {
18934  int SWIG_arg = 0;
18935  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18936  Mezzanine::Vector3 *arg2 = 0 ;
18937  Mezzanine::Vector3 result;
18938 
18939  SWIG_check_num_args("Mezzanine::Vector3::operator +",2,2)
18940  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator +",1,"Mezzanine::Vector3 const *");
18941  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator +",2,"Mezzanine::Vector3 const &");
18942 
18943  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18944  SWIG_fail_ptr("Vector3___add",1,SWIGTYPE_p_Mezzanine__Vector3);
18945  }
18946 
18947 
18948  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
18949  SWIG_fail_ptr("Vector3___add",2,SWIGTYPE_p_Mezzanine__Vector3);
18950  }
18951 
18952  result = ((Mezzanine::Vector3 const *)arg1)->operator +((Mezzanine::Vector3 const &)*arg2);
18953  {
18954  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18955  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18956  }
18957  return SWIG_arg;
18958 
18959  if(0) SWIG_fail;
18960 
18961 fail:
18962  lua_error(L);
18963  return SWIG_arg;
18964 }
18965 
18966 
18967 static int _wrap_Vector3___sub__SWIG_0(lua_State* L) {
18968  int SWIG_arg = 0;
18969  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
18970  Mezzanine::Vector3 *arg2 = 0 ;
18971  Mezzanine::Vector3 result;
18972 
18973  SWIG_check_num_args("Mezzanine::Vector3::operator -",2,2)
18974  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator -",1,"Mezzanine::Vector3 const *");
18975  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator -",2,"Mezzanine::Vector3 const &");
18976 
18977  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
18978  SWIG_fail_ptr("Vector3___sub",1,SWIGTYPE_p_Mezzanine__Vector3);
18979  }
18980 
18981 
18982  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
18983  SWIG_fail_ptr("Vector3___sub",2,SWIGTYPE_p_Mezzanine__Vector3);
18984  }
18985 
18986  result = ((Mezzanine::Vector3 const *)arg1)->operator -((Mezzanine::Vector3 const &)*arg2);
18987  {
18988  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
18989  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
18990  }
18991  return SWIG_arg;
18992 
18993  if(0) SWIG_fail;
18994 
18995 fail:
18996  lua_error(L);
18997  return SWIG_arg;
18998 }
18999 
19000 
19001 static int _wrap_Vector3___mul__SWIG_1(lua_State* L) {
19002  int SWIG_arg = 0;
19003  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19004  Mezzanine::Vector3 *arg2 = 0 ;
19005  Mezzanine::Vector3 result;
19006 
19007  SWIG_check_num_args("Mezzanine::Vector3::operator *",2,2)
19008  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator *",1,"Mezzanine::Vector3 const *");
19009  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator *",2,"Mezzanine::Vector3 const &");
19010 
19011  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19012  SWIG_fail_ptr("Vector3___mul",1,SWIGTYPE_p_Mezzanine__Vector3);
19013  }
19014 
19015 
19016  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19017  SWIG_fail_ptr("Vector3___mul",2,SWIGTYPE_p_Mezzanine__Vector3);
19018  }
19019 
19020  result = ((Mezzanine::Vector3 const *)arg1)->operator *((Mezzanine::Vector3 const &)*arg2);
19021  {
19022  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19023  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19024  }
19025  return SWIG_arg;
19026 
19027  if(0) SWIG_fail;
19028 
19029 fail:
19030  lua_error(L);
19031  return SWIG_arg;
19032 }
19033 
19034 
19035 static int _wrap_Vector3___div__SWIG_1(lua_State* L) {
19036  int SWIG_arg = 0;
19037  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19038  Mezzanine::Vector3 *arg2 = 0 ;
19039  Mezzanine::Vector3 result;
19040 
19041  SWIG_check_num_args("Mezzanine::Vector3::operator /",2,2)
19042  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator /",1,"Mezzanine::Vector3 const *");
19043  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator /",2,"Mezzanine::Vector3 const &");
19044 
19045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19046  SWIG_fail_ptr("Vector3___div",1,SWIGTYPE_p_Mezzanine__Vector3);
19047  }
19048 
19049 
19050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19051  SWIG_fail_ptr("Vector3___div",2,SWIGTYPE_p_Mezzanine__Vector3);
19052  }
19053 
19054  result = ((Mezzanine::Vector3 const *)arg1)->operator /((Mezzanine::Vector3 const &)*arg2);
19055  {
19056  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19057  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19058  }
19059  return SWIG_arg;
19060 
19061  if(0) SWIG_fail;
19062 
19063 fail:
19064  lua_error(L);
19065  return SWIG_arg;
19066 }
19067 
19068 
19069 static int _wrap_Vector3___add__SWIG_1(lua_State* L) {
19070  int SWIG_arg = 0;
19071  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19072  btVector3 *arg2 = 0 ;
19073  Mezzanine::Vector3 result;
19074 
19075  SWIG_check_num_args("Mezzanine::Vector3::operator +",2,2)
19076  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator +",1,"Mezzanine::Vector3 const *");
19077  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator +",2,"btVector3 const &");
19078 
19079  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19080  SWIG_fail_ptr("Vector3___add",1,SWIGTYPE_p_Mezzanine__Vector3);
19081  }
19082 
19083 
19084  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btVector3,0))){
19085  SWIG_fail_ptr("Vector3___add",2,SWIGTYPE_p_btVector3);
19086  }
19087 
19088  result = ((Mezzanine::Vector3 const *)arg1)->operator +((btVector3 const &)*arg2);
19089  {
19090  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19091  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19092  }
19093  return SWIG_arg;
19094 
19095  if(0) SWIG_fail;
19096 
19097 fail:
19098  lua_error(L);
19099  return SWIG_arg;
19100 }
19101 
19102 
19103 static int _wrap_Vector3___sub__SWIG_1(lua_State* L) {
19104  int SWIG_arg = 0;
19105  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19106  btVector3 *arg2 = 0 ;
19107  Mezzanine::Vector3 result;
19108 
19109  SWIG_check_num_args("Mezzanine::Vector3::operator -",2,2)
19110  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator -",1,"Mezzanine::Vector3 const *");
19111  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator -",2,"btVector3 const &");
19112 
19113  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19114  SWIG_fail_ptr("Vector3___sub",1,SWIGTYPE_p_Mezzanine__Vector3);
19115  }
19116 
19117 
19118  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btVector3,0))){
19119  SWIG_fail_ptr("Vector3___sub",2,SWIGTYPE_p_btVector3);
19120  }
19121 
19122  result = ((Mezzanine::Vector3 const *)arg1)->operator -((btVector3 const &)*arg2);
19123  {
19124  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19125  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19126  }
19127  return SWIG_arg;
19128 
19129  if(0) SWIG_fail;
19130 
19131 fail:
19132  lua_error(L);
19133  return SWIG_arg;
19134 }
19135 
19136 
19137 static int _wrap_Vector3___mul__SWIG_2(lua_State* L) {
19138  int SWIG_arg = 0;
19139  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19140  btVector3 *arg2 = 0 ;
19141  Mezzanine::Vector3 result;
19142 
19143  SWIG_check_num_args("Mezzanine::Vector3::operator *",2,2)
19144  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator *",1,"Mezzanine::Vector3 const *");
19145  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator *",2,"btVector3 const &");
19146 
19147  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19148  SWIG_fail_ptr("Vector3___mul",1,SWIGTYPE_p_Mezzanine__Vector3);
19149  }
19150 
19151 
19152  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btVector3,0))){
19153  SWIG_fail_ptr("Vector3___mul",2,SWIGTYPE_p_btVector3);
19154  }
19155 
19156  result = ((Mezzanine::Vector3 const *)arg1)->operator *((btVector3 const &)*arg2);
19157  {
19158  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19159  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19160  }
19161  return SWIG_arg;
19162 
19163  if(0) SWIG_fail;
19164 
19165 fail:
19166  lua_error(L);
19167  return SWIG_arg;
19168 }
19169 
19170 
19171 static int _wrap_Vector3___div__SWIG_2(lua_State* L) {
19172  int SWIG_arg = 0;
19173  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19174  btVector3 *arg2 = 0 ;
19175  Mezzanine::Vector3 result;
19176 
19177  SWIG_check_num_args("Mezzanine::Vector3::operator /",2,2)
19178  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator /",1,"Mezzanine::Vector3 const *");
19179  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator /",2,"btVector3 const &");
19180 
19181  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19182  SWIG_fail_ptr("Vector3___div",1,SWIGTYPE_p_Mezzanine__Vector3);
19183  }
19184 
19185 
19186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btVector3,0))){
19187  SWIG_fail_ptr("Vector3___div",2,SWIGTYPE_p_btVector3);
19188  }
19189 
19190  result = ((Mezzanine::Vector3 const *)arg1)->operator /((btVector3 const &)*arg2);
19191  {
19192  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19193  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19194  }
19195  return SWIG_arg;
19196 
19197  if(0) SWIG_fail;
19198 
19199 fail:
19200  lua_error(L);
19201  return SWIG_arg;
19202 }
19203 
19204 
19205 static int _wrap_Vector3___add__SWIG_2(lua_State* L) {
19206  int SWIG_arg = 0;
19207  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19208  Ogre::Vector3 *arg2 = 0 ;
19209  Mezzanine::Vector3 result;
19210 
19211  SWIG_check_num_args("Mezzanine::Vector3::operator +",2,2)
19212  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator +",1,"Mezzanine::Vector3 const *");
19213  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator +",2,"Ogre::Vector3 const &");
19214 
19215  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19216  SWIG_fail_ptr("Vector3___add",1,SWIGTYPE_p_Mezzanine__Vector3);
19217  }
19218 
19219 
19220  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Vector3,0))){
19221  SWIG_fail_ptr("Vector3___add",2,SWIGTYPE_p_Ogre__Vector3);
19222  }
19223 
19224  result = ((Mezzanine::Vector3 const *)arg1)->operator +((Ogre::Vector3 const &)*arg2);
19225  {
19226  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19227  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19228  }
19229  return SWIG_arg;
19230 
19231  if(0) SWIG_fail;
19232 
19233 fail:
19234  lua_error(L);
19235  return SWIG_arg;
19236 }
19237 
19238 
19239 static int _wrap_Vector3___add(lua_State* L) {
19240  int argc;
19241  int argv[3]={
19242  1,2,3
19243  };
19244 
19245  argc = lua_gettop(L);
19246  if (argc == 2) {
19247  int _v;
19248  {
19249  void *ptr;
19250  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19251  _v = 0;
19252  } else {
19253  _v = 1;
19254  }
19255  }
19256  if (_v) {
19257  {
19258  void *ptr;
19259  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19260  _v = 0;
19261  } else {
19262  _v = 1;
19263  }
19264  }
19265  if (_v) {
19266  return _wrap_Vector3___add__SWIG_0(L);
19267  }
19268  }
19269  }
19270  if (argc == 2) {
19271  int _v;
19272  {
19273  void *ptr;
19274  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19275  _v = 0;
19276  } else {
19277  _v = 1;
19278  }
19279  }
19280  if (_v) {
19281  {
19282  void *ptr;
19283  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
19284  _v = 0;
19285  } else {
19286  _v = 1;
19287  }
19288  }
19289  if (_v) {
19290  return _wrap_Vector3___add__SWIG_1(L);
19291  }
19292  }
19293  }
19294  if (argc == 2) {
19295  int _v;
19296  {
19297  void *ptr;
19298  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19299  _v = 0;
19300  } else {
19301  _v = 1;
19302  }
19303  }
19304  if (_v) {
19305  {
19306  void *ptr;
19307  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
19308  _v = 0;
19309  } else {
19310  _v = 1;
19311  }
19312  }
19313  if (_v) {
19314  return _wrap_Vector3___add__SWIG_2(L);
19315  }
19316  }
19317  }
19318 
19319  lua_pushstring(L,"Wrong arguments for overloaded function 'Vector3___add'\n"
19320  " Possible C/C++ prototypes are:\n"
19321  " Mezzanine::Vector3::operator +(Mezzanine::Vector3 const &) const\n"
19322  " Mezzanine::Vector3::operator +(btVector3 const &) const\n"
19323  " Mezzanine::Vector3::operator +(Ogre::Vector3 const &) const\n");
19324  lua_error(L);return 0;
19325 }
19326 
19327 
19328 static int _wrap_Vector3___sub__SWIG_2(lua_State* L) {
19329  int SWIG_arg = 0;
19330  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19331  Ogre::Vector3 *arg2 = 0 ;
19332  Mezzanine::Vector3 result;
19333 
19334  SWIG_check_num_args("Mezzanine::Vector3::operator -",2,2)
19335  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator -",1,"Mezzanine::Vector3 const *");
19336  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator -",2,"Ogre::Vector3 const &");
19337 
19338  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19339  SWIG_fail_ptr("Vector3___sub",1,SWIGTYPE_p_Mezzanine__Vector3);
19340  }
19341 
19342 
19343  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Vector3,0))){
19344  SWIG_fail_ptr("Vector3___sub",2,SWIGTYPE_p_Ogre__Vector3);
19345  }
19346 
19347  result = ((Mezzanine::Vector3 const *)arg1)->operator -((Ogre::Vector3 const &)*arg2);
19348  {
19349  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19350  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19351  }
19352  return SWIG_arg;
19353 
19354  if(0) SWIG_fail;
19355 
19356 fail:
19357  lua_error(L);
19358  return SWIG_arg;
19359 }
19360 
19361 
19362 static int _wrap_Vector3___sub(lua_State* L) {
19363  int argc;
19364  int argv[3]={
19365  1,2,3
19366  };
19367 
19368  argc = lua_gettop(L);
19369  if (argc == 2) {
19370  int _v;
19371  {
19372  void *ptr;
19373  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19374  _v = 0;
19375  } else {
19376  _v = 1;
19377  }
19378  }
19379  if (_v) {
19380  {
19381  void *ptr;
19382  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19383  _v = 0;
19384  } else {
19385  _v = 1;
19386  }
19387  }
19388  if (_v) {
19389  return _wrap_Vector3___sub__SWIG_0(L);
19390  }
19391  }
19392  }
19393  if (argc == 2) {
19394  int _v;
19395  {
19396  void *ptr;
19397  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19398  _v = 0;
19399  } else {
19400  _v = 1;
19401  }
19402  }
19403  if (_v) {
19404  {
19405  void *ptr;
19406  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
19407  _v = 0;
19408  } else {
19409  _v = 1;
19410  }
19411  }
19412  if (_v) {
19413  return _wrap_Vector3___sub__SWIG_1(L);
19414  }
19415  }
19416  }
19417  if (argc == 2) {
19418  int _v;
19419  {
19420  void *ptr;
19421  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19422  _v = 0;
19423  } else {
19424  _v = 1;
19425  }
19426  }
19427  if (_v) {
19428  {
19429  void *ptr;
19430  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
19431  _v = 0;
19432  } else {
19433  _v = 1;
19434  }
19435  }
19436  if (_v) {
19437  return _wrap_Vector3___sub__SWIG_2(L);
19438  }
19439  }
19440  }
19441 
19442  lua_pushstring(L,"Wrong arguments for overloaded function 'Vector3___sub'\n"
19443  " Possible C/C++ prototypes are:\n"
19444  " Mezzanine::Vector3::operator -(Mezzanine::Vector3 const &) const\n"
19445  " Mezzanine::Vector3::operator -(btVector3 const &) const\n"
19446  " Mezzanine::Vector3::operator -(Ogre::Vector3 const &) const\n");
19447  lua_error(L);return 0;
19448 }
19449 
19450 
19451 static int _wrap_Vector3___mul__SWIG_3(lua_State* L) {
19452  int SWIG_arg = 0;
19453  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19454  Ogre::Vector3 *arg2 = 0 ;
19455  Mezzanine::Vector3 result;
19456 
19457  SWIG_check_num_args("Mezzanine::Vector3::operator *",2,2)
19458  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator *",1,"Mezzanine::Vector3 const *");
19459  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator *",2,"Ogre::Vector3 const &");
19460 
19461  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19462  SWIG_fail_ptr("Vector3___mul",1,SWIGTYPE_p_Mezzanine__Vector3);
19463  }
19464 
19465 
19466  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Vector3,0))){
19467  SWIG_fail_ptr("Vector3___mul",2,SWIGTYPE_p_Ogre__Vector3);
19468  }
19469 
19470  result = ((Mezzanine::Vector3 const *)arg1)->operator *((Ogre::Vector3 const &)*arg2);
19471  {
19472  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19473  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19474  }
19475  return SWIG_arg;
19476 
19477  if(0) SWIG_fail;
19478 
19479 fail:
19480  lua_error(L);
19481  return SWIG_arg;
19482 }
19483 
19484 
19485 static int _wrap_Vector3___mul(lua_State* L) {
19486  int argc;
19487  int argv[3]={
19488  1,2,3
19489  };
19490 
19491  argc = lua_gettop(L);
19492  if (argc == 2) {
19493  int _v;
19494  {
19495  void *ptr;
19496  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19497  _v = 0;
19498  } else {
19499  _v = 1;
19500  }
19501  }
19502  if (_v) {
19503  {
19504  void *ptr;
19505  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19506  _v = 0;
19507  } else {
19508  _v = 1;
19509  }
19510  }
19511  if (_v) {
19512  return _wrap_Vector3___mul__SWIG_1(L);
19513  }
19514  }
19515  }
19516  if (argc == 2) {
19517  int _v;
19518  {
19519  void *ptr;
19520  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19521  _v = 0;
19522  } else {
19523  _v = 1;
19524  }
19525  }
19526  if (_v) {
19527  {
19528  void *ptr;
19529  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
19530  _v = 0;
19531  } else {
19532  _v = 1;
19533  }
19534  }
19535  if (_v) {
19536  return _wrap_Vector3___mul__SWIG_2(L);
19537  }
19538  }
19539  }
19540  if (argc == 2) {
19541  int _v;
19542  {
19543  void *ptr;
19544  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19545  _v = 0;
19546  } else {
19547  _v = 1;
19548  }
19549  }
19550  if (_v) {
19551  {
19552  void *ptr;
19553  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
19554  _v = 0;
19555  } else {
19556  _v = 1;
19557  }
19558  }
19559  if (_v) {
19560  return _wrap_Vector3___mul__SWIG_3(L);
19561  }
19562  }
19563  }
19564  if (argc == 2) {
19565  int _v;
19566  {
19567  void *ptr;
19568  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19569  _v = 0;
19570  } else {
19571  _v = 1;
19572  }
19573  }
19574  if (_v) {
19575  {
19576  _v = lua_isnumber(L,argv[1]);
19577  }
19578  if (_v) {
19579  return _wrap_Vector3___mul__SWIG_0(L);
19580  }
19581  }
19582  }
19583 
19584  lua_pushstring(L,"Wrong arguments for overloaded function 'Vector3___mul'\n"
19585  " Possible C/C++ prototypes are:\n"
19586  " Mezzanine::Vector3::operator *(Mezzanine::Real const &) const\n"
19587  " Mezzanine::Vector3::operator *(Mezzanine::Vector3 const &) const\n"
19588  " Mezzanine::Vector3::operator *(btVector3 const &) const\n"
19589  " Mezzanine::Vector3::operator *(Ogre::Vector3 const &) const\n");
19590  lua_error(L);return 0;
19591 }
19592 
19593 
19594 static int _wrap_Vector3___div__SWIG_3(lua_State* L) {
19595  int SWIG_arg = 0;
19596  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19597  Ogre::Vector3 *arg2 = 0 ;
19598  Mezzanine::Vector3 result;
19599 
19600  SWIG_check_num_args("Mezzanine::Vector3::operator /",2,2)
19601  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::operator /",1,"Mezzanine::Vector3 const *");
19602  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::operator /",2,"Ogre::Vector3 const &");
19603 
19604  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19605  SWIG_fail_ptr("Vector3___div",1,SWIGTYPE_p_Mezzanine__Vector3);
19606  }
19607 
19608 
19609  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Vector3,0))){
19610  SWIG_fail_ptr("Vector3___div",2,SWIGTYPE_p_Ogre__Vector3);
19611  }
19612 
19613  result = ((Mezzanine::Vector3 const *)arg1)->operator /((Ogre::Vector3 const &)*arg2);
19614  {
19615  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19616  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19617  }
19618  return SWIG_arg;
19619 
19620  if(0) SWIG_fail;
19621 
19622 fail:
19623  lua_error(L);
19624  return SWIG_arg;
19625 }
19626 
19627 
19628 static int _wrap_Vector3___div(lua_State* L) {
19629  int argc;
19630  int argv[3]={
19631  1,2,3
19632  };
19633 
19634  argc = lua_gettop(L);
19635  if (argc == 2) {
19636  int _v;
19637  {
19638  void *ptr;
19639  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19640  _v = 0;
19641  } else {
19642  _v = 1;
19643  }
19644  }
19645  if (_v) {
19646  {
19647  void *ptr;
19648  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19649  _v = 0;
19650  } else {
19651  _v = 1;
19652  }
19653  }
19654  if (_v) {
19655  return _wrap_Vector3___div__SWIG_1(L);
19656  }
19657  }
19658  }
19659  if (argc == 2) {
19660  int _v;
19661  {
19662  void *ptr;
19663  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19664  _v = 0;
19665  } else {
19666  _v = 1;
19667  }
19668  }
19669  if (_v) {
19670  {
19671  void *ptr;
19672  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
19673  _v = 0;
19674  } else {
19675  _v = 1;
19676  }
19677  }
19678  if (_v) {
19679  return _wrap_Vector3___div__SWIG_2(L);
19680  }
19681  }
19682  }
19683  if (argc == 2) {
19684  int _v;
19685  {
19686  void *ptr;
19687  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19688  _v = 0;
19689  } else {
19690  _v = 1;
19691  }
19692  }
19693  if (_v) {
19694  {
19695  void *ptr;
19696  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
19697  _v = 0;
19698  } else {
19699  _v = 1;
19700  }
19701  }
19702  if (_v) {
19703  return _wrap_Vector3___div__SWIG_3(L);
19704  }
19705  }
19706  }
19707  if (argc == 2) {
19708  int _v;
19709  {
19710  void *ptr;
19711  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
19712  _v = 0;
19713  } else {
19714  _v = 1;
19715  }
19716  }
19717  if (_v) {
19718  {
19719  _v = lua_isnumber(L,argv[1]);
19720  }
19721  if (_v) {
19722  return _wrap_Vector3___div__SWIG_0(L);
19723  }
19724  }
19725  }
19726 
19727  lua_pushstring(L,"Wrong arguments for overloaded function 'Vector3___div'\n"
19728  " Possible C/C++ prototypes are:\n"
19729  " Mezzanine::Vector3::operator /(Mezzanine::Real const &) const\n"
19730  " Mezzanine::Vector3::operator /(Mezzanine::Vector3 const &) const\n"
19731  " Mezzanine::Vector3::operator /(btVector3 const &) const\n"
19732  " Mezzanine::Vector3::operator /(Ogre::Vector3 const &) const\n");
19733  lua_error(L);return 0;
19734 }
19735 
19736 
19737 static int _wrap_Vector3_CrossProduct(lua_State* L) {
19738  int SWIG_arg = 0;
19739  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19740  Mezzanine::Vector3 *arg2 = 0 ;
19741  Mezzanine::Vector3 result;
19742 
19743  SWIG_check_num_args("Mezzanine::Vector3::CrossProduct",2,2)
19744  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::CrossProduct",1,"Mezzanine::Vector3 const *");
19745  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::CrossProduct",2,"Mezzanine::Vector3 const &");
19746 
19747  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19748  SWIG_fail_ptr("Vector3_CrossProduct",1,SWIGTYPE_p_Mezzanine__Vector3);
19749  }
19750 
19751 
19752  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19753  SWIG_fail_ptr("Vector3_CrossProduct",2,SWIGTYPE_p_Mezzanine__Vector3);
19754  }
19755 
19756  result = ((Mezzanine::Vector3 const *)arg1)->CrossProduct((Mezzanine::Vector3 const &)*arg2);
19757  {
19758  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19759  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19760  }
19761  return SWIG_arg;
19762 
19763  if(0) SWIG_fail;
19764 
19765 fail:
19766  lua_error(L);
19767  return SWIG_arg;
19768 }
19769 
19770 
19771 static int _wrap_Vector3_DotProduct(lua_State* L) {
19772  int SWIG_arg = 0;
19773  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19774  Mezzanine::Vector3 *arg2 = 0 ;
19775  Mezzanine::Real result;
19776 
19777  SWIG_check_num_args("Mezzanine::Vector3::DotProduct",2,2)
19778  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::DotProduct",1,"Mezzanine::Vector3 const *");
19779  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::DotProduct",2,"Mezzanine::Vector3 const &");
19780 
19781  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19782  SWIG_fail_ptr("Vector3_DotProduct",1,SWIGTYPE_p_Mezzanine__Vector3);
19783  }
19784 
19785 
19786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19787  SWIG_fail_ptr("Vector3_DotProduct",2,SWIGTYPE_p_Mezzanine__Vector3);
19788  }
19789 
19790  result = (Mezzanine::Real)((Mezzanine::Vector3 const *)arg1)->DotProduct((Mezzanine::Vector3 const &)*arg2);
19791  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
19792  return SWIG_arg;
19793 
19794  if(0) SWIG_fail;
19795 
19796 fail:
19797  lua_error(L);
19798  return SWIG_arg;
19799 }
19800 
19801 
19802 static int _wrap_Vector3_Normalize(lua_State* L) {
19803  int SWIG_arg = 0;
19804  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19805  Mezzanine::Vector3 *result = 0 ;
19806 
19807  SWIG_check_num_args("Mezzanine::Vector3::Normalize",1,1)
19808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Normalize",1,"Mezzanine::Vector3 *");
19809 
19810  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19811  SWIG_fail_ptr("Vector3_Normalize",1,SWIGTYPE_p_Mezzanine__Vector3);
19812  }
19813 
19814  result = (Mezzanine::Vector3 *) &(arg1)->Normalize();
19815  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
19816  return SWIG_arg;
19817 
19818  if(0) SWIG_fail;
19819 
19820 fail:
19821  lua_error(L);
19822  return SWIG_arg;
19823 }
19824 
19825 
19826 static int _wrap_Vector3_GetNormal(lua_State* L) {
19827  int SWIG_arg = 0;
19828  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19829  Mezzanine::Vector3 result;
19830 
19831  SWIG_check_num_args("Mezzanine::Vector3::GetNormal",1,1)
19832  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetNormal",1,"Mezzanine::Vector3 const *");
19833 
19834  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19835  SWIG_fail_ptr("Vector3_GetNormal",1,SWIGTYPE_p_Mezzanine__Vector3);
19836  }
19837 
19838  result = ((Mezzanine::Vector3 const *)arg1)->GetNormal();
19839  {
19840  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19841  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19842  }
19843  return SWIG_arg;
19844 
19845  if(0) SWIG_fail;
19846 
19847 fail:
19848  lua_error(L);
19849  return SWIG_arg;
19850 }
19851 
19852 
19853 static int _wrap_Vector3_GetDirection(lua_State* L) {
19854  int SWIG_arg = 0;
19855  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19856  Mezzanine::Vector3 *arg2 = 0 ;
19857  Mezzanine::Vector3 result;
19858 
19859  SWIG_check_num_args("Mezzanine::Vector3::GetDirection",2,2)
19860  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetDirection",1,"Mezzanine::Vector3 const *");
19861  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::GetDirection",2,"Mezzanine::Vector3 const &");
19862 
19863  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19864  SWIG_fail_ptr("Vector3_GetDirection",1,SWIGTYPE_p_Mezzanine__Vector3);
19865  }
19866 
19867 
19868  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19869  SWIG_fail_ptr("Vector3_GetDirection",2,SWIGTYPE_p_Mezzanine__Vector3);
19870  }
19871 
19872  result = ((Mezzanine::Vector3 const *)arg1)->GetDirection((Mezzanine::Vector3 const &)*arg2);
19873  {
19874  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19875  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19876  }
19877  return SWIG_arg;
19878 
19879  if(0) SWIG_fail;
19880 
19881 fail:
19882  lua_error(L);
19883  return SWIG_arg;
19884 }
19885 
19886 
19887 static int _wrap_Vector3_Inverse(lua_State* L) {
19888  int SWIG_arg = 0;
19889  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19890  Mezzanine::Vector3 result;
19891 
19892  SWIG_check_num_args("Mezzanine::Vector3::Inverse",1,1)
19893  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Inverse",1,"Mezzanine::Vector3 *");
19894 
19895  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19896  SWIG_fail_ptr("Vector3_Inverse",1,SWIGTYPE_p_Mezzanine__Vector3);
19897  }
19898 
19899  result = (arg1)->Inverse();
19900  {
19901  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19902  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19903  }
19904  return SWIG_arg;
19905 
19906  if(0) SWIG_fail;
19907 
19908 fail:
19909  lua_error(L);
19910  return SWIG_arg;
19911 }
19912 
19913 
19914 static int _wrap_Vector3_Reflect(lua_State* L) {
19915  int SWIG_arg = 0;
19916  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19917  Mezzanine::Vector3 *arg2 = 0 ;
19918  Mezzanine::Vector3 result;
19919 
19920  SWIG_check_num_args("Mezzanine::Vector3::Reflect",2,2)
19921  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Reflect",1,"Mezzanine::Vector3 *");
19922  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Reflect",2,"Mezzanine::Vector3 const &");
19923 
19924  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19925  SWIG_fail_ptr("Vector3_Reflect",1,SWIGTYPE_p_Mezzanine__Vector3);
19926  }
19927 
19928 
19929  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19930  SWIG_fail_ptr("Vector3_Reflect",2,SWIGTYPE_p_Mezzanine__Vector3);
19931  }
19932 
19933  result = (arg1)->Reflect((Mezzanine::Vector3 const &)*arg2);
19934  {
19935  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
19936  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
19937  }
19938  return SWIG_arg;
19939 
19940  if(0) SWIG_fail;
19941 
19942 fail:
19943  lua_error(L);
19944  return SWIG_arg;
19945 }
19946 
19947 
19948 static int _wrap_Vector3_Distance(lua_State* L) {
19949  int SWIG_arg = 0;
19950  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19951  Mezzanine::Vector3 *arg2 = 0 ;
19952  Mezzanine::Real result;
19953 
19954  SWIG_check_num_args("Mezzanine::Vector3::Distance",2,2)
19955  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Distance",1,"Mezzanine::Vector3 const *");
19956  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Distance",2,"Mezzanine::Vector3 const &");
19957 
19958  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19959  SWIG_fail_ptr("Vector3_Distance",1,SWIGTYPE_p_Mezzanine__Vector3);
19960  }
19961 
19962 
19963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19964  SWIG_fail_ptr("Vector3_Distance",2,SWIGTYPE_p_Mezzanine__Vector3);
19965  }
19966 
19967  result = (Mezzanine::Real)((Mezzanine::Vector3 const *)arg1)->Distance((Mezzanine::Vector3 const &)*arg2);
19968  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
19969  return SWIG_arg;
19970 
19971  if(0) SWIG_fail;
19972 
19973 fail:
19974  lua_error(L);
19975  return SWIG_arg;
19976 }
19977 
19978 
19979 static int _wrap_Vector3_SquaredDistance(lua_State* L) {
19980  int SWIG_arg = 0;
19981  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
19982  Mezzanine::Vector3 *arg2 = 0 ;
19983  Mezzanine::Real result;
19984 
19985  SWIG_check_num_args("Mezzanine::Vector3::SquaredDistance",2,2)
19986  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::SquaredDistance",1,"Mezzanine::Vector3 const *");
19987  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::SquaredDistance",2,"Mezzanine::Vector3 const &");
19988 
19989  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
19990  SWIG_fail_ptr("Vector3_SquaredDistance",1,SWIGTYPE_p_Mezzanine__Vector3);
19991  }
19992 
19993 
19994  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
19995  SWIG_fail_ptr("Vector3_SquaredDistance",2,SWIGTYPE_p_Mezzanine__Vector3);
19996  }
19997 
19998  result = (Mezzanine::Real)((Mezzanine::Vector3 const *)arg1)->SquaredDistance((Mezzanine::Vector3 const &)*arg2);
19999  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
20000  return SWIG_arg;
20001 
20002  if(0) SWIG_fail;
20003 
20004 fail:
20005  lua_error(L);
20006  return SWIG_arg;
20007 }
20008 
20009 
20010 static int _wrap_Vector3_Length(lua_State* L) {
20011  int SWIG_arg = 0;
20012  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20013  Mezzanine::Real result;
20014 
20015  SWIG_check_num_args("Mezzanine::Vector3::Length",1,1)
20016  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Length",1,"Mezzanine::Vector3 const *");
20017 
20018  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20019  SWIG_fail_ptr("Vector3_Length",1,SWIGTYPE_p_Mezzanine__Vector3);
20020  }
20021 
20022  result = (Mezzanine::Real)((Mezzanine::Vector3 const *)arg1)->Length();
20023  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
20024  return SWIG_arg;
20025 
20026  if(0) SWIG_fail;
20027 
20028 fail:
20029  lua_error(L);
20030  return SWIG_arg;
20031 }
20032 
20033 
20034 static int _wrap_Vector3_SquaredLength(lua_State* L) {
20035  int SWIG_arg = 0;
20036  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20037  Mezzanine::Real result;
20038 
20039  SWIG_check_num_args("Mezzanine::Vector3::SquaredLength",1,1)
20040  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::SquaredLength",1,"Mezzanine::Vector3 const *");
20041 
20042  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20043  SWIG_fail_ptr("Vector3_SquaredLength",1,SWIGTYPE_p_Mezzanine__Vector3);
20044  }
20045 
20046  result = (Mezzanine::Real)((Mezzanine::Vector3 const *)arg1)->SquaredLength();
20047  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
20048  return SWIG_arg;
20049 
20050  if(0) SWIG_fail;
20051 
20052 fail:
20053  lua_error(L);
20054  return SWIG_arg;
20055 }
20056 
20057 
20058 static int _wrap_Vector3_IsZeroLength(lua_State* L) {
20059  int SWIG_arg = 0;
20060  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20061  Mezzanine::Boole result;
20062 
20063  SWIG_check_num_args("Mezzanine::Vector3::IsZeroLength",1,1)
20064  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::IsZeroLength",1,"Mezzanine::Vector3 const *");
20065 
20066  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20067  SWIG_fail_ptr("Vector3_IsZeroLength",1,SWIGTYPE_p_Mezzanine__Vector3);
20068  }
20069 
20070  result = (Mezzanine::Boole)((Mezzanine::Vector3 const *)arg1)->IsZeroLength();
20071  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
20072  return SWIG_arg;
20073 
20074  if(0) SWIG_fail;
20075 
20076 fail:
20077  lua_error(L);
20078  return SWIG_arg;
20079 }
20080 
20081 
20082 static int _wrap_Vector3_GetRotationToAxis__SWIG_0(lua_State* L) {
20083  int SWIG_arg = 0;
20084  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20085  Mezzanine::Vector3 *arg2 = 0 ;
20086  Mezzanine::Vector3 *arg3 = 0 ;
20087  Mezzanine::Quaternion result;
20088 
20089  SWIG_check_num_args("Mezzanine::Vector3::GetRotationToAxis",3,3)
20090  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetRotationToAxis",1,"Mezzanine::Vector3 const *");
20091  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::GetRotationToAxis",2,"Mezzanine::Vector3 const &");
20092  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Vector3::GetRotationToAxis",3,"Mezzanine::Vector3 const &");
20093 
20094  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20095  SWIG_fail_ptr("Vector3_GetRotationToAxis",1,SWIGTYPE_p_Mezzanine__Vector3);
20096  }
20097 
20098 
20099  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20100  SWIG_fail_ptr("Vector3_GetRotationToAxis",2,SWIGTYPE_p_Mezzanine__Vector3);
20101  }
20102 
20103 
20104  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
20105  SWIG_fail_ptr("Vector3_GetRotationToAxis",3,SWIGTYPE_p_Mezzanine__Vector3);
20106  }
20107 
20108  result = ((Mezzanine::Vector3 const *)arg1)->GetRotationToAxis((Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3);
20109  {
20110  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
20111  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
20112  }
20113  return SWIG_arg;
20114 
20115  if(0) SWIG_fail;
20116 
20117 fail:
20118  lua_error(L);
20119  return SWIG_arg;
20120 }
20121 
20122 
20123 static int _wrap_Vector3_GetRotationToAxis__SWIG_1(lua_State* L) {
20124  int SWIG_arg = 0;
20125  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20126  Mezzanine::Vector3 *arg2 = 0 ;
20127  Mezzanine::Quaternion result;
20128 
20129  SWIG_check_num_args("Mezzanine::Vector3::GetRotationToAxis",2,2)
20130  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetRotationToAxis",1,"Mezzanine::Vector3 const *");
20131  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::GetRotationToAxis",2,"Mezzanine::Vector3 const &");
20132 
20133  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20134  SWIG_fail_ptr("Vector3_GetRotationToAxis",1,SWIGTYPE_p_Mezzanine__Vector3);
20135  }
20136 
20137 
20138  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20139  SWIG_fail_ptr("Vector3_GetRotationToAxis",2,SWIGTYPE_p_Mezzanine__Vector3);
20140  }
20141 
20142  result = ((Mezzanine::Vector3 const *)arg1)->GetRotationToAxis((Mezzanine::Vector3 const &)*arg2);
20143  {
20144  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
20145  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
20146  }
20147  return SWIG_arg;
20148 
20149  if(0) SWIG_fail;
20150 
20151 fail:
20152  lua_error(L);
20153  return SWIG_arg;
20154 }
20155 
20156 
20157 static int _wrap_Vector3_GetRotationToAxis(lua_State* L) {
20158  int argc;
20159  int argv[4]={
20160  1,2,3,4
20161  };
20162 
20163  argc = lua_gettop(L);
20164  if (argc == 2) {
20165  int _v;
20166  {
20167  void *ptr;
20168  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20169  _v = 0;
20170  } else {
20171  _v = 1;
20172  }
20173  }
20174  if (_v) {
20175  {
20176  void *ptr;
20177  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20178  _v = 0;
20179  } else {
20180  _v = 1;
20181  }
20182  }
20183  if (_v) {
20184  return _wrap_Vector3_GetRotationToAxis__SWIG_1(L);
20185  }
20186  }
20187  }
20188  if (argc == 3) {
20189  int _v;
20190  {
20191  void *ptr;
20192  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20193  _v = 0;
20194  } else {
20195  _v = 1;
20196  }
20197  }
20198  if (_v) {
20199  {
20200  void *ptr;
20201  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20202  _v = 0;
20203  } else {
20204  _v = 1;
20205  }
20206  }
20207  if (_v) {
20208  {
20209  void *ptr;
20210  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20211  _v = 0;
20212  } else {
20213  _v = 1;
20214  }
20215  }
20216  if (_v) {
20217  return _wrap_Vector3_GetRotationToAxis__SWIG_0(L);
20218  }
20219  }
20220  }
20221  }
20222 
20223  lua_pushstring(L,"Wrong arguments for overloaded function 'Vector3_GetRotationToAxis'\n"
20224  " Possible C/C++ prototypes are:\n"
20225  " Mezzanine::Vector3::GetRotationToAxis(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &) const\n"
20226  " Mezzanine::Vector3::GetRotationToAxis(Mezzanine::Vector3 const &) const\n");
20227  lua_error(L);return 0;
20228 }
20229 
20230 
20231 static int _wrap_Vector3_Zero(lua_State* L) {
20232  int SWIG_arg = 0;
20233  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20234 
20235  SWIG_check_num_args("Mezzanine::Vector3::Zero",1,1)
20236  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Zero",1,"Mezzanine::Vector3 *");
20237 
20238  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20239  SWIG_fail_ptr("Vector3_Zero",1,SWIGTYPE_p_Mezzanine__Vector3);
20240  }
20241 
20242  (arg1)->Zero();
20243 
20244  return SWIG_arg;
20245 
20246  if(0) SWIG_fail;
20247 
20248 fail:
20249  lua_error(L);
20250  return SWIG_arg;
20251 }
20252 
20253 
20254 static int _wrap_Vector3_SetValues(lua_State* L) {
20255  int SWIG_arg = 0;
20256  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20257  Mezzanine::Real *arg2 = 0 ;
20258  Mezzanine::Real *arg3 = 0 ;
20259  Mezzanine::Real *arg4 = 0 ;
20260  Mezzanine::Real temp2 ;
20261  Mezzanine::Real temp3 ;
20262  Mezzanine::Real temp4 ;
20263 
20264  SWIG_check_num_args("Mezzanine::Vector3::SetValues",4,4)
20265  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::SetValues",1,"Mezzanine::Vector3 *");
20266  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Vector3::SetValues",2,"Mezzanine::Real const &");
20267  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Vector3::SetValues",3,"Mezzanine::Real const &");
20268  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Vector3::SetValues",4,"Mezzanine::Real const &");
20269 
20270  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20271  SWIG_fail_ptr("Vector3_SetValues",1,SWIGTYPE_p_Mezzanine__Vector3);
20272  }
20273 
20274  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
20275  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
20276  temp4=(Mezzanine::Real)lua_tonumber(L,4); arg4=&temp4;
20277  (arg1)->SetValues((Mezzanine::Real const &)*arg2,(Mezzanine::Real const &)*arg3,(Mezzanine::Real const &)*arg4);
20278 
20279  return SWIG_arg;
20280 
20281  if(0) SWIG_fail;
20282 
20283 fail:
20284  lua_error(L);
20285  return SWIG_arg;
20286 }
20287 
20288 
20289 static int _wrap_Vector3_Ceil(lua_State* L) {
20290  int SWIG_arg = 0;
20291  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20292  Mezzanine::Vector3 *arg2 = 0 ;
20293  Mezzanine::Vector3 *result = 0 ;
20294 
20295  SWIG_check_num_args("Mezzanine::Vector3::Ceil",2,2)
20296  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Ceil",1,"Mezzanine::Vector3 *");
20297  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Ceil",2,"Mezzanine::Vector3 const &");
20298 
20299  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20300  SWIG_fail_ptr("Vector3_Ceil",1,SWIGTYPE_p_Mezzanine__Vector3);
20301  }
20302 
20303 
20304  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20305  SWIG_fail_ptr("Vector3_Ceil",2,SWIGTYPE_p_Mezzanine__Vector3);
20306  }
20307 
20308  result = (Mezzanine::Vector3 *) &(arg1)->Ceil((Mezzanine::Vector3 const &)*arg2);
20309  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
20310  return SWIG_arg;
20311 
20312  if(0) SWIG_fail;
20313 
20314 fail:
20315  lua_error(L);
20316  return SWIG_arg;
20317 }
20318 
20319 
20320 static int _wrap_Vector3_Floor(lua_State* L) {
20321  int SWIG_arg = 0;
20322  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20323  Mezzanine::Vector3 *arg2 = 0 ;
20324  Mezzanine::Vector3 *result = 0 ;
20325 
20326  SWIG_check_num_args("Mezzanine::Vector3::Floor",2,2)
20327  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::Floor",1,"Mezzanine::Vector3 *");
20328  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::Floor",2,"Mezzanine::Vector3 const &");
20329 
20330  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20331  SWIG_fail_ptr("Vector3_Floor",1,SWIGTYPE_p_Mezzanine__Vector3);
20332  }
20333 
20334 
20335  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20336  SWIG_fail_ptr("Vector3_Floor",2,SWIGTYPE_p_Mezzanine__Vector3);
20337  }
20338 
20339  result = (Mezzanine::Vector3 *) &(arg1)->Floor((Mezzanine::Vector3 const &)*arg2);
20340  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
20341  return SWIG_arg;
20342 
20343  if(0) SWIG_fail;
20344 
20345 fail:
20346  lua_error(L);
20347  return SWIG_arg;
20348 }
20349 
20350 
20351 static int _wrap_Vector3_GetBulletVector3(lua_State* L) {
20352  int SWIG_arg = 0;
20353  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20354  btVector3 result;
20355 
20356  SWIG_check_num_args("Mezzanine::Vector3::GetBulletVector3",1,1)
20357  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetBulletVector3",1,"Mezzanine::Vector3 const *");
20358 
20359  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20360  SWIG_fail_ptr("Vector3_GetBulletVector3",1,SWIGTYPE_p_Mezzanine__Vector3);
20361  }
20362 
20363  result = ((Mezzanine::Vector3 const *)arg1)->GetBulletVector3();
20364  {
20365  btVector3 * resultptr = new btVector3((const btVector3 &) result);
20366  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_btVector3,1); SWIG_arg++;
20367  }
20368  return SWIG_arg;
20369 
20370  if(0) SWIG_fail;
20371 
20372 fail:
20373  lua_error(L);
20374  return SWIG_arg;
20375 }
20376 
20377 
20378 static int _wrap_Vector3_ExtractBulletVector3(lua_State* L) {
20379  int SWIG_arg = 0;
20380  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20381  btVector3 *arg2 = 0 ;
20382 
20383  SWIG_check_num_args("Mezzanine::Vector3::ExtractBulletVector3",2,2)
20384  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::ExtractBulletVector3",1,"Mezzanine::Vector3 *");
20385  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::ExtractBulletVector3",2,"btVector3 const &");
20386 
20387  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20388  SWIG_fail_ptr("Vector3_ExtractBulletVector3",1,SWIGTYPE_p_Mezzanine__Vector3);
20389  }
20390 
20391 
20392  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btVector3,0))){
20393  SWIG_fail_ptr("Vector3_ExtractBulletVector3",2,SWIGTYPE_p_btVector3);
20394  }
20395 
20396  (arg1)->ExtractBulletVector3((btVector3 const &)*arg2);
20397 
20398  return SWIG_arg;
20399 
20400  if(0) SWIG_fail;
20401 
20402 fail:
20403  lua_error(L);
20404  return SWIG_arg;
20405 }
20406 
20407 
20408 static int _wrap_Vector3_GetOgreVector3(lua_State* L) {
20409  int SWIG_arg = 0;
20410  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20411  Ogre::Vector3 result;
20412 
20413  SWIG_check_num_args("Mezzanine::Vector3::GetOgreVector3",1,1)
20414  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::GetOgreVector3",1,"Mezzanine::Vector3 const *");
20415 
20416  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20417  SWIG_fail_ptr("Vector3_GetOgreVector3",1,SWIGTYPE_p_Mezzanine__Vector3);
20418  }
20419 
20420  result = ((Mezzanine::Vector3 const *)arg1)->GetOgreVector3();
20421  {
20422  Ogre::Vector3 * resultptr = new Ogre::Vector3((const Ogre::Vector3 &) result);
20423  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Ogre__Vector3,1); SWIG_arg++;
20424  }
20425  return SWIG_arg;
20426 
20427  if(0) SWIG_fail;
20428 
20429 fail:
20430  lua_error(L);
20431  return SWIG_arg;
20432 }
20433 
20434 
20435 static int _wrap_Vector3_ExtractOgreVector3(lua_State* L) {
20436  int SWIG_arg = 0;
20437  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20438  Ogre::Vector3 *arg2 = 0 ;
20439 
20440  SWIG_check_num_args("Mezzanine::Vector3::ExtractOgreVector3",2,2)
20441  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::ExtractOgreVector3",1,"Mezzanine::Vector3 *");
20442  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::ExtractOgreVector3",2,"Ogre::Vector3 const &");
20443 
20444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20445  SWIG_fail_ptr("Vector3_ExtractOgreVector3",1,SWIGTYPE_p_Mezzanine__Vector3);
20446  }
20447 
20448 
20449  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Vector3,0))){
20450  SWIG_fail_ptr("Vector3_ExtractOgreVector3",2,SWIGTYPE_p_Ogre__Vector3);
20451  }
20452 
20453  (arg1)->ExtractOgreVector3((Ogre::Vector3 const &)*arg2);
20454 
20455  return SWIG_arg;
20456 
20457  if(0) SWIG_fail;
20458 
20459 fail:
20460  lua_error(L);
20461  return SWIG_arg;
20462 }
20463 
20464 
20465 static int _wrap_Vector3_ProtoSerialize(lua_State* L) {
20466  int SWIG_arg = 0;
20467  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20468  XML::Node *arg2 = 0 ;
20469 
20470  SWIG_check_num_args("Mezzanine::Vector3::ProtoSerialize",2,2)
20471  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::ProtoSerialize",1,"Mezzanine::Vector3 const *");
20472  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::ProtoSerialize",2,"XML::Node &");
20473 
20474  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20475  SWIG_fail_ptr("Vector3_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Vector3);
20476  }
20477 
20478 
20479  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
20480  SWIG_fail_ptr("Vector3_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
20481  }
20482 
20483  ((Mezzanine::Vector3 const *)arg1)->ProtoSerialize(*arg2);
20484 
20485  return SWIG_arg;
20486 
20487  if(0) SWIG_fail;
20488 
20489 fail:
20490  lua_error(L);
20491  return SWIG_arg;
20492 }
20493 
20494 
20495 static int _wrap_Vector3_ProtoDeSerialize(lua_State* L) {
20496  int SWIG_arg = 0;
20497  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20498  XML::Node *arg2 = 0 ;
20499 
20500  SWIG_check_num_args("Mezzanine::Vector3::ProtoDeSerialize",2,2)
20501  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::ProtoDeSerialize",1,"Mezzanine::Vector3 *");
20502  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Vector3::ProtoDeSerialize",2,"XML::Node const &");
20503 
20504  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20505  SWIG_fail_ptr("Vector3_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Vector3);
20506  }
20507 
20508 
20509  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
20510  SWIG_fail_ptr("Vector3_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
20511  }
20512 
20513  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
20514 
20515  return SWIG_arg;
20516 
20517  if(0) SWIG_fail;
20518 
20519 fail:
20520  lua_error(L);
20521  return SWIG_arg;
20522 }
20523 
20524 
20525 static int _wrap_Vector3_SerializableName(lua_State* L) {
20526  int SWIG_arg = 0;
20527  Mezzanine::String result;
20528 
20529  SWIG_check_num_args("Mezzanine::Vector3::SerializableName",0,0)
20530  result = Mezzanine::Vector3::SerializableName();
20531  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
20532  return SWIG_arg;
20533 
20534  if(0) SWIG_fail;
20535 
20536 fail:
20537  lua_error(L);
20538  return SWIG_arg;
20539 }
20540 
20541 
20542 static int _wrap_Vector3___tostring(lua_State* L) {
20543  int SWIG_arg = 0;
20544  Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) 0 ;
20545  char *result = 0 ;
20546 
20547  SWIG_check_num_args("Mezzanine::Vector3::__str__",1,1)
20548  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Vector3::__str__",1,"Mezzanine::Vector3 *");
20549 
20550  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
20551  SWIG_fail_ptr("Vector3___tostring",1,SWIGTYPE_p_Mezzanine__Vector3);
20552  }
20553 
20554  result = (char *)(arg1)->__str__();
20555  lua_pushstring(L,(const char *)result); SWIG_arg++;
20556  return SWIG_arg;
20557 
20558  if(0) SWIG_fail;
20559 
20560 fail:
20561  lua_error(L);
20562  return SWIG_arg;
20563 }
20564 
20565 
20566 static void swig_delete_Vector3(void *obj) {
20567 Mezzanine::Vector3 *arg1 = (Mezzanine::Vector3 *) obj;
20568 delete arg1;
20569 }
20570 static swig_lua_method swig_Mezzanine_Vector3_methods[] = {
20571  {"GetAxisValue", _wrap_Vector3_GetAxisValue},
20572  {"IsStandardUnitAxis", _wrap_Vector3_IsStandardUnitAxis},
20573  {"__unm", _wrap_Vector3___unm},
20574  {"__eq", _wrap_Vector3___eq},
20575  {"__le", _wrap_Vector3___le},
20576  {"__add", _wrap_Vector3___add},
20577  {"__sub", _wrap_Vector3___sub},
20578  {"__mul", _wrap_Vector3___mul},
20579  {"__div", _wrap_Vector3___div},
20580  {"CrossProduct", _wrap_Vector3_CrossProduct},
20581  {"DotProduct", _wrap_Vector3_DotProduct},
20582  {"Normalize", _wrap_Vector3_Normalize},
20583  {"GetNormal", _wrap_Vector3_GetNormal},
20584  {"GetDirection", _wrap_Vector3_GetDirection},
20585  {"Inverse", _wrap_Vector3_Inverse},
20586  {"Reflect", _wrap_Vector3_Reflect},
20587  {"Distance", _wrap_Vector3_Distance},
20588  {"SquaredDistance", _wrap_Vector3_SquaredDistance},
20589  {"Length", _wrap_Vector3_Length},
20590  {"SquaredLength", _wrap_Vector3_SquaredLength},
20591  {"IsZeroLength", _wrap_Vector3_IsZeroLength},
20592  {"GetRotationToAxis", _wrap_Vector3_GetRotationToAxis},
20593  {"Zero", _wrap_Vector3_Zero},
20594  {"SetValues", _wrap_Vector3_SetValues},
20595  {"Ceil", _wrap_Vector3_Ceil},
20596  {"Floor", _wrap_Vector3_Floor},
20597  {"GetBulletVector3", _wrap_Vector3_GetBulletVector3},
20598  {"ExtractBulletVector3", _wrap_Vector3_ExtractBulletVector3},
20599  {"GetOgreVector3", _wrap_Vector3_GetOgreVector3},
20600  {"ExtractOgreVector3", _wrap_Vector3_ExtractOgreVector3},
20601  {"ProtoSerialize", _wrap_Vector3_ProtoSerialize},
20602  {"ProtoDeSerialize", _wrap_Vector3_ProtoDeSerialize},
20603  {"__tostring", _wrap_Vector3___tostring},
20604  {0,0}
20605 };
20606 static swig_lua_attribute swig_Mezzanine_Vector3_attributes[] = {
20607  { "X", _wrap_Vector3_X_get, _wrap_Vector3_X_set},
20608  { "Y", _wrap_Vector3_Y_get, _wrap_Vector3_Y_set},
20609  { "Z", _wrap_Vector3_Z_get, _wrap_Vector3_Z_set},
20610  {0,0,0}
20611 };
20612 static swig_lua_class *swig_Mezzanine_Vector3_bases[] = {0};
20613 static const char *swig_Mezzanine_Vector3_base_names[] = {0};
20614 static swig_lua_class _wrap_class_Mezzanine_Vector3 = { "Vector3", &SWIGTYPE_p_Mezzanine__Vector3,_wrap_new_Vector3, swig_delete_Vector3, swig_Mezzanine_Vector3_methods, swig_Mezzanine_Vector3_attributes, swig_Mezzanine_Vector3_bases, swig_Mezzanine_Vector3_base_names };
20615 
20616 static int _wrap___add__SWIG_0(lua_State* L) {
20617  int SWIG_arg = 0;
20618  btVector3 *arg1 = 0 ;
20619  Mezzanine::Vector3 *arg2 = 0 ;
20620  Mezzanine::Vector3 result;
20621 
20622  SWIG_check_num_args("Mezzanine::operator +",2,2)
20623  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator +",1,"btVector3 const &");
20624  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator +",2,"Mezzanine::Vector3 const &");
20625 
20626  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btVector3,0))){
20627  SWIG_fail_ptr("__add",1,SWIGTYPE_p_btVector3);
20628  }
20629 
20630 
20631  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20632  SWIG_fail_ptr("__add",2,SWIGTYPE_p_Mezzanine__Vector3);
20633  }
20634 
20635  result = Mezzanine::operator +((btVector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20636  {
20637  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20638  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20639  }
20640  return SWIG_arg;
20641 
20642  if(0) SWIG_fail;
20643 
20644 fail:
20645  lua_error(L);
20646  return SWIG_arg;
20647 }
20648 
20649 
20650 static int _wrap___sub__SWIG_0(lua_State* L) {
20651  int SWIG_arg = 0;
20652  btVector3 *arg1 = 0 ;
20653  Mezzanine::Vector3 *arg2 = 0 ;
20654  Mezzanine::Vector3 result;
20655 
20656  SWIG_check_num_args("Mezzanine::operator -",2,2)
20657  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator -",1,"btVector3 const &");
20658  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator -",2,"Mezzanine::Vector3 const &");
20659 
20660  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btVector3,0))){
20661  SWIG_fail_ptr("__sub",1,SWIGTYPE_p_btVector3);
20662  }
20663 
20664 
20665  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20666  SWIG_fail_ptr("__sub",2,SWIGTYPE_p_Mezzanine__Vector3);
20667  }
20668 
20669  result = Mezzanine::operator -((btVector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20670  {
20671  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20672  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20673  }
20674  return SWIG_arg;
20675 
20676  if(0) SWIG_fail;
20677 
20678 fail:
20679  lua_error(L);
20680  return SWIG_arg;
20681 }
20682 
20683 
20684 static int _wrap___mul__SWIG_0(lua_State* L) {
20685  int SWIG_arg = 0;
20686  btVector3 *arg1 = 0 ;
20687  Mezzanine::Vector3 *arg2 = 0 ;
20688  Mezzanine::Vector3 result;
20689 
20690  SWIG_check_num_args("Mezzanine::operator *",2,2)
20691  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator *",1,"btVector3 const &");
20692  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator *",2,"Mezzanine::Vector3 const &");
20693 
20694  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btVector3,0))){
20695  SWIG_fail_ptr("__mul",1,SWIGTYPE_p_btVector3);
20696  }
20697 
20698 
20699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20700  SWIG_fail_ptr("__mul",2,SWIGTYPE_p_Mezzanine__Vector3);
20701  }
20702 
20703  result = Mezzanine::operator *((btVector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20704  {
20705  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20706  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20707  }
20708  return SWIG_arg;
20709 
20710  if(0) SWIG_fail;
20711 
20712 fail:
20713  lua_error(L);
20714  return SWIG_arg;
20715 }
20716 
20717 
20718 static int _wrap___div__SWIG_0(lua_State* L) {
20719  int SWIG_arg = 0;
20720  btVector3 *arg1 = 0 ;
20721  Mezzanine::Vector3 *arg2 = 0 ;
20722  Mezzanine::Vector3 result;
20723 
20724  SWIG_check_num_args("Mezzanine::operator /",2,2)
20725  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator /",1,"btVector3 const &");
20726  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator /",2,"Mezzanine::Vector3 const &");
20727 
20728  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btVector3,0))){
20729  SWIG_fail_ptr("__div",1,SWIGTYPE_p_btVector3);
20730  }
20731 
20732 
20733  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20734  SWIG_fail_ptr("__div",2,SWIGTYPE_p_Mezzanine__Vector3);
20735  }
20736 
20737  result = Mezzanine::operator /((btVector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20738  {
20739  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20740  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20741  }
20742  return SWIG_arg;
20743 
20744  if(0) SWIG_fail;
20745 
20746 fail:
20747  lua_error(L);
20748  return SWIG_arg;
20749 }
20750 
20751 
20752 static int _wrap___add__SWIG_1(lua_State* L) {
20753  int SWIG_arg = 0;
20754  Ogre::Vector3 *arg1 = 0 ;
20755  Mezzanine::Vector3 *arg2 = 0 ;
20756  Mezzanine::Vector3 result;
20757 
20758  SWIG_check_num_args("Mezzanine::operator +",2,2)
20759  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator +",1,"Ogre::Vector3 const &");
20760  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator +",2,"Mezzanine::Vector3 const &");
20761 
20762  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Vector3,0))){
20763  SWIG_fail_ptr("__add",1,SWIGTYPE_p_Ogre__Vector3);
20764  }
20765 
20766 
20767  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20768  SWIG_fail_ptr("__add",2,SWIGTYPE_p_Mezzanine__Vector3);
20769  }
20770 
20771  result = Mezzanine::operator +((Ogre::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20772  {
20773  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20774  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20775  }
20776  return SWIG_arg;
20777 
20778  if(0) SWIG_fail;
20779 
20780 fail:
20781  lua_error(L);
20782  return SWIG_arg;
20783 }
20784 
20785 
20786 static int _wrap___add(lua_State* L) {
20787  int argc;
20788  int argv[3]={
20789  1,2,3
20790  };
20791 
20792  argc = lua_gettop(L);
20793  if (argc == 2) {
20794  int _v;
20795  {
20796  void *ptr;
20797  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
20798  _v = 0;
20799  } else {
20800  _v = 1;
20801  }
20802  }
20803  if (_v) {
20804  {
20805  void *ptr;
20806  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20807  _v = 0;
20808  } else {
20809  _v = 1;
20810  }
20811  }
20812  if (_v) {
20813  return _wrap___add__SWIG_0(L);
20814  }
20815  }
20816  }
20817  if (argc == 2) {
20818  int _v;
20819  {
20820  void *ptr;
20821  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
20822  _v = 0;
20823  } else {
20824  _v = 1;
20825  }
20826  }
20827  if (_v) {
20828  {
20829  void *ptr;
20830  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20831  _v = 0;
20832  } else {
20833  _v = 1;
20834  }
20835  }
20836  if (_v) {
20837  return _wrap___add__SWIG_1(L);
20838  }
20839  }
20840  }
20841 
20842  lua_pushstring(L,"Wrong arguments for overloaded function '__add'\n"
20843  " Possible C/C++ prototypes are:\n"
20844  " Mezzanine::operator +(btVector3 const &,Mezzanine::Vector3 const &)\n"
20845  " Mezzanine::operator +(Ogre::Vector3 const &,Mezzanine::Vector3 const &)\n");
20846  lua_error(L);return 0;
20847 }
20848 
20849 
20850 static int _wrap___sub__SWIG_1(lua_State* L) {
20851  int SWIG_arg = 0;
20852  Ogre::Vector3 *arg1 = 0 ;
20853  Mezzanine::Vector3 *arg2 = 0 ;
20854  Mezzanine::Vector3 result;
20855 
20856  SWIG_check_num_args("Mezzanine::operator -",2,2)
20857  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator -",1,"Ogre::Vector3 const &");
20858  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator -",2,"Mezzanine::Vector3 const &");
20859 
20860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Vector3,0))){
20861  SWIG_fail_ptr("__sub",1,SWIGTYPE_p_Ogre__Vector3);
20862  }
20863 
20864 
20865  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20866  SWIG_fail_ptr("__sub",2,SWIGTYPE_p_Mezzanine__Vector3);
20867  }
20868 
20869  result = Mezzanine::operator -((Ogre::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20870  {
20871  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20872  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20873  }
20874  return SWIG_arg;
20875 
20876  if(0) SWIG_fail;
20877 
20878 fail:
20879  lua_error(L);
20880  return SWIG_arg;
20881 }
20882 
20883 
20884 static int _wrap___sub(lua_State* L) {
20885  int argc;
20886  int argv[3]={
20887  1,2,3
20888  };
20889 
20890  argc = lua_gettop(L);
20891  if (argc == 2) {
20892  int _v;
20893  {
20894  void *ptr;
20895  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
20896  _v = 0;
20897  } else {
20898  _v = 1;
20899  }
20900  }
20901  if (_v) {
20902  {
20903  void *ptr;
20904  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20905  _v = 0;
20906  } else {
20907  _v = 1;
20908  }
20909  }
20910  if (_v) {
20911  return _wrap___sub__SWIG_0(L);
20912  }
20913  }
20914  }
20915  if (argc == 2) {
20916  int _v;
20917  {
20918  void *ptr;
20919  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
20920  _v = 0;
20921  } else {
20922  _v = 1;
20923  }
20924  }
20925  if (_v) {
20926  {
20927  void *ptr;
20928  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
20929  _v = 0;
20930  } else {
20931  _v = 1;
20932  }
20933  }
20934  if (_v) {
20935  return _wrap___sub__SWIG_1(L);
20936  }
20937  }
20938  }
20939 
20940  lua_pushstring(L,"Wrong arguments for overloaded function '__sub'\n"
20941  " Possible C/C++ prototypes are:\n"
20942  " Mezzanine::operator -(btVector3 const &,Mezzanine::Vector3 const &)\n"
20943  " Mezzanine::operator -(Ogre::Vector3 const &,Mezzanine::Vector3 const &)\n");
20944  lua_error(L);return 0;
20945 }
20946 
20947 
20948 static int _wrap___mul__SWIG_1(lua_State* L) {
20949  int SWIG_arg = 0;
20950  Ogre::Vector3 *arg1 = 0 ;
20951  Mezzanine::Vector3 *arg2 = 0 ;
20952  Mezzanine::Vector3 result;
20953 
20954  SWIG_check_num_args("Mezzanine::operator *",2,2)
20955  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator *",1,"Ogre::Vector3 const &");
20956  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator *",2,"Mezzanine::Vector3 const &");
20957 
20958  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Vector3,0))){
20959  SWIG_fail_ptr("__mul",1,SWIGTYPE_p_Ogre__Vector3);
20960  }
20961 
20962 
20963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
20964  SWIG_fail_ptr("__mul",2,SWIGTYPE_p_Mezzanine__Vector3);
20965  }
20966 
20967  result = Mezzanine::operator *((Ogre::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
20968  {
20969  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
20970  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
20971  }
20972  return SWIG_arg;
20973 
20974  if(0) SWIG_fail;
20975 
20976 fail:
20977  lua_error(L);
20978  return SWIG_arg;
20979 }
20980 
20981 
20982 static int _wrap___mul(lua_State* L) {
20983  int argc;
20984  int argv[3]={
20985  1,2,3
20986  };
20987 
20988  argc = lua_gettop(L);
20989  if (argc == 2) {
20990  int _v;
20991  {
20992  void *ptr;
20993  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
20994  _v = 0;
20995  } else {
20996  _v = 1;
20997  }
20998  }
20999  if (_v) {
21000  {
21001  void *ptr;
21002  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21003  _v = 0;
21004  } else {
21005  _v = 1;
21006  }
21007  }
21008  if (_v) {
21009  return _wrap___mul__SWIG_0(L);
21010  }
21011  }
21012  }
21013  if (argc == 2) {
21014  int _v;
21015  {
21016  void *ptr;
21017  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
21018  _v = 0;
21019  } else {
21020  _v = 1;
21021  }
21022  }
21023  if (_v) {
21024  {
21025  void *ptr;
21026  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21027  _v = 0;
21028  } else {
21029  _v = 1;
21030  }
21031  }
21032  if (_v) {
21033  return _wrap___mul__SWIG_1(L);
21034  }
21035  }
21036  }
21037 
21038  lua_pushstring(L,"Wrong arguments for overloaded function '__mul'\n"
21039  " Possible C/C++ prototypes are:\n"
21040  " Mezzanine::operator *(btVector3 const &,Mezzanine::Vector3 const &)\n"
21041  " Mezzanine::operator *(Ogre::Vector3 const &,Mezzanine::Vector3 const &)\n");
21042  lua_error(L);return 0;
21043 }
21044 
21045 
21046 static int _wrap___div__SWIG_1(lua_State* L) {
21047  int SWIG_arg = 0;
21048  Ogre::Vector3 *arg1 = 0 ;
21049  Mezzanine::Vector3 *arg2 = 0 ;
21050  Mezzanine::Vector3 result;
21051 
21052  SWIG_check_num_args("Mezzanine::operator /",2,2)
21053  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::operator /",1,"Ogre::Vector3 const &");
21054  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::operator /",2,"Mezzanine::Vector3 const &");
21055 
21056  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Vector3,0))){
21057  SWIG_fail_ptr("__div",1,SWIGTYPE_p_Ogre__Vector3);
21058  }
21059 
21060 
21061  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
21062  SWIG_fail_ptr("__div",2,SWIGTYPE_p_Mezzanine__Vector3);
21063  }
21064 
21065  result = Mezzanine::operator /((Ogre::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
21066  {
21067  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
21068  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
21069  }
21070  return SWIG_arg;
21071 
21072  if(0) SWIG_fail;
21073 
21074 fail:
21075  lua_error(L);
21076  return SWIG_arg;
21077 }
21078 
21079 
21080 static int _wrap___div(lua_State* L) {
21081  int argc;
21082  int argv[3]={
21083  1,2,3
21084  };
21085 
21086  argc = lua_gettop(L);
21087  if (argc == 2) {
21088  int _v;
21089  {
21090  void *ptr;
21091  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btVector3, 0)) {
21092  _v = 0;
21093  } else {
21094  _v = 1;
21095  }
21096  }
21097  if (_v) {
21098  {
21099  void *ptr;
21100  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21101  _v = 0;
21102  } else {
21103  _v = 1;
21104  }
21105  }
21106  if (_v) {
21107  return _wrap___div__SWIG_0(L);
21108  }
21109  }
21110  }
21111  if (argc == 2) {
21112  int _v;
21113  {
21114  void *ptr;
21115  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Vector3, 0)) {
21116  _v = 0;
21117  } else {
21118  _v = 1;
21119  }
21120  }
21121  if (_v) {
21122  {
21123  void *ptr;
21124  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21125  _v = 0;
21126  } else {
21127  _v = 1;
21128  }
21129  }
21130  if (_v) {
21131  return _wrap___div__SWIG_1(L);
21132  }
21133  }
21134  }
21135 
21136  lua_pushstring(L,"Wrong arguments for overloaded function '__div'\n"
21137  " Possible C/C++ prototypes are:\n"
21138  " Mezzanine::operator /(btVector3 const &,Mezzanine::Vector3 const &)\n"
21139  " Mezzanine::operator /(Ogre::Vector3 const &,Mezzanine::Vector3 const &)\n");
21140  lua_error(L);return 0;
21141 }
21142 
21143 
21144 static int _wrap_Quaternion_X_set(lua_State* L) {
21145  int SWIG_arg = 0;
21147  Mezzanine::Real arg2 ;
21148 
21149  SWIG_check_num_args("Mezzanine::Quaternion::X",2,2)
21150  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::X",1,"Mezzanine::Quaternion *");
21151  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::X",2,"Mezzanine::Real");
21152 
21153  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21154  SWIG_fail_ptr("Quaternion_X_set",1,SWIGTYPE_p_Mezzanine__Quaternion);
21155  }
21156 
21157  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
21158  if (arg1) (arg1)->X = arg2;
21159 
21160  return SWIG_arg;
21161 
21162  if(0) SWIG_fail;
21163 
21164 fail:
21165  lua_error(L);
21166  return SWIG_arg;
21167 }
21168 
21169 
21170 static int _wrap_Quaternion_X_get(lua_State* L) {
21171  int SWIG_arg = 0;
21173  Mezzanine::Real result;
21174 
21175  SWIG_check_num_args("Mezzanine::Quaternion::X",1,1)
21176  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::X",1,"Mezzanine::Quaternion *");
21177 
21178  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21179  SWIG_fail_ptr("Quaternion_X_get",1,SWIGTYPE_p_Mezzanine__Quaternion);
21180  }
21181 
21182  result = (Mezzanine::Real) ((arg1)->X);
21183  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21184  return SWIG_arg;
21185 
21186  if(0) SWIG_fail;
21187 
21188 fail:
21189  lua_error(L);
21190  return SWIG_arg;
21191 }
21192 
21193 
21194 static int _wrap_Quaternion_Y_set(lua_State* L) {
21195  int SWIG_arg = 0;
21197  Mezzanine::Real arg2 ;
21198 
21199  SWIG_check_num_args("Mezzanine::Quaternion::Y",2,2)
21200  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Y",1,"Mezzanine::Quaternion *");
21201  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::Y",2,"Mezzanine::Real");
21202 
21203  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21204  SWIG_fail_ptr("Quaternion_Y_set",1,SWIGTYPE_p_Mezzanine__Quaternion);
21205  }
21206 
21207  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
21208  if (arg1) (arg1)->Y = arg2;
21209 
21210  return SWIG_arg;
21211 
21212  if(0) SWIG_fail;
21213 
21214 fail:
21215  lua_error(L);
21216  return SWIG_arg;
21217 }
21218 
21219 
21220 static int _wrap_Quaternion_Y_get(lua_State* L) {
21221  int SWIG_arg = 0;
21223  Mezzanine::Real result;
21224 
21225  SWIG_check_num_args("Mezzanine::Quaternion::Y",1,1)
21226  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Y",1,"Mezzanine::Quaternion *");
21227 
21228  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21229  SWIG_fail_ptr("Quaternion_Y_get",1,SWIGTYPE_p_Mezzanine__Quaternion);
21230  }
21231 
21232  result = (Mezzanine::Real) ((arg1)->Y);
21233  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21234  return SWIG_arg;
21235 
21236  if(0) SWIG_fail;
21237 
21238 fail:
21239  lua_error(L);
21240  return SWIG_arg;
21241 }
21242 
21243 
21244 static int _wrap_Quaternion_Z_set(lua_State* L) {
21245  int SWIG_arg = 0;
21247  Mezzanine::Real arg2 ;
21248 
21249  SWIG_check_num_args("Mezzanine::Quaternion::Z",2,2)
21250  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Z",1,"Mezzanine::Quaternion *");
21251  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::Z",2,"Mezzanine::Real");
21252 
21253  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21254  SWIG_fail_ptr("Quaternion_Z_set",1,SWIGTYPE_p_Mezzanine__Quaternion);
21255  }
21256 
21257  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
21258  if (arg1) (arg1)->Z = arg2;
21259 
21260  return SWIG_arg;
21261 
21262  if(0) SWIG_fail;
21263 
21264 fail:
21265  lua_error(L);
21266  return SWIG_arg;
21267 }
21268 
21269 
21270 static int _wrap_Quaternion_Z_get(lua_State* L) {
21271  int SWIG_arg = 0;
21273  Mezzanine::Real result;
21274 
21275  SWIG_check_num_args("Mezzanine::Quaternion::Z",1,1)
21276  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Z",1,"Mezzanine::Quaternion *");
21277 
21278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21279  SWIG_fail_ptr("Quaternion_Z_get",1,SWIGTYPE_p_Mezzanine__Quaternion);
21280  }
21281 
21282  result = (Mezzanine::Real) ((arg1)->Z);
21283  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21284  return SWIG_arg;
21285 
21286  if(0) SWIG_fail;
21287 
21288 fail:
21289  lua_error(L);
21290  return SWIG_arg;
21291 }
21292 
21293 
21294 static int _wrap_Quaternion_W_set(lua_State* L) {
21295  int SWIG_arg = 0;
21297  Mezzanine::Real arg2 ;
21298 
21299  SWIG_check_num_args("Mezzanine::Quaternion::W",2,2)
21300  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::W",1,"Mezzanine::Quaternion *");
21301  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::W",2,"Mezzanine::Real");
21302 
21303  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21304  SWIG_fail_ptr("Quaternion_W_set",1,SWIGTYPE_p_Mezzanine__Quaternion);
21305  }
21306 
21307  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
21308  if (arg1) (arg1)->W = arg2;
21309 
21310  return SWIG_arg;
21311 
21312  if(0) SWIG_fail;
21313 
21314 fail:
21315  lua_error(L);
21316  return SWIG_arg;
21317 }
21318 
21319 
21320 static int _wrap_Quaternion_W_get(lua_State* L) {
21321  int SWIG_arg = 0;
21323  Mezzanine::Real result;
21324 
21325  SWIG_check_num_args("Mezzanine::Quaternion::W",1,1)
21326  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::W",1,"Mezzanine::Quaternion *");
21327 
21328  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21329  SWIG_fail_ptr("Quaternion_W_get",1,SWIGTYPE_p_Mezzanine__Quaternion);
21330  }
21331 
21332  result = (Mezzanine::Real) ((arg1)->W);
21333  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21334  return SWIG_arg;
21335 
21336  if(0) SWIG_fail;
21337 
21338 fail:
21339  lua_error(L);
21340  return SWIG_arg;
21341 }
21342 
21343 
21344 static int _wrap_new_Quaternion__SWIG_0(lua_State* L) {
21345  int SWIG_arg = 0;
21346  Mezzanine::Quaternion *result = 0 ;
21347 
21348  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",0,0)
21349  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion();
21350  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21351  return SWIG_arg;
21352 
21353  if(0) SWIG_fail;
21354 
21355 fail:
21356  lua_error(L);
21357  return SWIG_arg;
21358 }
21359 
21360 
21361 static int _wrap_new_Quaternion__SWIG_1(lua_State* L) {
21362  int SWIG_arg = 0;
21363  Mezzanine::Real *arg1 = 0 ;
21364  Mezzanine::Real *arg2 = 0 ;
21365  Mezzanine::Real *arg3 = 0 ;
21366  Mezzanine::Real *arg4 = 0 ;
21367  Mezzanine::Real temp1 ;
21368  Mezzanine::Real temp2 ;
21369  Mezzanine::Real temp3 ;
21370  Mezzanine::Real temp4 ;
21371  Mezzanine::Quaternion *result = 0 ;
21372 
21373  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",4,4)
21374  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"Mezzanine::Real const &");
21375  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",2,"Mezzanine::Real const &");
21376  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",3,"Mezzanine::Real const &");
21377  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",4,"Mezzanine::Real const &");
21378  temp1=(Mezzanine::Real)lua_tonumber(L,1); arg1=&temp1;
21379  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
21380  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
21381  temp4=(Mezzanine::Real)lua_tonumber(L,4); arg4=&temp4;
21382  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((Mezzanine::Real const &)*arg1,(Mezzanine::Real const &)*arg2,(Mezzanine::Real const &)*arg3,(Mezzanine::Real const &)*arg4);
21383  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21384  return SWIG_arg;
21385 
21386  if(0) SWIG_fail;
21387 
21388 fail:
21389  lua_error(L);
21390  return SWIG_arg;
21391 }
21392 
21393 
21394 static int _wrap_new_Quaternion__SWIG_2(lua_State* L) {
21395  int SWIG_arg = 0;
21396  Mezzanine::Real *arg1 = 0 ;
21397  Mezzanine::Vector3 *arg2 = 0 ;
21398  Mezzanine::Real temp1 ;
21399  Mezzanine::Quaternion *result = 0 ;
21400 
21401  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",2,2)
21402  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"Mezzanine::Real const &");
21403  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",2,"Mezzanine::Vector3 const &");
21404  temp1=(Mezzanine::Real)lua_tonumber(L,1); arg1=&temp1;
21405 
21406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
21407  SWIG_fail_ptr("new_Quaternion",2,SWIGTYPE_p_Mezzanine__Vector3);
21408  }
21409 
21410  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((Mezzanine::Real const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
21411  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21412  return SWIG_arg;
21413 
21414  if(0) SWIG_fail;
21415 
21416 fail:
21417  lua_error(L);
21418  return SWIG_arg;
21419 }
21420 
21421 
21422 static int _wrap_new_Quaternion__SWIG_3(lua_State* L) {
21423  int SWIG_arg = 0;
21424  Mezzanine::Matrix3x3 *arg1 = 0 ;
21425  Mezzanine::Quaternion *result = 0 ;
21426 
21427  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",1,1)
21428  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"Mezzanine::Matrix3x3 const &");
21429 
21430  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Matrix3x3,0))){
21431  SWIG_fail_ptr("new_Quaternion",1,SWIGTYPE_p_Mezzanine__Matrix3x3);
21432  }
21433 
21434  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((Mezzanine::Matrix3x3 const &)*arg1);
21435  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21436  return SWIG_arg;
21437 
21438  if(0) SWIG_fail;
21439 
21440 fail:
21441  lua_error(L);
21442  return SWIG_arg;
21443 }
21444 
21445 
21446 static int _wrap_new_Quaternion__SWIG_4(lua_State* L) {
21447  int SWIG_arg = 0;
21448  Mezzanine::Vector3 *arg1 = 0 ;
21449  Mezzanine::Vector3 *arg2 = 0 ;
21450  Mezzanine::Vector3 *arg3 = 0 ;
21451  Mezzanine::Quaternion *result = 0 ;
21452 
21453  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",3,3)
21454  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"Mezzanine::Vector3 const &");
21455  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",2,"Mezzanine::Vector3 const &");
21456  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",3,"Mezzanine::Vector3 const &");
21457 
21458  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
21459  SWIG_fail_ptr("new_Quaternion",1,SWIGTYPE_p_Mezzanine__Vector3);
21460  }
21461 
21462 
21463  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
21464  SWIG_fail_ptr("new_Quaternion",2,SWIGTYPE_p_Mezzanine__Vector3);
21465  }
21466 
21467 
21468  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
21469  SWIG_fail_ptr("new_Quaternion",3,SWIGTYPE_p_Mezzanine__Vector3);
21470  }
21471 
21472  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((Mezzanine::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3);
21473  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21474  return SWIG_arg;
21475 
21476  if(0) SWIG_fail;
21477 
21478 fail:
21479  lua_error(L);
21480  return SWIG_arg;
21481 }
21482 
21483 
21484 static int _wrap_new_Quaternion__SWIG_5(lua_State* L) {
21485  int SWIG_arg = 0;
21486  btQuaternion *arg1 = 0 ;
21487  Mezzanine::Quaternion *result = 0 ;
21488 
21489  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",1,1)
21490  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"btQuaternion const &");
21491 
21492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btQuaternion,0))){
21493  SWIG_fail_ptr("new_Quaternion",1,SWIGTYPE_p_btQuaternion);
21494  }
21495 
21496  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((btQuaternion const &)*arg1);
21497  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21498  return SWIG_arg;
21499 
21500  if(0) SWIG_fail;
21501 
21502 fail:
21503  lua_error(L);
21504  return SWIG_arg;
21505 }
21506 
21507 
21508 static int _wrap_new_Quaternion__SWIG_6(lua_State* L) {
21509  int SWIG_arg = 0;
21510  Ogre::Quaternion *arg1 = 0 ;
21511  Mezzanine::Quaternion *result = 0 ;
21512 
21513  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",1,1)
21514  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"Ogre::Quaternion const &");
21515 
21516  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Quaternion,0))){
21517  SWIG_fail_ptr("new_Quaternion",1,SWIGTYPE_p_Ogre__Quaternion);
21518  }
21519 
21520  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((Ogre::Quaternion const &)*arg1);
21521  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21522  return SWIG_arg;
21523 
21524  if(0) SWIG_fail;
21525 
21526 fail:
21527  lua_error(L);
21528  return SWIG_arg;
21529 }
21530 
21531 
21532 static int _wrap_new_Quaternion__SWIG_7(lua_State* L) {
21533  int SWIG_arg = 0;
21534  Mezzanine::Quaternion *arg1 = 0 ;
21535  Mezzanine::Quaternion *result = 0 ;
21536 
21537  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",1,1)
21538  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"Mezzanine::Quaternion const &");
21539 
21540  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21541  SWIG_fail_ptr("new_Quaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
21542  }
21543 
21544  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((Mezzanine::Quaternion const &)*arg1);
21545  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21546  return SWIG_arg;
21547 
21548  if(0) SWIG_fail;
21549 
21550 fail:
21551  lua_error(L);
21552  return SWIG_arg;
21553 }
21554 
21555 
21556 static int _wrap_new_Quaternion__SWIG_8(lua_State* L) {
21557  int SWIG_arg = 0;
21558  XML::Node *arg1 = 0 ;
21559  Mezzanine::Quaternion *result = 0 ;
21560 
21561  SWIG_check_num_args("Mezzanine::Quaternion::Quaternion",1,1)
21562  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Quaternion",1,"XML::Node const &");
21563 
21564  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
21565  SWIG_fail_ptr("new_Quaternion",1,SWIGTYPE_p_XML__Node);
21566  }
21567 
21568  result = (Mezzanine::Quaternion *)new Mezzanine::Quaternion((XML::Node const &)*arg1);
21569  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
21570  return SWIG_arg;
21571 
21572  if(0) SWIG_fail;
21573 
21574 fail:
21575  lua_error(L);
21576  return SWIG_arg;
21577 }
21578 
21579 
21580 static int _wrap_new_Quaternion(lua_State* L) {
21581  int argc;
21582  int argv[5]={
21583  1,2,3,4,5
21584  };
21585 
21586  argc = lua_gettop(L);
21587  if (argc == 0) {
21588  return _wrap_new_Quaternion__SWIG_0(L);
21589  }
21590  if (argc == 1) {
21591  int _v;
21592  {
21593  void *ptr;
21594  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Matrix3x3, 0)) {
21595  _v = 0;
21596  } else {
21597  _v = 1;
21598  }
21599  }
21600  if (_v) {
21601  return _wrap_new_Quaternion__SWIG_3(L);
21602  }
21603  }
21604  if (argc == 1) {
21605  int _v;
21606  {
21607  void *ptr;
21608  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btQuaternion, 0)) {
21609  _v = 0;
21610  } else {
21611  _v = 1;
21612  }
21613  }
21614  if (_v) {
21615  return _wrap_new_Quaternion__SWIG_5(L);
21616  }
21617  }
21618  if (argc == 1) {
21619  int _v;
21620  {
21621  void *ptr;
21622  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Quaternion, 0)) {
21623  _v = 0;
21624  } else {
21625  _v = 1;
21626  }
21627  }
21628  if (_v) {
21629  return _wrap_new_Quaternion__SWIG_6(L);
21630  }
21631  }
21632  if (argc == 1) {
21633  int _v;
21634  {
21635  void *ptr;
21636  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
21637  _v = 0;
21638  } else {
21639  _v = 1;
21640  }
21641  }
21642  if (_v) {
21643  return _wrap_new_Quaternion__SWIG_7(L);
21644  }
21645  }
21646  if (argc == 1) {
21647  int _v;
21648  {
21649  void *ptr;
21650  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
21651  _v = 0;
21652  } else {
21653  _v = 1;
21654  }
21655  }
21656  if (_v) {
21657  return _wrap_new_Quaternion__SWIG_8(L);
21658  }
21659  }
21660  if (argc == 2) {
21661  int _v;
21662  {
21663  _v = lua_isnumber(L,argv[0]);
21664  }
21665  if (_v) {
21666  {
21667  void *ptr;
21668  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21669  _v = 0;
21670  } else {
21671  _v = 1;
21672  }
21673  }
21674  if (_v) {
21675  return _wrap_new_Quaternion__SWIG_2(L);
21676  }
21677  }
21678  }
21679  if (argc == 3) {
21680  int _v;
21681  {
21682  void *ptr;
21683  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21684  _v = 0;
21685  } else {
21686  _v = 1;
21687  }
21688  }
21689  if (_v) {
21690  {
21691  void *ptr;
21692  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21693  _v = 0;
21694  } else {
21695  _v = 1;
21696  }
21697  }
21698  if (_v) {
21699  {
21700  void *ptr;
21701  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
21702  _v = 0;
21703  } else {
21704  _v = 1;
21705  }
21706  }
21707  if (_v) {
21708  return _wrap_new_Quaternion__SWIG_4(L);
21709  }
21710  }
21711  }
21712  }
21713  if (argc == 4) {
21714  int _v;
21715  {
21716  _v = lua_isnumber(L,argv[0]);
21717  }
21718  if (_v) {
21719  {
21720  _v = lua_isnumber(L,argv[1]);
21721  }
21722  if (_v) {
21723  {
21724  _v = lua_isnumber(L,argv[2]);
21725  }
21726  if (_v) {
21727  {
21728  _v = lua_isnumber(L,argv[3]);
21729  }
21730  if (_v) {
21731  return _wrap_new_Quaternion__SWIG_1(L);
21732  }
21733  }
21734  }
21735  }
21736  }
21737 
21738  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Quaternion'\n"
21739  " Possible C/C++ prototypes are:\n"
21740  " Mezzanine::Quaternion::Quaternion()\n"
21741  " Mezzanine::Quaternion::Quaternion(Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::Real const &)\n"
21742  " Mezzanine::Quaternion::Quaternion(Mezzanine::Real const &,Mezzanine::Vector3 const &)\n"
21743  " Mezzanine::Quaternion::Quaternion(Mezzanine::Matrix3x3 const &)\n"
21744  " Mezzanine::Quaternion::Quaternion(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &,Mezzanine::Vector3 const &)\n"
21745  " Mezzanine::Quaternion::Quaternion(btQuaternion const &)\n"
21746  " Mezzanine::Quaternion::Quaternion(Ogre::Quaternion const &)\n"
21747  " Mezzanine::Quaternion::Quaternion(Mezzanine::Quaternion const &)\n"
21748  " Mezzanine::Quaternion::Quaternion(XML::Node const &)\n");
21749  lua_error(L);return 0;
21750 }
21751 
21752 
21753 static int _wrap_Quaternion_SetIdentity(lua_State* L) {
21754  int SWIG_arg = 0;
21756 
21757  SWIG_check_num_args("Mezzanine::Quaternion::SetIdentity",1,1)
21758  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::SetIdentity",1,"Mezzanine::Quaternion *");
21759 
21760  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21761  SWIG_fail_ptr("Quaternion_SetIdentity",1,SWIGTYPE_p_Mezzanine__Quaternion);
21762  }
21763 
21764  (arg1)->SetIdentity();
21765 
21766  return SWIG_arg;
21767 
21768  if(0) SWIG_fail;
21769 
21770 fail:
21771  lua_error(L);
21772  return SWIG_arg;
21773 }
21774 
21775 
21776 static int _wrap_Quaternion_SetValues(lua_State* L) {
21777  int SWIG_arg = 0;
21779  Mezzanine::Real *arg2 = 0 ;
21780  Mezzanine::Real *arg3 = 0 ;
21781  Mezzanine::Real *arg4 = 0 ;
21782  Mezzanine::Real *arg5 = 0 ;
21783  Mezzanine::Real temp2 ;
21784  Mezzanine::Real temp3 ;
21785  Mezzanine::Real temp4 ;
21786  Mezzanine::Real temp5 ;
21787 
21788  SWIG_check_num_args("Mezzanine::Quaternion::SetValues",5,5)
21789  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::SetValues",1,"Mezzanine::Quaternion *");
21790  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::SetValues",2,"Mezzanine::Real const &");
21791  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Quaternion::SetValues",3,"Mezzanine::Real const &");
21792  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Quaternion::SetValues",4,"Mezzanine::Real const &");
21793  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Quaternion::SetValues",5,"Mezzanine::Real const &");
21794 
21795  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21796  SWIG_fail_ptr("Quaternion_SetValues",1,SWIGTYPE_p_Mezzanine__Quaternion);
21797  }
21798 
21799  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
21800  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
21801  temp4=(Mezzanine::Real)lua_tonumber(L,4); arg4=&temp4;
21802  temp5=(Mezzanine::Real)lua_tonumber(L,5); arg5=&temp5;
21803  (arg1)->SetValues((Mezzanine::Real const &)*arg2,(Mezzanine::Real const &)*arg3,(Mezzanine::Real const &)*arg4,(Mezzanine::Real const &)*arg5);
21804 
21805  return SWIG_arg;
21806 
21807  if(0) SWIG_fail;
21808 
21809 fail:
21810  lua_error(L);
21811  return SWIG_arg;
21812 }
21813 
21814 
21815 static int _wrap_Quaternion_SetFromAxisAngle(lua_State* L) {
21816  int SWIG_arg = 0;
21818  Mezzanine::Real *arg2 = 0 ;
21819  Mezzanine::Vector3 *arg3 = 0 ;
21820  Mezzanine::Real temp2 ;
21821 
21822  SWIG_check_num_args("Mezzanine::Quaternion::SetFromAxisAngle",3,3)
21823  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxisAngle",1,"Mezzanine::Quaternion *");
21824  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxisAngle",2,"Mezzanine::Real const &");
21825  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxisAngle",3,"Mezzanine::Vector3 const &");
21826 
21827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21828  SWIG_fail_ptr("Quaternion_SetFromAxisAngle",1,SWIGTYPE_p_Mezzanine__Quaternion);
21829  }
21830 
21831  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
21832 
21833  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
21834  SWIG_fail_ptr("Quaternion_SetFromAxisAngle",3,SWIGTYPE_p_Mezzanine__Vector3);
21835  }
21836 
21837  (arg1)->SetFromAxisAngle((Mezzanine::Real const &)*arg2,(Mezzanine::Vector3 const &)*arg3);
21838 
21839  return SWIG_arg;
21840 
21841  if(0) SWIG_fail;
21842 
21843 fail:
21844  lua_error(L);
21845  return SWIG_arg;
21846 }
21847 
21848 
21849 static int _wrap_Quaternion_SetFromMatrix3x3(lua_State* L) {
21850  int SWIG_arg = 0;
21852  Mezzanine::Matrix3x3 *arg2 = 0 ;
21853 
21854  SWIG_check_num_args("Mezzanine::Quaternion::SetFromMatrix3x3",2,2)
21855  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromMatrix3x3",1,"Mezzanine::Quaternion *");
21856  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromMatrix3x3",2,"Mezzanine::Matrix3x3 const &");
21857 
21858  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21859  SWIG_fail_ptr("Quaternion_SetFromMatrix3x3",1,SWIGTYPE_p_Mezzanine__Quaternion);
21860  }
21861 
21862 
21863  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Matrix3x3,0))){
21864  SWIG_fail_ptr("Quaternion_SetFromMatrix3x3",2,SWIGTYPE_p_Mezzanine__Matrix3x3);
21865  }
21866 
21867  (arg1)->SetFromMatrix3x3((Mezzanine::Matrix3x3 const &)*arg2);
21868 
21869  return SWIG_arg;
21870 
21871  if(0) SWIG_fail;
21872 
21873 fail:
21874  lua_error(L);
21875  return SWIG_arg;
21876 }
21877 
21878 
21879 static int _wrap_Quaternion_SetFromAxes(lua_State* L) {
21880  int SWIG_arg = 0;
21882  Mezzanine::Vector3 *arg2 = 0 ;
21883  Mezzanine::Vector3 *arg3 = 0 ;
21884  Mezzanine::Vector3 *arg4 = 0 ;
21885 
21886  SWIG_check_num_args("Mezzanine::Quaternion::SetFromAxes",4,4)
21887  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxes",1,"Mezzanine::Quaternion *");
21888  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxes",2,"Mezzanine::Vector3 const &");
21889  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxes",3,"Mezzanine::Vector3 const &");
21890  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Quaternion::SetFromAxes",4,"Mezzanine::Vector3 const &");
21891 
21892  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21893  SWIG_fail_ptr("Quaternion_SetFromAxes",1,SWIGTYPE_p_Mezzanine__Quaternion);
21894  }
21895 
21896 
21897  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
21898  SWIG_fail_ptr("Quaternion_SetFromAxes",2,SWIGTYPE_p_Mezzanine__Vector3);
21899  }
21900 
21901 
21902  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
21903  SWIG_fail_ptr("Quaternion_SetFromAxes",3,SWIGTYPE_p_Mezzanine__Vector3);
21904  }
21905 
21906 
21907  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
21908  SWIG_fail_ptr("Quaternion_SetFromAxes",4,SWIGTYPE_p_Mezzanine__Vector3);
21909  }
21910 
21911  (arg1)->SetFromAxes((Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3,(Mezzanine::Vector3 const &)*arg4);
21912 
21913  return SWIG_arg;
21914 
21915  if(0) SWIG_fail;
21916 
21917 fail:
21918  lua_error(L);
21919  return SWIG_arg;
21920 }
21921 
21922 
21923 static int _wrap_Quaternion_DotProduct(lua_State* L) {
21924  int SWIG_arg = 0;
21926  Mezzanine::Quaternion *arg2 = 0 ;
21927  Mezzanine::Real result;
21928 
21929  SWIG_check_num_args("Mezzanine::Quaternion::DotProduct",2,2)
21930  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::DotProduct",1,"Mezzanine::Quaternion const *");
21931  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::DotProduct",2,"Mezzanine::Quaternion const &");
21932 
21933  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21934  SWIG_fail_ptr("Quaternion_DotProduct",1,SWIGTYPE_p_Mezzanine__Quaternion);
21935  }
21936 
21937 
21938  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21939  SWIG_fail_ptr("Quaternion_DotProduct",2,SWIGTYPE_p_Mezzanine__Quaternion);
21940  }
21941 
21942  result = (Mezzanine::Real)((Mezzanine::Quaternion const *)arg1)->DotProduct((Mezzanine::Quaternion const &)*arg2);
21943  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21944  return SWIG_arg;
21945 
21946  if(0) SWIG_fail;
21947 
21948 fail:
21949  lua_error(L);
21950  return SWIG_arg;
21951 }
21952 
21953 
21954 static int _wrap_Quaternion_Length(lua_State* L) {
21955  int SWIG_arg = 0;
21957  Mezzanine::Real result;
21958 
21959  SWIG_check_num_args("Mezzanine::Quaternion::Length",1,1)
21960  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Length",1,"Mezzanine::Quaternion const *");
21961 
21962  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21963  SWIG_fail_ptr("Quaternion_Length",1,SWIGTYPE_p_Mezzanine__Quaternion);
21964  }
21965 
21966  result = (Mezzanine::Real)((Mezzanine::Quaternion const *)arg1)->Length();
21967  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21968  return SWIG_arg;
21969 
21970  if(0) SWIG_fail;
21971 
21972 fail:
21973  lua_error(L);
21974  return SWIG_arg;
21975 }
21976 
21977 
21978 static int _wrap_Quaternion_LengthSqrd(lua_State* L) {
21979  int SWIG_arg = 0;
21981  Mezzanine::Real result;
21982 
21983  SWIG_check_num_args("Mezzanine::Quaternion::LengthSqrd",1,1)
21984  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::LengthSqrd",1,"Mezzanine::Quaternion const *");
21985 
21986  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
21987  SWIG_fail_ptr("Quaternion_LengthSqrd",1,SWIGTYPE_p_Mezzanine__Quaternion);
21988  }
21989 
21990  result = (Mezzanine::Real)((Mezzanine::Quaternion const *)arg1)->LengthSqrd();
21991  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
21992  return SWIG_arg;
21993 
21994  if(0) SWIG_fail;
21995 
21996 fail:
21997  lua_error(L);
21998  return SWIG_arg;
21999 }
22000 
22001 
22002 static int _wrap_Quaternion_Normalize(lua_State* L) {
22003  int SWIG_arg = 0;
22005  Mezzanine::Quaternion *result = 0 ;
22006 
22007  SWIG_check_num_args("Mezzanine::Quaternion::Normalize",1,1)
22008  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::Normalize",1,"Mezzanine::Quaternion *");
22009 
22010  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22011  SWIG_fail_ptr("Quaternion_Normalize",1,SWIGTYPE_p_Mezzanine__Quaternion);
22012  }
22013 
22014  result = (Mezzanine::Quaternion *) &(arg1)->Normalize();
22015  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,0); SWIG_arg++;
22016  return SWIG_arg;
22017 
22018  if(0) SWIG_fail;
22019 
22020 fail:
22021  lua_error(L);
22022  return SWIG_arg;
22023 }
22024 
22025 
22026 static int _wrap_Quaternion_GetNormalizedCopy(lua_State* L) {
22027  int SWIG_arg = 0;
22029  Mezzanine::Quaternion result;
22030 
22031  SWIG_check_num_args("Mezzanine::Quaternion::GetNormalizedCopy",1,1)
22032  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::GetNormalizedCopy",1,"Mezzanine::Quaternion const *");
22033 
22034  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22035  SWIG_fail_ptr("Quaternion_GetNormalizedCopy",1,SWIGTYPE_p_Mezzanine__Quaternion);
22036  }
22037 
22038  result = ((Mezzanine::Quaternion const *)arg1)->GetNormalizedCopy();
22039  {
22040  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22041  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22042  }
22043  return SWIG_arg;
22044 
22045  if(0) SWIG_fail;
22046 
22047 fail:
22048  lua_error(L);
22049  return SWIG_arg;
22050 }
22051 
22052 
22053 static int _wrap_Quaternion_GetInverse(lua_State* L) {
22054  int SWIG_arg = 0;
22056  Mezzanine::Quaternion result;
22057 
22058  SWIG_check_num_args("Mezzanine::Quaternion::GetInverse",1,1)
22059  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::GetInverse",1,"Mezzanine::Quaternion const *");
22060 
22061  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22062  SWIG_fail_ptr("Quaternion_GetInverse",1,SWIGTYPE_p_Mezzanine__Quaternion);
22063  }
22064 
22065  result = ((Mezzanine::Quaternion const *)arg1)->GetInverse();
22066  {
22067  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22068  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22069  }
22070  return SWIG_arg;
22071 
22072  if(0) SWIG_fail;
22073 
22074 fail:
22075  lua_error(L);
22076  return SWIG_arg;
22077 }
22078 
22079 
22080 static int _wrap_Quaternion_GetBulletQuaternion__SWIG_0(lua_State* L) {
22081  int SWIG_arg = 0;
22083  Mezzanine::Boole arg2 ;
22084  btQuaternion result;
22085 
22086  SWIG_check_num_args("Mezzanine::Quaternion::GetBulletQuaternion",2,2)
22087  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::GetBulletQuaternion",1,"Mezzanine::Quaternion const *");
22088  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::GetBulletQuaternion",2,"Mezzanine::Boole");
22089 
22090  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22091  SWIG_fail_ptr("Quaternion_GetBulletQuaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
22092  }
22093 
22094  arg2 = (lua_toboolean(L, 2)!=0);
22095  result = ((Mezzanine::Quaternion const *)arg1)->GetBulletQuaternion(arg2);
22096  {
22097  btQuaternion * resultptr = new btQuaternion((const btQuaternion &) result);
22098  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_btQuaternion,1); SWIG_arg++;
22099  }
22100  return SWIG_arg;
22101 
22102  if(0) SWIG_fail;
22103 
22104 fail:
22105  lua_error(L);
22106  return SWIG_arg;
22107 }
22108 
22109 
22110 static int _wrap_Quaternion_GetBulletQuaternion__SWIG_1(lua_State* L) {
22111  int SWIG_arg = 0;
22113  btQuaternion result;
22114 
22115  SWIG_check_num_args("Mezzanine::Quaternion::GetBulletQuaternion",1,1)
22116  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::GetBulletQuaternion",1,"Mezzanine::Quaternion const *");
22117 
22118  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22119  SWIG_fail_ptr("Quaternion_GetBulletQuaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
22120  }
22121 
22122  result = ((Mezzanine::Quaternion const *)arg1)->GetBulletQuaternion();
22123  {
22124  btQuaternion * resultptr = new btQuaternion((const btQuaternion &) result);
22125  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_btQuaternion,1); SWIG_arg++;
22126  }
22127  return SWIG_arg;
22128 
22129  if(0) SWIG_fail;
22130 
22131 fail:
22132  lua_error(L);
22133  return SWIG_arg;
22134 }
22135 
22136 
22137 static int _wrap_Quaternion_GetBulletQuaternion(lua_State* L) {
22138  int argc;
22139  int argv[3]={
22140  1,2,3
22141  };
22142 
22143  argc = lua_gettop(L);
22144  if (argc == 1) {
22145  int _v;
22146  {
22147  void *ptr;
22148  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22149  _v = 0;
22150  } else {
22151  _v = 1;
22152  }
22153  }
22154  if (_v) {
22155  return _wrap_Quaternion_GetBulletQuaternion__SWIG_1(L);
22156  }
22157  }
22158  if (argc == 2) {
22159  int _v;
22160  {
22161  void *ptr;
22162  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22163  _v = 0;
22164  } else {
22165  _v = 1;
22166  }
22167  }
22168  if (_v) {
22169  {
22170  _v = lua_isboolean(L,argv[1]);
22171  }
22172  if (_v) {
22173  return _wrap_Quaternion_GetBulletQuaternion__SWIG_0(L);
22174  }
22175  }
22176  }
22177 
22178  lua_pushstring(L,"Wrong arguments for overloaded function 'Quaternion_GetBulletQuaternion'\n"
22179  " Possible C/C++ prototypes are:\n"
22180  " Mezzanine::Quaternion::GetBulletQuaternion(Mezzanine::Boole) const\n"
22181  " Mezzanine::Quaternion::GetBulletQuaternion() const\n");
22182  lua_error(L);return 0;
22183 }
22184 
22185 
22186 static int _wrap_Quaternion_ExtractBulletQuaternion(lua_State* L) {
22187  int SWIG_arg = 0;
22189  btQuaternion *arg2 = 0 ;
22190 
22191  SWIG_check_num_args("Mezzanine::Quaternion::ExtractBulletQuaternion",2,2)
22192  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::ExtractBulletQuaternion",1,"Mezzanine::Quaternion *");
22193  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::ExtractBulletQuaternion",2,"btQuaternion const &");
22194 
22195  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22196  SWIG_fail_ptr("Quaternion_ExtractBulletQuaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
22197  }
22198 
22199 
22200  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btQuaternion,0))){
22201  SWIG_fail_ptr("Quaternion_ExtractBulletQuaternion",2,SWIGTYPE_p_btQuaternion);
22202  }
22203 
22204  (arg1)->ExtractBulletQuaternion((btQuaternion const &)*arg2);
22205 
22206  return SWIG_arg;
22207 
22208  if(0) SWIG_fail;
22209 
22210 fail:
22211  lua_error(L);
22212  return SWIG_arg;
22213 }
22214 
22215 
22216 static int _wrap_Quaternion_GetOgreQuaternion__SWIG_0(lua_State* L) {
22217  int SWIG_arg = 0;
22219  Mezzanine::Boole arg2 ;
22220  Ogre::Quaternion result;
22221 
22222  SWIG_check_num_args("Mezzanine::Quaternion::GetOgreQuaternion",2,2)
22223  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::GetOgreQuaternion",1,"Mezzanine::Quaternion const *");
22224  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::GetOgreQuaternion",2,"Mezzanine::Boole");
22225 
22226  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22227  SWIG_fail_ptr("Quaternion_GetOgreQuaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
22228  }
22229 
22230  arg2 = (lua_toboolean(L, 2)!=0);
22231  result = ((Mezzanine::Quaternion const *)arg1)->GetOgreQuaternion(arg2);
22232  {
22233  Ogre::Quaternion * resultptr = new Ogre::Quaternion((const Ogre::Quaternion &) result);
22234  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Ogre__Quaternion,1); SWIG_arg++;
22235  }
22236  return SWIG_arg;
22237 
22238  if(0) SWIG_fail;
22239 
22240 fail:
22241  lua_error(L);
22242  return SWIG_arg;
22243 }
22244 
22245 
22246 static int _wrap_Quaternion_GetOgreQuaternion__SWIG_1(lua_State* L) {
22247  int SWIG_arg = 0;
22249  Ogre::Quaternion result;
22250 
22251  SWIG_check_num_args("Mezzanine::Quaternion::GetOgreQuaternion",1,1)
22252  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::GetOgreQuaternion",1,"Mezzanine::Quaternion const *");
22253 
22254  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22255  SWIG_fail_ptr("Quaternion_GetOgreQuaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
22256  }
22257 
22258  result = ((Mezzanine::Quaternion const *)arg1)->GetOgreQuaternion();
22259  {
22260  Ogre::Quaternion * resultptr = new Ogre::Quaternion((const Ogre::Quaternion &) result);
22261  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Ogre__Quaternion,1); SWIG_arg++;
22262  }
22263  return SWIG_arg;
22264 
22265  if(0) SWIG_fail;
22266 
22267 fail:
22268  lua_error(L);
22269  return SWIG_arg;
22270 }
22271 
22272 
22273 static int _wrap_Quaternion_GetOgreQuaternion(lua_State* L) {
22274  int argc;
22275  int argv[3]={
22276  1,2,3
22277  };
22278 
22279  argc = lua_gettop(L);
22280  if (argc == 1) {
22281  int _v;
22282  {
22283  void *ptr;
22284  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22285  _v = 0;
22286  } else {
22287  _v = 1;
22288  }
22289  }
22290  if (_v) {
22291  return _wrap_Quaternion_GetOgreQuaternion__SWIG_1(L);
22292  }
22293  }
22294  if (argc == 2) {
22295  int _v;
22296  {
22297  void *ptr;
22298  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22299  _v = 0;
22300  } else {
22301  _v = 1;
22302  }
22303  }
22304  if (_v) {
22305  {
22306  _v = lua_isboolean(L,argv[1]);
22307  }
22308  if (_v) {
22309  return _wrap_Quaternion_GetOgreQuaternion__SWIG_0(L);
22310  }
22311  }
22312  }
22313 
22314  lua_pushstring(L,"Wrong arguments for overloaded function 'Quaternion_GetOgreQuaternion'\n"
22315  " Possible C/C++ prototypes are:\n"
22316  " Mezzanine::Quaternion::GetOgreQuaternion(Mezzanine::Boole) const\n"
22317  " Mezzanine::Quaternion::GetOgreQuaternion() const\n");
22318  lua_error(L);return 0;
22319 }
22320 
22321 
22322 static int _wrap_Quaternion_ExtractOgreQuaternion(lua_State* L) {
22323  int SWIG_arg = 0;
22325  Ogre::Quaternion *arg2 = 0 ;
22326 
22327  SWIG_check_num_args("Mezzanine::Quaternion::ExtractOgreQuaternion",2,2)
22328  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::ExtractOgreQuaternion",1,"Mezzanine::Quaternion *");
22329  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::ExtractOgreQuaternion",2,"Ogre::Quaternion const &");
22330 
22331  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22332  SWIG_fail_ptr("Quaternion_ExtractOgreQuaternion",1,SWIGTYPE_p_Mezzanine__Quaternion);
22333  }
22334 
22335 
22336  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Quaternion,0))){
22337  SWIG_fail_ptr("Quaternion_ExtractOgreQuaternion",2,SWIGTYPE_p_Ogre__Quaternion);
22338  }
22339 
22340  (arg1)->ExtractOgreQuaternion((Ogre::Quaternion const &)*arg2);
22341 
22342  return SWIG_arg;
22343 
22344  if(0) SWIG_fail;
22345 
22346 fail:
22347  lua_error(L);
22348  return SWIG_arg;
22349 }
22350 
22351 
22352 static int _wrap_Quaternion___mul__SWIG_0(lua_State* L) {
22353  int SWIG_arg = 0;
22355  Mezzanine::Real *arg2 = 0 ;
22356  Mezzanine::Real temp2 ;
22357  Mezzanine::Quaternion result;
22358 
22359  SWIG_check_num_args("Mezzanine::Quaternion::operator *",2,2)
22360  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",1,"Mezzanine::Quaternion const *");
22361  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",2,"Mezzanine::Real const &");
22362 
22363  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22364  SWIG_fail_ptr("Quaternion___mul",1,SWIGTYPE_p_Mezzanine__Quaternion);
22365  }
22366 
22367  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
22368  result = ((Mezzanine::Quaternion const *)arg1)->operator *((Mezzanine::Real const &)*arg2);
22369  {
22370  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22371  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22372  }
22373  return SWIG_arg;
22374 
22375  if(0) SWIG_fail;
22376 
22377 fail:
22378  lua_error(L);
22379  return SWIG_arg;
22380 }
22381 
22382 
22383 static int _wrap_Quaternion___div(lua_State* L) {
22384  int SWIG_arg = 0;
22386  Mezzanine::Real *arg2 = 0 ;
22387  Mezzanine::Real temp2 ;
22388  Mezzanine::Quaternion result;
22389 
22390  SWIG_check_num_args("Mezzanine::Quaternion::operator /",2,2)
22391  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator /",1,"Mezzanine::Quaternion const *");
22392  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator /",2,"Mezzanine::Real const &");
22393 
22394  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22395  SWIG_fail_ptr("Quaternion___div",1,SWIGTYPE_p_Mezzanine__Quaternion);
22396  }
22397 
22398  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
22399  result = ((Mezzanine::Quaternion const *)arg1)->operator /((Mezzanine::Real const &)*arg2);
22400  {
22401  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22402  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22403  }
22404  return SWIG_arg;
22405 
22406  if(0) SWIG_fail;
22407 
22408 fail:
22409  lua_error(L);
22410  return SWIG_arg;
22411 }
22412 
22413 
22414 static int _wrap_Quaternion___add__SWIG_0(lua_State* L) {
22415  int SWIG_arg = 0;
22417  Mezzanine::Quaternion *arg2 = 0 ;
22418  Mezzanine::Quaternion result;
22419 
22420  SWIG_check_num_args("Mezzanine::Quaternion::operator +",2,2)
22421  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator +",1,"Mezzanine::Quaternion const *");
22422  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator +",2,"Mezzanine::Quaternion const &");
22423 
22424  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22425  SWIG_fail_ptr("Quaternion___add",1,SWIGTYPE_p_Mezzanine__Quaternion);
22426  }
22427 
22428 
22429  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22430  SWIG_fail_ptr("Quaternion___add",2,SWIGTYPE_p_Mezzanine__Quaternion);
22431  }
22432 
22433  result = ((Mezzanine::Quaternion const *)arg1)->operator +((Mezzanine::Quaternion const &)*arg2);
22434  {
22435  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22436  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22437  }
22438  return SWIG_arg;
22439 
22440  if(0) SWIG_fail;
22441 
22442 fail:
22443  lua_error(L);
22444  return SWIG_arg;
22445 }
22446 
22447 
22448 static int _wrap_Quaternion___add__SWIG_1(lua_State* L) {
22449  int SWIG_arg = 0;
22451  Ogre::Quaternion *arg2 = 0 ;
22452  Mezzanine::Quaternion result;
22453 
22454  SWIG_check_num_args("Mezzanine::Quaternion::operator +",2,2)
22455  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator +",1,"Mezzanine::Quaternion const *");
22456  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator +",2,"Ogre::Quaternion const &");
22457 
22458  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22459  SWIG_fail_ptr("Quaternion___add",1,SWIGTYPE_p_Mezzanine__Quaternion);
22460  }
22461 
22462 
22463  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Quaternion,0))){
22464  SWIG_fail_ptr("Quaternion___add",2,SWIGTYPE_p_Ogre__Quaternion);
22465  }
22466 
22467  result = ((Mezzanine::Quaternion const *)arg1)->operator +((Ogre::Quaternion const &)*arg2);
22468  {
22469  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22470  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22471  }
22472  return SWIG_arg;
22473 
22474  if(0) SWIG_fail;
22475 
22476 fail:
22477  lua_error(L);
22478  return SWIG_arg;
22479 }
22480 
22481 
22482 static int _wrap_Quaternion___add__SWIG_2(lua_State* L) {
22483  int SWIG_arg = 0;
22485  btQuaternion *arg2 = 0 ;
22486  Mezzanine::Quaternion result;
22487 
22488  SWIG_check_num_args("Mezzanine::Quaternion::operator +",2,2)
22489  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator +",1,"Mezzanine::Quaternion const *");
22490  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator +",2,"btQuaternion const &");
22491 
22492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22493  SWIG_fail_ptr("Quaternion___add",1,SWIGTYPE_p_Mezzanine__Quaternion);
22494  }
22495 
22496 
22497  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btQuaternion,0))){
22498  SWIG_fail_ptr("Quaternion___add",2,SWIGTYPE_p_btQuaternion);
22499  }
22500 
22501  result = ((Mezzanine::Quaternion const *)arg1)->operator +((btQuaternion const &)*arg2);
22502  {
22503  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22504  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22505  }
22506  return SWIG_arg;
22507 
22508  if(0) SWIG_fail;
22509 
22510 fail:
22511  lua_error(L);
22512  return SWIG_arg;
22513 }
22514 
22515 
22516 static int _wrap_Quaternion___add(lua_State* L) {
22517  int argc;
22518  int argv[3]={
22519  1,2,3
22520  };
22521 
22522  argc = lua_gettop(L);
22523  if (argc == 2) {
22524  int _v;
22525  {
22526  void *ptr;
22527  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22528  _v = 0;
22529  } else {
22530  _v = 1;
22531  }
22532  }
22533  if (_v) {
22534  {
22535  void *ptr;
22536  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22537  _v = 0;
22538  } else {
22539  _v = 1;
22540  }
22541  }
22542  if (_v) {
22543  return _wrap_Quaternion___add__SWIG_0(L);
22544  }
22545  }
22546  }
22547  if (argc == 2) {
22548  int _v;
22549  {
22550  void *ptr;
22551  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22552  _v = 0;
22553  } else {
22554  _v = 1;
22555  }
22556  }
22557  if (_v) {
22558  {
22559  void *ptr;
22560  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Quaternion, 0)) {
22561  _v = 0;
22562  } else {
22563  _v = 1;
22564  }
22565  }
22566  if (_v) {
22567  return _wrap_Quaternion___add__SWIG_1(L);
22568  }
22569  }
22570  }
22571  if (argc == 2) {
22572  int _v;
22573  {
22574  void *ptr;
22575  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22576  _v = 0;
22577  } else {
22578  _v = 1;
22579  }
22580  }
22581  if (_v) {
22582  {
22583  void *ptr;
22584  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btQuaternion, 0)) {
22585  _v = 0;
22586  } else {
22587  _v = 1;
22588  }
22589  }
22590  if (_v) {
22591  return _wrap_Quaternion___add__SWIG_2(L);
22592  }
22593  }
22594  }
22595 
22596  lua_pushstring(L,"Wrong arguments for overloaded function 'Quaternion___add'\n"
22597  " Possible C/C++ prototypes are:\n"
22598  " Mezzanine::Quaternion::operator +(Mezzanine::Quaternion const &) const\n"
22599  " Mezzanine::Quaternion::operator +(Ogre::Quaternion const &) const\n"
22600  " Mezzanine::Quaternion::operator +(btQuaternion const &) const\n");
22601  lua_error(L);return 0;
22602 }
22603 
22604 
22605 static int _wrap_Quaternion___sub__SWIG_0(lua_State* L) {
22606  int SWIG_arg = 0;
22608  Mezzanine::Quaternion *arg2 = 0 ;
22609  Mezzanine::Quaternion result;
22610 
22611  SWIG_check_num_args("Mezzanine::Quaternion::operator -",2,2)
22612  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator -",1,"Mezzanine::Quaternion const *");
22613  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator -",2,"Mezzanine::Quaternion const &");
22614 
22615  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22616  SWIG_fail_ptr("Quaternion___sub",1,SWIGTYPE_p_Mezzanine__Quaternion);
22617  }
22618 
22619 
22620  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22621  SWIG_fail_ptr("Quaternion___sub",2,SWIGTYPE_p_Mezzanine__Quaternion);
22622  }
22623 
22624  result = ((Mezzanine::Quaternion const *)arg1)->operator -((Mezzanine::Quaternion const &)*arg2);
22625  {
22626  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22627  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22628  }
22629  return SWIG_arg;
22630 
22631  if(0) SWIG_fail;
22632 
22633 fail:
22634  lua_error(L);
22635  return SWIG_arg;
22636 }
22637 
22638 
22639 static int _wrap_Quaternion___sub__SWIG_1(lua_State* L) {
22640  int SWIG_arg = 0;
22642  Ogre::Quaternion *arg2 = 0 ;
22643  Mezzanine::Quaternion result;
22644 
22645  SWIG_check_num_args("Mezzanine::Quaternion::operator -",2,2)
22646  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator -",1,"Mezzanine::Quaternion const *");
22647  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator -",2,"Ogre::Quaternion const &");
22648 
22649  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22650  SWIG_fail_ptr("Quaternion___sub",1,SWIGTYPE_p_Mezzanine__Quaternion);
22651  }
22652 
22653 
22654  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Quaternion,0))){
22655  SWIG_fail_ptr("Quaternion___sub",2,SWIGTYPE_p_Ogre__Quaternion);
22656  }
22657 
22658  result = ((Mezzanine::Quaternion const *)arg1)->operator -((Ogre::Quaternion const &)*arg2);
22659  {
22660  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22661  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22662  }
22663  return SWIG_arg;
22664 
22665  if(0) SWIG_fail;
22666 
22667 fail:
22668  lua_error(L);
22669  return SWIG_arg;
22670 }
22671 
22672 
22673 static int _wrap_Quaternion___sub__SWIG_2(lua_State* L) {
22674  int SWIG_arg = 0;
22676  btQuaternion *arg2 = 0 ;
22677  Mezzanine::Quaternion result;
22678 
22679  SWIG_check_num_args("Mezzanine::Quaternion::operator -",2,2)
22680  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator -",1,"Mezzanine::Quaternion const *");
22681  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator -",2,"btQuaternion const &");
22682 
22683  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22684  SWIG_fail_ptr("Quaternion___sub",1,SWIGTYPE_p_Mezzanine__Quaternion);
22685  }
22686 
22687 
22688  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btQuaternion,0))){
22689  SWIG_fail_ptr("Quaternion___sub",2,SWIGTYPE_p_btQuaternion);
22690  }
22691 
22692  result = ((Mezzanine::Quaternion const *)arg1)->operator -((btQuaternion const &)*arg2);
22693  {
22694  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22695  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22696  }
22697  return SWIG_arg;
22698 
22699  if(0) SWIG_fail;
22700 
22701 fail:
22702  lua_error(L);
22703  return SWIG_arg;
22704 }
22705 
22706 
22707 static int _wrap_Quaternion___sub(lua_State* L) {
22708  int argc;
22709  int argv[3]={
22710  1,2,3
22711  };
22712 
22713  argc = lua_gettop(L);
22714  if (argc == 2) {
22715  int _v;
22716  {
22717  void *ptr;
22718  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22719  _v = 0;
22720  } else {
22721  _v = 1;
22722  }
22723  }
22724  if (_v) {
22725  {
22726  void *ptr;
22727  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22728  _v = 0;
22729  } else {
22730  _v = 1;
22731  }
22732  }
22733  if (_v) {
22734  return _wrap_Quaternion___sub__SWIG_0(L);
22735  }
22736  }
22737  }
22738  if (argc == 2) {
22739  int _v;
22740  {
22741  void *ptr;
22742  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22743  _v = 0;
22744  } else {
22745  _v = 1;
22746  }
22747  }
22748  if (_v) {
22749  {
22750  void *ptr;
22751  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Quaternion, 0)) {
22752  _v = 0;
22753  } else {
22754  _v = 1;
22755  }
22756  }
22757  if (_v) {
22758  return _wrap_Quaternion___sub__SWIG_1(L);
22759  }
22760  }
22761  }
22762  if (argc == 2) {
22763  int _v;
22764  {
22765  void *ptr;
22766  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22767  _v = 0;
22768  } else {
22769  _v = 1;
22770  }
22771  }
22772  if (_v) {
22773  {
22774  void *ptr;
22775  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btQuaternion, 0)) {
22776  _v = 0;
22777  } else {
22778  _v = 1;
22779  }
22780  }
22781  if (_v) {
22782  return _wrap_Quaternion___sub__SWIG_2(L);
22783  }
22784  }
22785  }
22786 
22787  lua_pushstring(L,"Wrong arguments for overloaded function 'Quaternion___sub'\n"
22788  " Possible C/C++ prototypes are:\n"
22789  " Mezzanine::Quaternion::operator -(Mezzanine::Quaternion const &) const\n"
22790  " Mezzanine::Quaternion::operator -(Ogre::Quaternion const &) const\n"
22791  " Mezzanine::Quaternion::operator -(btQuaternion const &) const\n");
22792  lua_error(L);return 0;
22793 }
22794 
22795 
22796 static int _wrap_Quaternion___mul__SWIG_1(lua_State* L) {
22797  int SWIG_arg = 0;
22799  Mezzanine::Quaternion *arg2 = 0 ;
22800  Mezzanine::Quaternion result;
22801 
22802  SWIG_check_num_args("Mezzanine::Quaternion::operator *",2,2)
22803  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",1,"Mezzanine::Quaternion const *");
22804  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",2,"Mezzanine::Quaternion const &");
22805 
22806  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22807  SWIG_fail_ptr("Quaternion___mul",1,SWIGTYPE_p_Mezzanine__Quaternion);
22808  }
22809 
22810 
22811  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22812  SWIG_fail_ptr("Quaternion___mul",2,SWIGTYPE_p_Mezzanine__Quaternion);
22813  }
22814 
22815  result = ((Mezzanine::Quaternion const *)arg1)->operator *((Mezzanine::Quaternion const &)*arg2);
22816  {
22817  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22818  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22819  }
22820  return SWIG_arg;
22821 
22822  if(0) SWIG_fail;
22823 
22824 fail:
22825  lua_error(L);
22826  return SWIG_arg;
22827 }
22828 
22829 
22830 static int _wrap_Quaternion___mul__SWIG_2(lua_State* L) {
22831  int SWIG_arg = 0;
22833  Ogre::Quaternion *arg2 = 0 ;
22834  Mezzanine::Quaternion result;
22835 
22836  SWIG_check_num_args("Mezzanine::Quaternion::operator *",2,2)
22837  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",1,"Mezzanine::Quaternion const *");
22838  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",2,"Ogre::Quaternion const &");
22839 
22840  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22841  SWIG_fail_ptr("Quaternion___mul",1,SWIGTYPE_p_Mezzanine__Quaternion);
22842  }
22843 
22844 
22845  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Quaternion,0))){
22846  SWIG_fail_ptr("Quaternion___mul",2,SWIGTYPE_p_Ogre__Quaternion);
22847  }
22848 
22849  result = ((Mezzanine::Quaternion const *)arg1)->operator *((Ogre::Quaternion const &)*arg2);
22850  {
22851  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22852  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22853  }
22854  return SWIG_arg;
22855 
22856  if(0) SWIG_fail;
22857 
22858 fail:
22859  lua_error(L);
22860  return SWIG_arg;
22861 }
22862 
22863 
22864 static int _wrap_Quaternion___mul__SWIG_3(lua_State* L) {
22865  int SWIG_arg = 0;
22867  btQuaternion *arg2 = 0 ;
22868  Mezzanine::Quaternion result;
22869 
22870  SWIG_check_num_args("Mezzanine::Quaternion::operator *",2,2)
22871  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",1,"Mezzanine::Quaternion const *");
22872  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",2,"btQuaternion const &");
22873 
22874  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22875  SWIG_fail_ptr("Quaternion___mul",1,SWIGTYPE_p_Mezzanine__Quaternion);
22876  }
22877 
22878 
22879  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btQuaternion,0))){
22880  SWIG_fail_ptr("Quaternion___mul",2,SWIGTYPE_p_btQuaternion);
22881  }
22882 
22883  result = ((Mezzanine::Quaternion const *)arg1)->operator *((btQuaternion const &)*arg2);
22884  {
22885  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
22886  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
22887  }
22888  return SWIG_arg;
22889 
22890  if(0) SWIG_fail;
22891 
22892 fail:
22893  lua_error(L);
22894  return SWIG_arg;
22895 }
22896 
22897 
22898 static int _wrap_Quaternion___mul__SWIG_4(lua_State* L) {
22899  int SWIG_arg = 0;
22901  Mezzanine::Vector3 *arg2 = 0 ;
22902  Mezzanine::Vector3 result;
22903 
22904  SWIG_check_num_args("Mezzanine::Quaternion::operator *",2,2)
22905  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",1,"Mezzanine::Quaternion const *");
22906  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator *",2,"Mezzanine::Vector3 const &");
22907 
22908  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
22909  SWIG_fail_ptr("Quaternion___mul",1,SWIGTYPE_p_Mezzanine__Quaternion);
22910  }
22911 
22912 
22913  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
22914  SWIG_fail_ptr("Quaternion___mul",2,SWIGTYPE_p_Mezzanine__Vector3);
22915  }
22916 
22917  result = ((Mezzanine::Quaternion const *)arg1)->operator *((Mezzanine::Vector3 const &)*arg2);
22918  {
22919  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
22920  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
22921  }
22922  return SWIG_arg;
22923 
22924  if(0) SWIG_fail;
22925 
22926 fail:
22927  lua_error(L);
22928  return SWIG_arg;
22929 }
22930 
22931 
22932 static int _wrap_Quaternion___mul(lua_State* L) {
22933  int argc;
22934  int argv[3]={
22935  1,2,3
22936  };
22937 
22938  argc = lua_gettop(L);
22939  if (argc == 2) {
22940  int _v;
22941  {
22942  void *ptr;
22943  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22944  _v = 0;
22945  } else {
22946  _v = 1;
22947  }
22948  }
22949  if (_v) {
22950  {
22951  void *ptr;
22952  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22953  _v = 0;
22954  } else {
22955  _v = 1;
22956  }
22957  }
22958  if (_v) {
22959  return _wrap_Quaternion___mul__SWIG_1(L);
22960  }
22961  }
22962  }
22963  if (argc == 2) {
22964  int _v;
22965  {
22966  void *ptr;
22967  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22968  _v = 0;
22969  } else {
22970  _v = 1;
22971  }
22972  }
22973  if (_v) {
22974  {
22975  void *ptr;
22976  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Quaternion, 0)) {
22977  _v = 0;
22978  } else {
22979  _v = 1;
22980  }
22981  }
22982  if (_v) {
22983  return _wrap_Quaternion___mul__SWIG_2(L);
22984  }
22985  }
22986  }
22987  if (argc == 2) {
22988  int _v;
22989  {
22990  void *ptr;
22991  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
22992  _v = 0;
22993  } else {
22994  _v = 1;
22995  }
22996  }
22997  if (_v) {
22998  {
22999  void *ptr;
23000  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btQuaternion, 0)) {
23001  _v = 0;
23002  } else {
23003  _v = 1;
23004  }
23005  }
23006  if (_v) {
23007  return _wrap_Quaternion___mul__SWIG_3(L);
23008  }
23009  }
23010  }
23011  if (argc == 2) {
23012  int _v;
23013  {
23014  void *ptr;
23015  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23016  _v = 0;
23017  } else {
23018  _v = 1;
23019  }
23020  }
23021  if (_v) {
23022  {
23023  void *ptr;
23024  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
23025  _v = 0;
23026  } else {
23027  _v = 1;
23028  }
23029  }
23030  if (_v) {
23031  return _wrap_Quaternion___mul__SWIG_4(L);
23032  }
23033  }
23034  }
23035  if (argc == 2) {
23036  int _v;
23037  {
23038  void *ptr;
23039  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23040  _v = 0;
23041  } else {
23042  _v = 1;
23043  }
23044  }
23045  if (_v) {
23046  {
23047  _v = lua_isnumber(L,argv[1]);
23048  }
23049  if (_v) {
23050  return _wrap_Quaternion___mul__SWIG_0(L);
23051  }
23052  }
23053  }
23054 
23055  lua_pushstring(L,"Wrong arguments for overloaded function 'Quaternion___mul'\n"
23056  " Possible C/C++ prototypes are:\n"
23057  " Mezzanine::Quaternion::operator *(Mezzanine::Real const &) const\n"
23058  " Mezzanine::Quaternion::operator *(Mezzanine::Quaternion const &) const\n"
23059  " Mezzanine::Quaternion::operator *(Ogre::Quaternion const &) const\n"
23060  " Mezzanine::Quaternion::operator *(btQuaternion const &) const\n"
23061  " Mezzanine::Quaternion::operator *(Mezzanine::Vector3 const &) const\n");
23062  lua_error(L);return 0;
23063 }
23064 
23065 
23066 static int _wrap_Quaternion___eq__SWIG_0(lua_State* L) {
23067  int SWIG_arg = 0;
23069  Mezzanine::Quaternion *arg2 = 0 ;
23070  Mezzanine::Boole result;
23071 
23072  SWIG_check_num_args("Mezzanine::Quaternion::operator ==",2,2)
23073  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator ==",1,"Mezzanine::Quaternion const *");
23074  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator ==",2,"Mezzanine::Quaternion const &");
23075 
23076  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23077  SWIG_fail_ptr("Quaternion___eq",1,SWIGTYPE_p_Mezzanine__Quaternion);
23078  }
23079 
23080 
23081  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23082  SWIG_fail_ptr("Quaternion___eq",2,SWIGTYPE_p_Mezzanine__Quaternion);
23083  }
23084 
23085  result = (Mezzanine::Boole)((Mezzanine::Quaternion const *)arg1)->operator ==((Mezzanine::Quaternion const &)*arg2);
23086  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23087  return SWIG_arg;
23088 
23089  if(0) SWIG_fail;
23090 
23091 fail:
23092  lua_error(L);
23093  return SWIG_arg;
23094 }
23095 
23096 
23097 static int _wrap_Quaternion___eq__SWIG_1(lua_State* L) {
23098  int SWIG_arg = 0;
23100  Ogre::Quaternion *arg2 = 0 ;
23101  Mezzanine::Boole result;
23102 
23103  SWIG_check_num_args("Mezzanine::Quaternion::operator ==",2,2)
23104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator ==",1,"Mezzanine::Quaternion const *");
23105  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator ==",2,"Ogre::Quaternion const &");
23106 
23107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23108  SWIG_fail_ptr("Quaternion___eq",1,SWIGTYPE_p_Mezzanine__Quaternion);
23109  }
23110 
23111 
23112  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Quaternion,0))){
23113  SWIG_fail_ptr("Quaternion___eq",2,SWIGTYPE_p_Ogre__Quaternion);
23114  }
23115 
23116  result = (Mezzanine::Boole)((Mezzanine::Quaternion const *)arg1)->operator ==((Ogre::Quaternion const &)*arg2);
23117  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23118  return SWIG_arg;
23119 
23120  if(0) SWIG_fail;
23121 
23122 fail:
23123  lua_error(L);
23124  return SWIG_arg;
23125 }
23126 
23127 
23128 static int _wrap_Quaternion___eq__SWIG_2(lua_State* L) {
23129  int SWIG_arg = 0;
23131  btQuaternion *arg2 = 0 ;
23132  Mezzanine::Boole result;
23133 
23134  SWIG_check_num_args("Mezzanine::Quaternion::operator ==",2,2)
23135  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator ==",1,"Mezzanine::Quaternion const *");
23136  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator ==",2,"btQuaternion const &");
23137 
23138  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23139  SWIG_fail_ptr("Quaternion___eq",1,SWIGTYPE_p_Mezzanine__Quaternion);
23140  }
23141 
23142 
23143  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btQuaternion,0))){
23144  SWIG_fail_ptr("Quaternion___eq",2,SWIGTYPE_p_btQuaternion);
23145  }
23146 
23147  result = (Mezzanine::Boole)((Mezzanine::Quaternion const *)arg1)->operator ==((btQuaternion const &)*arg2);
23148  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23149  return SWIG_arg;
23150 
23151  if(0) SWIG_fail;
23152 
23153 fail:
23154  lua_error(L);
23155  return SWIG_arg;
23156 }
23157 
23158 
23159 static int _wrap_Quaternion___eq(lua_State* L) {
23160  int argc;
23161  int argv[3]={
23162  1,2,3
23163  };
23164 
23165  argc = lua_gettop(L);
23166  if (argc == 2) {
23167  int _v;
23168  {
23169  void *ptr;
23170  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23171  _v = 0;
23172  } else {
23173  _v = 1;
23174  }
23175  }
23176  if (_v) {
23177  {
23178  void *ptr;
23179  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23180  _v = 0;
23181  } else {
23182  _v = 1;
23183  }
23184  }
23185  if (_v) {
23186  return _wrap_Quaternion___eq__SWIG_0(L);
23187  }
23188  }
23189  }
23190  if (argc == 2) {
23191  int _v;
23192  {
23193  void *ptr;
23194  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23195  _v = 0;
23196  } else {
23197  _v = 1;
23198  }
23199  }
23200  if (_v) {
23201  {
23202  void *ptr;
23203  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Ogre__Quaternion, 0)) {
23204  _v = 0;
23205  } else {
23206  _v = 1;
23207  }
23208  }
23209  if (_v) {
23210  return _wrap_Quaternion___eq__SWIG_1(L);
23211  }
23212  }
23213  }
23214  if (argc == 2) {
23215  int _v;
23216  {
23217  void *ptr;
23218  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23219  _v = 0;
23220  } else {
23221  _v = 1;
23222  }
23223  }
23224  if (_v) {
23225  {
23226  void *ptr;
23227  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btQuaternion, 0)) {
23228  _v = 0;
23229  } else {
23230  _v = 1;
23231  }
23232  }
23233  if (_v) {
23234  return _wrap_Quaternion___eq__SWIG_2(L);
23235  }
23236  }
23237  }
23238 
23239  lua_pushstring(L,"Wrong arguments for overloaded function 'Quaternion___eq'\n"
23240  " Possible C/C++ prototypes are:\n"
23241  " Mezzanine::Quaternion::operator ==(Mezzanine::Quaternion const &) const\n"
23242  " Mezzanine::Quaternion::operator ==(Ogre::Quaternion const &) const\n"
23243  " Mezzanine::Quaternion::operator ==(btQuaternion const &) const\n");
23244  lua_error(L);return 0;
23245 }
23246 
23247 
23248 static int _wrap_Quaternion___le(lua_State* L) {
23249  int SWIG_arg = 0;
23251  Mezzanine::Quaternion *arg2 = 0 ;
23252  Mezzanine::Boole result;
23253 
23254  SWIG_check_num_args("Mezzanine::Quaternion::operator <=",2,2)
23255  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::operator <=",1,"Mezzanine::Quaternion const *");
23256  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::operator <=",2,"Mezzanine::Quaternion const &");
23257 
23258  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23259  SWIG_fail_ptr("Quaternion___le",1,SWIGTYPE_p_Mezzanine__Quaternion);
23260  }
23261 
23262 
23263  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23264  SWIG_fail_ptr("Quaternion___le",2,SWIGTYPE_p_Mezzanine__Quaternion);
23265  }
23266 
23267  result = (Mezzanine::Boole)((Mezzanine::Quaternion const *)arg1)->operator <=((Mezzanine::Quaternion const &)*arg2);
23268  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
23269  return SWIG_arg;
23270 
23271  if(0) SWIG_fail;
23272 
23273 fail:
23274  lua_error(L);
23275  return SWIG_arg;
23276 }
23277 
23278 
23279 static int _wrap_Quaternion_ProtoSerialize(lua_State* L) {
23280  int SWIG_arg = 0;
23282  XML::Node *arg2 = 0 ;
23283 
23284  SWIG_check_num_args("Mezzanine::Quaternion::ProtoSerialize",2,2)
23285  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::ProtoSerialize",1,"Mezzanine::Quaternion const *");
23286  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::ProtoSerialize",2,"XML::Node &");
23287 
23288  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23289  SWIG_fail_ptr("Quaternion_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Quaternion);
23290  }
23291 
23292 
23293  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
23294  SWIG_fail_ptr("Quaternion_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
23295  }
23296 
23297  ((Mezzanine::Quaternion const *)arg1)->ProtoSerialize(*arg2);
23298 
23299  return SWIG_arg;
23300 
23301  if(0) SWIG_fail;
23302 
23303 fail:
23304  lua_error(L);
23305  return SWIG_arg;
23306 }
23307 
23308 
23309 static int _wrap_Quaternion_ProtoDeSerialize(lua_State* L) {
23310  int SWIG_arg = 0;
23312  XML::Node *arg2 = 0 ;
23313 
23314  SWIG_check_num_args("Mezzanine::Quaternion::ProtoDeSerialize",2,2)
23315  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Quaternion::ProtoDeSerialize",1,"Mezzanine::Quaternion *");
23316  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Quaternion::ProtoDeSerialize",2,"XML::Node const &");
23317 
23318  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23319  SWIG_fail_ptr("Quaternion_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Quaternion);
23320  }
23321 
23322 
23323  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
23324  SWIG_fail_ptr("Quaternion_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
23325  }
23326 
23327  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
23328 
23329  return SWIG_arg;
23330 
23331  if(0) SWIG_fail;
23332 
23333 fail:
23334  lua_error(L);
23335  return SWIG_arg;
23336 }
23337 
23338 
23339 static int _wrap_Quaternion_SerializableName(lua_State* L) {
23340  int SWIG_arg = 0;
23341  Mezzanine::String result;
23342 
23343  SWIG_check_num_args("Mezzanine::Quaternion::SerializableName",0,0)
23344  result = Mezzanine::Quaternion::SerializableName();
23345  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
23346  return SWIG_arg;
23347 
23348  if(0) SWIG_fail;
23349 
23350 fail:
23351  lua_error(L);
23352  return SWIG_arg;
23353 }
23354 
23355 
23356 static void swig_delete_Quaternion(void *obj) {
23358 delete arg1;
23359 }
23360 static swig_lua_method swig_Mezzanine_Quaternion_methods[] = {
23361  {"SetIdentity", _wrap_Quaternion_SetIdentity},
23362  {"SetValues", _wrap_Quaternion_SetValues},
23363  {"SetFromAxisAngle", _wrap_Quaternion_SetFromAxisAngle},
23364  {"SetFromMatrix3x3", _wrap_Quaternion_SetFromMatrix3x3},
23365  {"SetFromAxes", _wrap_Quaternion_SetFromAxes},
23366  {"DotProduct", _wrap_Quaternion_DotProduct},
23367  {"Length", _wrap_Quaternion_Length},
23368  {"LengthSqrd", _wrap_Quaternion_LengthSqrd},
23369  {"Normalize", _wrap_Quaternion_Normalize},
23370  {"GetNormalizedCopy", _wrap_Quaternion_GetNormalizedCopy},
23371  {"GetInverse", _wrap_Quaternion_GetInverse},
23372  {"GetBulletQuaternion", _wrap_Quaternion_GetBulletQuaternion},
23373  {"ExtractBulletQuaternion", _wrap_Quaternion_ExtractBulletQuaternion},
23374  {"GetOgreQuaternion", _wrap_Quaternion_GetOgreQuaternion},
23375  {"ExtractOgreQuaternion", _wrap_Quaternion_ExtractOgreQuaternion},
23376  {"__div", _wrap_Quaternion___div},
23377  {"__add", _wrap_Quaternion___add},
23378  {"__sub", _wrap_Quaternion___sub},
23379  {"__mul", _wrap_Quaternion___mul},
23380  {"__eq", _wrap_Quaternion___eq},
23381  {"__le", _wrap_Quaternion___le},
23382  {"ProtoSerialize", _wrap_Quaternion_ProtoSerialize},
23383  {"ProtoDeSerialize", _wrap_Quaternion_ProtoDeSerialize},
23384  {0,0}
23385 };
23386 static swig_lua_attribute swig_Mezzanine_Quaternion_attributes[] = {
23387  { "X", _wrap_Quaternion_X_get, _wrap_Quaternion_X_set},
23388  { "Y", _wrap_Quaternion_Y_get, _wrap_Quaternion_Y_set},
23389  { "Z", _wrap_Quaternion_Z_get, _wrap_Quaternion_Z_set},
23390  { "W", _wrap_Quaternion_W_get, _wrap_Quaternion_W_set},
23391  {0,0,0}
23392 };
23393 static swig_lua_class *swig_Mezzanine_Quaternion_bases[] = {0};
23394 static const char *swig_Mezzanine_Quaternion_base_names[] = {0};
23395 static swig_lua_class _wrap_class_Mezzanine_Quaternion = { "Quaternion", &SWIGTYPE_p_Mezzanine__Quaternion,_wrap_new_Quaternion, swig_delete_Quaternion, swig_Mezzanine_Quaternion_methods, swig_Mezzanine_Quaternion_attributes, swig_Mezzanine_Quaternion_bases, swig_Mezzanine_Quaternion_base_names };
23396 
23397 static int _wrap_TransformableObject_SetLocation__SWIG_0(lua_State* L) {
23398  int SWIG_arg = 0;
23400  Mezzanine::Vector3 *arg2 = 0 ;
23401 
23402  SWIG_check_num_args("Mezzanine::TransformableObject::SetLocation",2,2)
23403  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::SetLocation",1,"Mezzanine::TransformableObject *");
23404  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::SetLocation",2,"Mezzanine::Vector3 const &");
23405 
23406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23407  SWIG_fail_ptr("TransformableObject_SetLocation",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23408  }
23409 
23410 
23411  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
23412  SWIG_fail_ptr("TransformableObject_SetLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
23413  }
23414 
23415  (arg1)->SetLocation((Mezzanine::Vector3 const &)*arg2);
23416 
23417  return SWIG_arg;
23418 
23419  if(0) SWIG_fail;
23420 
23421 fail:
23422  lua_error(L);
23423  return SWIG_arg;
23424 }
23425 
23426 
23427 static int _wrap_TransformableObject_SetLocation__SWIG_1(lua_State* L) {
23428  int SWIG_arg = 0;
23430  Mezzanine::Real arg2 ;
23431  Mezzanine::Real arg3 ;
23432  Mezzanine::Real arg4 ;
23433 
23434  SWIG_check_num_args("Mezzanine::TransformableObject::SetLocation",4,4)
23435  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::SetLocation",1,"Mezzanine::TransformableObject *");
23436  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::SetLocation",2,"Mezzanine::Real const");
23437  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableObject::SetLocation",3,"Mezzanine::Real const");
23438  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableObject::SetLocation",4,"Mezzanine::Real const");
23439 
23440  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23441  SWIG_fail_ptr("TransformableObject_SetLocation",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23442  }
23443 
23444  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
23445  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
23446  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
23447  (arg1)->SetLocation(arg2,arg3,arg4);
23448 
23449  return SWIG_arg;
23450 
23451  if(0) SWIG_fail;
23452 
23453 fail:
23454  lua_error(L);
23455  return SWIG_arg;
23456 }
23457 
23458 
23459 static int _wrap_TransformableObject_SetLocation(lua_State* L) {
23460  int argc;
23461  int argv[5]={
23462  1,2,3,4,5
23463  };
23464 
23465  argc = lua_gettop(L);
23466  if (argc == 2) {
23467  int _v;
23468  {
23469  void *ptr;
23470  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23471  _v = 0;
23472  } else {
23473  _v = 1;
23474  }
23475  }
23476  if (_v) {
23477  {
23478  void *ptr;
23479  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
23480  _v = 0;
23481  } else {
23482  _v = 1;
23483  }
23484  }
23485  if (_v) {
23486  return _wrap_TransformableObject_SetLocation__SWIG_0(L);
23487  }
23488  }
23489  }
23490  if (argc == 4) {
23491  int _v;
23492  {
23493  void *ptr;
23494  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23495  _v = 0;
23496  } else {
23497  _v = 1;
23498  }
23499  }
23500  if (_v) {
23501  {
23502  _v = lua_isnumber(L,argv[1]);
23503  }
23504  if (_v) {
23505  {
23506  _v = lua_isnumber(L,argv[2]);
23507  }
23508  if (_v) {
23509  {
23510  _v = lua_isnumber(L,argv[3]);
23511  }
23512  if (_v) {
23513  return _wrap_TransformableObject_SetLocation__SWIG_1(L);
23514  }
23515  }
23516  }
23517  }
23518  }
23519 
23520  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_SetLocation'\n"
23521  " Possible C/C++ prototypes are:\n"
23522  " Mezzanine::TransformableObject::SetLocation(Mezzanine::Vector3 const &)\n"
23523  " Mezzanine::TransformableObject::SetLocation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
23524  lua_error(L);return 0;
23525 }
23526 
23527 
23528 static int _wrap_TransformableObject_GetLocation(lua_State* L) {
23529  int SWIG_arg = 0;
23531  Mezzanine::Vector3 result;
23532 
23533  SWIG_check_num_args("Mezzanine::TransformableObject::GetLocation",1,1)
23534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::GetLocation",1,"Mezzanine::TransformableObject const *");
23535 
23536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23537  SWIG_fail_ptr("TransformableObject_GetLocation",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23538  }
23539 
23540  result = ((Mezzanine::TransformableObject const *)arg1)->GetLocation();
23541  {
23542  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
23543  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
23544  }
23545  return SWIG_arg;
23546 
23547  if(0) SWIG_fail;
23548 
23549 fail:
23550  lua_error(L);
23551  return SWIG_arg;
23552 }
23553 
23554 
23555 static int _wrap_TransformableObject_SetOrientation__SWIG_0(lua_State* L) {
23556  int SWIG_arg = 0;
23558  Mezzanine::Quaternion *arg2 = 0 ;
23559 
23560  SWIG_check_num_args("Mezzanine::TransformableObject::SetOrientation",2,2)
23561  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",1,"Mezzanine::TransformableObject *");
23562  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",2,"Mezzanine::Quaternion const &");
23563 
23564  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23565  SWIG_fail_ptr("TransformableObject_SetOrientation",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23566  }
23567 
23568 
23569  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
23570  SWIG_fail_ptr("TransformableObject_SetOrientation",2,SWIGTYPE_p_Mezzanine__Quaternion);
23571  }
23572 
23573  (arg1)->SetOrientation((Mezzanine::Quaternion const &)*arg2);
23574 
23575  return SWIG_arg;
23576 
23577  if(0) SWIG_fail;
23578 
23579 fail:
23580  lua_error(L);
23581  return SWIG_arg;
23582 }
23583 
23584 
23585 static int _wrap_TransformableObject_SetOrientation__SWIG_1(lua_State* L) {
23586  int SWIG_arg = 0;
23588  Mezzanine::Real arg2 ;
23589  Mezzanine::Real arg3 ;
23590  Mezzanine::Real arg4 ;
23591  Mezzanine::Real arg5 ;
23592 
23593  SWIG_check_num_args("Mezzanine::TransformableObject::SetOrientation",5,5)
23594  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",1,"Mezzanine::TransformableObject *");
23595  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",2,"Mezzanine::Real const");
23596  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",3,"Mezzanine::Real const");
23597  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",4,"Mezzanine::Real const");
23598  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::TransformableObject::SetOrientation",5,"Mezzanine::Real const");
23599 
23600  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23601  SWIG_fail_ptr("TransformableObject_SetOrientation",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23602  }
23603 
23604  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
23605  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
23606  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
23607  arg5 = (Mezzanine::Real const)lua_tonumber(L, 5);
23608  (arg1)->SetOrientation(arg2,arg3,arg4,arg5);
23609 
23610  return SWIG_arg;
23611 
23612  if(0) SWIG_fail;
23613 
23614 fail:
23615  lua_error(L);
23616  return SWIG_arg;
23617 }
23618 
23619 
23620 static int _wrap_TransformableObject_SetOrientation(lua_State* L) {
23621  int argc;
23622  int argv[6]={
23623  1,2,3,4,5,6
23624  };
23625 
23626  argc = lua_gettop(L);
23627  if (argc == 2) {
23628  int _v;
23629  {
23630  void *ptr;
23631  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23632  _v = 0;
23633  } else {
23634  _v = 1;
23635  }
23636  }
23637  if (_v) {
23638  {
23639  void *ptr;
23640  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
23641  _v = 0;
23642  } else {
23643  _v = 1;
23644  }
23645  }
23646  if (_v) {
23647  return _wrap_TransformableObject_SetOrientation__SWIG_0(L);
23648  }
23649  }
23650  }
23651  if (argc == 5) {
23652  int _v;
23653  {
23654  void *ptr;
23655  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23656  _v = 0;
23657  } else {
23658  _v = 1;
23659  }
23660  }
23661  if (_v) {
23662  {
23663  _v = lua_isnumber(L,argv[1]);
23664  }
23665  if (_v) {
23666  {
23667  _v = lua_isnumber(L,argv[2]);
23668  }
23669  if (_v) {
23670  {
23671  _v = lua_isnumber(L,argv[3]);
23672  }
23673  if (_v) {
23674  {
23675  _v = lua_isnumber(L,argv[4]);
23676  }
23677  if (_v) {
23678  return _wrap_TransformableObject_SetOrientation__SWIG_1(L);
23679  }
23680  }
23681  }
23682  }
23683  }
23684  }
23685 
23686  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_SetOrientation'\n"
23687  " Possible C/C++ prototypes are:\n"
23688  " Mezzanine::TransformableObject::SetOrientation(Mezzanine::Quaternion const &)\n"
23689  " Mezzanine::TransformableObject::SetOrientation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
23690  lua_error(L);return 0;
23691 }
23692 
23693 
23694 static int _wrap_TransformableObject_GetOrientation(lua_State* L) {
23695  int SWIG_arg = 0;
23697  Mezzanine::Quaternion result;
23698 
23699  SWIG_check_num_args("Mezzanine::TransformableObject::GetOrientation",1,1)
23700  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::GetOrientation",1,"Mezzanine::TransformableObject const *");
23701 
23702  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23703  SWIG_fail_ptr("TransformableObject_GetOrientation",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23704  }
23705 
23706  result = ((Mezzanine::TransformableObject const *)arg1)->GetOrientation();
23707  {
23708  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
23709  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
23710  }
23711  return SWIG_arg;
23712 
23713  if(0) SWIG_fail;
23714 
23715 fail:
23716  lua_error(L);
23717  return SWIG_arg;
23718 }
23719 
23720 
23721 static int _wrap_TransformableObject_SetScale__SWIG_0(lua_State* L) {
23722  int SWIG_arg = 0;
23724  Mezzanine::Vector3 *arg2 = 0 ;
23725 
23726  SWIG_check_num_args("Mezzanine::TransformableObject::SetScale",2,2)
23727  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::SetScale",1,"Mezzanine::TransformableObject *");
23728  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::SetScale",2,"Mezzanine::Vector3 const &");
23729 
23730  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23731  SWIG_fail_ptr("TransformableObject_SetScale",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23732  }
23733 
23734 
23735  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
23736  SWIG_fail_ptr("TransformableObject_SetScale",2,SWIGTYPE_p_Mezzanine__Vector3);
23737  }
23738 
23739  (arg1)->SetScale((Mezzanine::Vector3 const &)*arg2);
23740 
23741  return SWIG_arg;
23742 
23743  if(0) SWIG_fail;
23744 
23745 fail:
23746  lua_error(L);
23747  return SWIG_arg;
23748 }
23749 
23750 
23751 static int _wrap_TransformableObject_SetScale__SWIG_1(lua_State* L) {
23752  int SWIG_arg = 0;
23754  Mezzanine::Real arg2 ;
23755  Mezzanine::Real arg3 ;
23756  Mezzanine::Real arg4 ;
23757 
23758  SWIG_check_num_args("Mezzanine::TransformableObject::SetScale",4,4)
23759  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::SetScale",1,"Mezzanine::TransformableObject *");
23760  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::SetScale",2,"Mezzanine::Real const");
23761  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableObject::SetScale",3,"Mezzanine::Real const");
23762  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableObject::SetScale",4,"Mezzanine::Real const");
23763 
23764  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23765  SWIG_fail_ptr("TransformableObject_SetScale",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23766  }
23767 
23768  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
23769  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
23770  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
23771  (arg1)->SetScale(arg2,arg3,arg4);
23772 
23773  return SWIG_arg;
23774 
23775  if(0) SWIG_fail;
23776 
23777 fail:
23778  lua_error(L);
23779  return SWIG_arg;
23780 }
23781 
23782 
23783 static int _wrap_TransformableObject_SetScale(lua_State* L) {
23784  int argc;
23785  int argv[5]={
23786  1,2,3,4,5
23787  };
23788 
23789  argc = lua_gettop(L);
23790  if (argc == 2) {
23791  int _v;
23792  {
23793  void *ptr;
23794  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23795  _v = 0;
23796  } else {
23797  _v = 1;
23798  }
23799  }
23800  if (_v) {
23801  {
23802  void *ptr;
23803  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
23804  _v = 0;
23805  } else {
23806  _v = 1;
23807  }
23808  }
23809  if (_v) {
23810  return _wrap_TransformableObject_SetScale__SWIG_0(L);
23811  }
23812  }
23813  }
23814  if (argc == 4) {
23815  int _v;
23816  {
23817  void *ptr;
23818  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23819  _v = 0;
23820  } else {
23821  _v = 1;
23822  }
23823  }
23824  if (_v) {
23825  {
23826  _v = lua_isnumber(L,argv[1]);
23827  }
23828  if (_v) {
23829  {
23830  _v = lua_isnumber(L,argv[2]);
23831  }
23832  if (_v) {
23833  {
23834  _v = lua_isnumber(L,argv[3]);
23835  }
23836  if (_v) {
23837  return _wrap_TransformableObject_SetScale__SWIG_1(L);
23838  }
23839  }
23840  }
23841  }
23842  }
23843 
23844  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_SetScale'\n"
23845  " Possible C/C++ prototypes are:\n"
23846  " Mezzanine::TransformableObject::SetScale(Mezzanine::Vector3 const &)\n"
23847  " Mezzanine::TransformableObject::SetScale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
23848  lua_error(L);return 0;
23849 }
23850 
23851 
23852 static int _wrap_TransformableObject_GetScale(lua_State* L) {
23853  int SWIG_arg = 0;
23855  Mezzanine::Vector3 result;
23856 
23857  SWIG_check_num_args("Mezzanine::TransformableObject::GetScale",1,1)
23858  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::GetScale",1,"Mezzanine::TransformableObject const *");
23859 
23860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23861  SWIG_fail_ptr("TransformableObject_GetScale",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23862  }
23863 
23864  result = ((Mezzanine::TransformableObject const *)arg1)->GetScale();
23865  {
23866  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
23867  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
23868  }
23869  return SWIG_arg;
23870 
23871  if(0) SWIG_fail;
23872 
23873 fail:
23874  lua_error(L);
23875  return SWIG_arg;
23876 }
23877 
23878 
23879 static int _wrap_TransformableObject_Translate__SWIG_0(lua_State* L) {
23880  int SWIG_arg = 0;
23882  Mezzanine::Vector3 *arg2 = 0 ;
23883 
23884  SWIG_check_num_args("Mezzanine::TransformableObject::Translate",2,2)
23885  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Translate",1,"Mezzanine::TransformableObject *");
23886  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Translate",2,"Mezzanine::Vector3 const &");
23887 
23888  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23889  SWIG_fail_ptr("TransformableObject_Translate",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23890  }
23891 
23892 
23893  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
23894  SWIG_fail_ptr("TransformableObject_Translate",2,SWIGTYPE_p_Mezzanine__Vector3);
23895  }
23896 
23897  (arg1)->Translate((Mezzanine::Vector3 const &)*arg2);
23898 
23899  return SWIG_arg;
23900 
23901  if(0) SWIG_fail;
23902 
23903 fail:
23904  lua_error(L);
23905  return SWIG_arg;
23906 }
23907 
23908 
23909 static int _wrap_TransformableObject_Translate__SWIG_1(lua_State* L) {
23910  int SWIG_arg = 0;
23912  Mezzanine::Real arg2 ;
23913  Mezzanine::Real arg3 ;
23914  Mezzanine::Real arg4 ;
23915 
23916  SWIG_check_num_args("Mezzanine::TransformableObject::Translate",4,4)
23917  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Translate",1,"Mezzanine::TransformableObject *");
23918  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Translate",2,"Mezzanine::Real const");
23919  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableObject::Translate",3,"Mezzanine::Real const");
23920  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableObject::Translate",4,"Mezzanine::Real const");
23921 
23922  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
23923  SWIG_fail_ptr("TransformableObject_Translate",1,SWIGTYPE_p_Mezzanine__TransformableObject);
23924  }
23925 
23926  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
23927  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
23928  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
23929  (arg1)->Translate(arg2,arg3,arg4);
23930 
23931  return SWIG_arg;
23932 
23933  if(0) SWIG_fail;
23934 
23935 fail:
23936  lua_error(L);
23937  return SWIG_arg;
23938 }
23939 
23940 
23941 static int _wrap_TransformableObject_Translate(lua_State* L) {
23942  int argc;
23943  int argv[5]={
23944  1,2,3,4,5
23945  };
23946 
23947  argc = lua_gettop(L);
23948  if (argc == 2) {
23949  int _v;
23950  {
23951  void *ptr;
23952  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23953  _v = 0;
23954  } else {
23955  _v = 1;
23956  }
23957  }
23958  if (_v) {
23959  {
23960  void *ptr;
23961  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
23962  _v = 0;
23963  } else {
23964  _v = 1;
23965  }
23966  }
23967  if (_v) {
23968  return _wrap_TransformableObject_Translate__SWIG_0(L);
23969  }
23970  }
23971  }
23972  if (argc == 4) {
23973  int _v;
23974  {
23975  void *ptr;
23976  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
23977  _v = 0;
23978  } else {
23979  _v = 1;
23980  }
23981  }
23982  if (_v) {
23983  {
23984  _v = lua_isnumber(L,argv[1]);
23985  }
23986  if (_v) {
23987  {
23988  _v = lua_isnumber(L,argv[2]);
23989  }
23990  if (_v) {
23991  {
23992  _v = lua_isnumber(L,argv[3]);
23993  }
23994  if (_v) {
23995  return _wrap_TransformableObject_Translate__SWIG_1(L);
23996  }
23997  }
23998  }
23999  }
24000  }
24001 
24002  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_Translate'\n"
24003  " Possible C/C++ prototypes are:\n"
24004  " Mezzanine::TransformableObject::Translate(Mezzanine::Vector3 const &)\n"
24005  " Mezzanine::TransformableObject::Translate(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
24006  lua_error(L);return 0;
24007 }
24008 
24009 
24010 static int _wrap_TransformableObject_Yaw(lua_State* L) {
24011  int SWIG_arg = 0;
24013  Mezzanine::Real arg2 ;
24014 
24015  SWIG_check_num_args("Mezzanine::TransformableObject::Yaw",2,2)
24016  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Yaw",1,"Mezzanine::TransformableObject *");
24017  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Yaw",2,"Mezzanine::Real const");
24018 
24019  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24020  SWIG_fail_ptr("TransformableObject_Yaw",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24021  }
24022 
24023  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
24024  (arg1)->Yaw(arg2);
24025 
24026  return SWIG_arg;
24027 
24028  if(0) SWIG_fail;
24029 
24030 fail:
24031  lua_error(L);
24032  return SWIG_arg;
24033 }
24034 
24035 
24036 static int _wrap_TransformableObject_Pitch(lua_State* L) {
24037  int SWIG_arg = 0;
24039  Mezzanine::Real arg2 ;
24040 
24041  SWIG_check_num_args("Mezzanine::TransformableObject::Pitch",2,2)
24042  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Pitch",1,"Mezzanine::TransformableObject *");
24043  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Pitch",2,"Mezzanine::Real const");
24044 
24045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24046  SWIG_fail_ptr("TransformableObject_Pitch",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24047  }
24048 
24049  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
24050  (arg1)->Pitch(arg2);
24051 
24052  return SWIG_arg;
24053 
24054  if(0) SWIG_fail;
24055 
24056 fail:
24057  lua_error(L);
24058  return SWIG_arg;
24059 }
24060 
24061 
24062 static int _wrap_TransformableObject_Roll(lua_State* L) {
24063  int SWIG_arg = 0;
24065  Mezzanine::Real arg2 ;
24066 
24067  SWIG_check_num_args("Mezzanine::TransformableObject::Roll",2,2)
24068  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Roll",1,"Mezzanine::TransformableObject *");
24069  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Roll",2,"Mezzanine::Real const");
24070 
24071  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24072  SWIG_fail_ptr("TransformableObject_Roll",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24073  }
24074 
24075  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
24076  (arg1)->Roll(arg2);
24077 
24078  return SWIG_arg;
24079 
24080  if(0) SWIG_fail;
24081 
24082 fail:
24083  lua_error(L);
24084  return SWIG_arg;
24085 }
24086 
24087 
24088 static int _wrap_TransformableObject_Rotate__SWIG_0(lua_State* L) {
24089  int SWIG_arg = 0;
24091  Mezzanine::Vector3 *arg2 = 0 ;
24092  Mezzanine::Real arg3 ;
24093 
24094  SWIG_check_num_args("Mezzanine::TransformableObject::Rotate",3,3)
24095  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Rotate",1,"Mezzanine::TransformableObject *");
24096  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Rotate",2,"Mezzanine::Vector3 const &");
24097  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableObject::Rotate",3,"Mezzanine::Real const");
24098 
24099  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24100  SWIG_fail_ptr("TransformableObject_Rotate",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24101  }
24102 
24103 
24104  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
24105  SWIG_fail_ptr("TransformableObject_Rotate",2,SWIGTYPE_p_Mezzanine__Vector3);
24106  }
24107 
24108  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
24109  (arg1)->Rotate((Mezzanine::Vector3 const &)*arg2,arg3);
24110 
24111  return SWIG_arg;
24112 
24113  if(0) SWIG_fail;
24114 
24115 fail:
24116  lua_error(L);
24117  return SWIG_arg;
24118 }
24119 
24120 
24121 static int _wrap_TransformableObject_Rotate__SWIG_1(lua_State* L) {
24122  int SWIG_arg = 0;
24124  Mezzanine::Quaternion *arg2 = 0 ;
24125 
24126  SWIG_check_num_args("Mezzanine::TransformableObject::Rotate",2,2)
24127  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Rotate",1,"Mezzanine::TransformableObject *");
24128  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Rotate",2,"Mezzanine::Quaternion const &");
24129 
24130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24131  SWIG_fail_ptr("TransformableObject_Rotate",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24132  }
24133 
24134 
24135  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
24136  SWIG_fail_ptr("TransformableObject_Rotate",2,SWIGTYPE_p_Mezzanine__Quaternion);
24137  }
24138 
24139  (arg1)->Rotate((Mezzanine::Quaternion const &)*arg2);
24140 
24141  return SWIG_arg;
24142 
24143  if(0) SWIG_fail;
24144 
24145 fail:
24146  lua_error(L);
24147  return SWIG_arg;
24148 }
24149 
24150 
24151 static int _wrap_TransformableObject_Rotate(lua_State* L) {
24152  int argc;
24153  int argv[4]={
24154  1,2,3,4
24155  };
24156 
24157  argc = lua_gettop(L);
24158  if (argc == 2) {
24159  int _v;
24160  {
24161  void *ptr;
24162  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24163  _v = 0;
24164  } else {
24165  _v = 1;
24166  }
24167  }
24168  if (_v) {
24169  {
24170  void *ptr;
24171  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
24172  _v = 0;
24173  } else {
24174  _v = 1;
24175  }
24176  }
24177  if (_v) {
24178  return _wrap_TransformableObject_Rotate__SWIG_1(L);
24179  }
24180  }
24181  }
24182  if (argc == 3) {
24183  int _v;
24184  {
24185  void *ptr;
24186  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24187  _v = 0;
24188  } else {
24189  _v = 1;
24190  }
24191  }
24192  if (_v) {
24193  {
24194  void *ptr;
24195  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
24196  _v = 0;
24197  } else {
24198  _v = 1;
24199  }
24200  }
24201  if (_v) {
24202  {
24203  _v = lua_isnumber(L,argv[2]);
24204  }
24205  if (_v) {
24206  return _wrap_TransformableObject_Rotate__SWIG_0(L);
24207  }
24208  }
24209  }
24210  }
24211 
24212  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_Rotate'\n"
24213  " Possible C/C++ prototypes are:\n"
24214  " Mezzanine::TransformableObject::Rotate(Mezzanine::Vector3 const &,Mezzanine::Real const)\n"
24215  " Mezzanine::TransformableObject::Rotate(Mezzanine::Quaternion const &)\n");
24216  lua_error(L);return 0;
24217 }
24218 
24219 
24220 static int _wrap_TransformableObject_Scale__SWIG_0(lua_State* L) {
24221  int SWIG_arg = 0;
24223  Mezzanine::Vector3 *arg2 = 0 ;
24224 
24225  SWIG_check_num_args("Mezzanine::TransformableObject::Scale",2,2)
24226  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Scale",1,"Mezzanine::TransformableObject *");
24227  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Scale",2,"Mezzanine::Vector3 const &");
24228 
24229  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24230  SWIG_fail_ptr("TransformableObject_Scale",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24231  }
24232 
24233 
24234  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
24235  SWIG_fail_ptr("TransformableObject_Scale",2,SWIGTYPE_p_Mezzanine__Vector3);
24236  }
24237 
24238  (arg1)->Scale((Mezzanine::Vector3 const &)*arg2);
24239 
24240  return SWIG_arg;
24241 
24242  if(0) SWIG_fail;
24243 
24244 fail:
24245  lua_error(L);
24246  return SWIG_arg;
24247 }
24248 
24249 
24250 static int _wrap_TransformableObject_Scale__SWIG_1(lua_State* L) {
24251  int SWIG_arg = 0;
24253  Mezzanine::Real arg2 ;
24254  Mezzanine::Real arg3 ;
24255  Mezzanine::Real arg4 ;
24256 
24257  SWIG_check_num_args("Mezzanine::TransformableObject::Scale",4,4)
24258  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::Scale",1,"Mezzanine::TransformableObject *");
24259  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::Scale",2,"Mezzanine::Real const");
24260  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableObject::Scale",3,"Mezzanine::Real const");
24261  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableObject::Scale",4,"Mezzanine::Real const");
24262 
24263  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24264  SWIG_fail_ptr("TransformableObject_Scale",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24265  }
24266 
24267  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
24268  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
24269  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
24270  (arg1)->Scale(arg2,arg3,arg4);
24271 
24272  return SWIG_arg;
24273 
24274  if(0) SWIG_fail;
24275 
24276 fail:
24277  lua_error(L);
24278  return SWIG_arg;
24279 }
24280 
24281 
24282 static int _wrap_TransformableObject_Scale(lua_State* L) {
24283  int argc;
24284  int argv[5]={
24285  1,2,3,4,5
24286  };
24287 
24288  argc = lua_gettop(L);
24289  if (argc == 2) {
24290  int _v;
24291  {
24292  void *ptr;
24293  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24294  _v = 0;
24295  } else {
24296  _v = 1;
24297  }
24298  }
24299  if (_v) {
24300  {
24301  void *ptr;
24302  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
24303  _v = 0;
24304  } else {
24305  _v = 1;
24306  }
24307  }
24308  if (_v) {
24309  return _wrap_TransformableObject_Scale__SWIG_0(L);
24310  }
24311  }
24312  }
24313  if (argc == 4) {
24314  int _v;
24315  {
24316  void *ptr;
24317  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24318  _v = 0;
24319  } else {
24320  _v = 1;
24321  }
24322  }
24323  if (_v) {
24324  {
24325  _v = lua_isnumber(L,argv[1]);
24326  }
24327  if (_v) {
24328  {
24329  _v = lua_isnumber(L,argv[2]);
24330  }
24331  if (_v) {
24332  {
24333  _v = lua_isnumber(L,argv[3]);
24334  }
24335  if (_v) {
24336  return _wrap_TransformableObject_Scale__SWIG_1(L);
24337  }
24338  }
24339  }
24340  }
24341  }
24342 
24343  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_Scale'\n"
24344  " Possible C/C++ prototypes are:\n"
24345  " Mezzanine::TransformableObject::Scale(Mezzanine::Vector3 const &)\n"
24346  " Mezzanine::TransformableObject::Scale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
24347  lua_error(L);return 0;
24348 }
24349 
24350 
24351 static int _wrap_TransformableObject_ConvertLocalToGlobal__SWIG_0(lua_State* L) {
24352  int SWIG_arg = 0;
24354  Mezzanine::Vector3 *arg2 = 0 ;
24355  Mezzanine::Vector3 result;
24356 
24357  SWIG_check_num_args("Mezzanine::TransformableObject::ConvertLocalToGlobal",2,2)
24358  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertLocalToGlobal",1,"Mezzanine::TransformableObject const *");
24359  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertLocalToGlobal",2,"Mezzanine::Vector3 const &");
24360 
24361  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24362  SWIG_fail_ptr("TransformableObject_ConvertLocalToGlobal",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24363  }
24364 
24365 
24366  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
24367  SWIG_fail_ptr("TransformableObject_ConvertLocalToGlobal",2,SWIGTYPE_p_Mezzanine__Vector3);
24368  }
24369 
24370  result = ((Mezzanine::TransformableObject const *)arg1)->ConvertLocalToGlobal((Mezzanine::Vector3 const &)*arg2);
24371  {
24372  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
24373  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
24374  }
24375  return SWIG_arg;
24376 
24377  if(0) SWIG_fail;
24378 
24379 fail:
24380  lua_error(L);
24381  return SWIG_arg;
24382 }
24383 
24384 
24385 static int _wrap_TransformableObject_ConvertGlobalToLocal__SWIG_0(lua_State* L) {
24386  int SWIG_arg = 0;
24388  Mezzanine::Vector3 *arg2 = 0 ;
24389  Mezzanine::Vector3 result;
24390 
24391  SWIG_check_num_args("Mezzanine::TransformableObject::ConvertGlobalToLocal",2,2)
24392  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertGlobalToLocal",1,"Mezzanine::TransformableObject const *");
24393  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertGlobalToLocal",2,"Mezzanine::Vector3 const &");
24394 
24395  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24396  SWIG_fail_ptr("TransformableObject_ConvertGlobalToLocal",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24397  }
24398 
24399 
24400  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
24401  SWIG_fail_ptr("TransformableObject_ConvertGlobalToLocal",2,SWIGTYPE_p_Mezzanine__Vector3);
24402  }
24403 
24404  result = ((Mezzanine::TransformableObject const *)arg1)->ConvertGlobalToLocal((Mezzanine::Vector3 const &)*arg2);
24405  {
24406  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
24407  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
24408  }
24409  return SWIG_arg;
24410 
24411  if(0) SWIG_fail;
24412 
24413 fail:
24414  lua_error(L);
24415  return SWIG_arg;
24416 }
24417 
24418 
24419 static int _wrap_TransformableObject_ConvertLocalToGlobal__SWIG_1(lua_State* L) {
24420  int SWIG_arg = 0;
24422  Mezzanine::Quaternion *arg2 = 0 ;
24423  Mezzanine::Quaternion result;
24424 
24425  SWIG_check_num_args("Mezzanine::TransformableObject::ConvertLocalToGlobal",2,2)
24426  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertLocalToGlobal",1,"Mezzanine::TransformableObject const *");
24427  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertLocalToGlobal",2,"Mezzanine::Quaternion const &");
24428 
24429  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24430  SWIG_fail_ptr("TransformableObject_ConvertLocalToGlobal",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24431  }
24432 
24433 
24434  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
24435  SWIG_fail_ptr("TransformableObject_ConvertLocalToGlobal",2,SWIGTYPE_p_Mezzanine__Quaternion);
24436  }
24437 
24438  result = ((Mezzanine::TransformableObject const *)arg1)->ConvertLocalToGlobal((Mezzanine::Quaternion const &)*arg2);
24439  {
24440  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
24441  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
24442  }
24443  return SWIG_arg;
24444 
24445  if(0) SWIG_fail;
24446 
24447 fail:
24448  lua_error(L);
24449  return SWIG_arg;
24450 }
24451 
24452 
24453 static int _wrap_TransformableObject_ConvertLocalToGlobal(lua_State* L) {
24454  int argc;
24455  int argv[3]={
24456  1,2,3
24457  };
24458 
24459  argc = lua_gettop(L);
24460  if (argc == 2) {
24461  int _v;
24462  {
24463  void *ptr;
24464  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24465  _v = 0;
24466  } else {
24467  _v = 1;
24468  }
24469  }
24470  if (_v) {
24471  {
24472  void *ptr;
24473  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
24474  _v = 0;
24475  } else {
24476  _v = 1;
24477  }
24478  }
24479  if (_v) {
24480  return _wrap_TransformableObject_ConvertLocalToGlobal__SWIG_0(L);
24481  }
24482  }
24483  }
24484  if (argc == 2) {
24485  int _v;
24486  {
24487  void *ptr;
24488  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24489  _v = 0;
24490  } else {
24491  _v = 1;
24492  }
24493  }
24494  if (_v) {
24495  {
24496  void *ptr;
24497  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
24498  _v = 0;
24499  } else {
24500  _v = 1;
24501  }
24502  }
24503  if (_v) {
24504  return _wrap_TransformableObject_ConvertLocalToGlobal__SWIG_1(L);
24505  }
24506  }
24507  }
24508 
24509  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_ConvertLocalToGlobal'\n"
24510  " Possible C/C++ prototypes are:\n"
24511  " Mezzanine::TransformableObject::ConvertLocalToGlobal(Mezzanine::Vector3 const &) const\n"
24512  " Mezzanine::TransformableObject::ConvertLocalToGlobal(Mezzanine::Quaternion const &) const\n");
24513  lua_error(L);return 0;
24514 }
24515 
24516 
24517 static int _wrap_TransformableObject_ConvertGlobalToLocal__SWIG_1(lua_State* L) {
24518  int SWIG_arg = 0;
24520  Mezzanine::Quaternion *arg2 = 0 ;
24521  Mezzanine::Quaternion result;
24522 
24523  SWIG_check_num_args("Mezzanine::TransformableObject::ConvertGlobalToLocal",2,2)
24524  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertGlobalToLocal",1,"Mezzanine::TransformableObject const *");
24525  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableObject::ConvertGlobalToLocal",2,"Mezzanine::Quaternion const &");
24526 
24527  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
24528  SWIG_fail_ptr("TransformableObject_ConvertGlobalToLocal",1,SWIGTYPE_p_Mezzanine__TransformableObject);
24529  }
24530 
24531 
24532  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
24533  SWIG_fail_ptr("TransformableObject_ConvertGlobalToLocal",2,SWIGTYPE_p_Mezzanine__Quaternion);
24534  }
24535 
24536  result = ((Mezzanine::TransformableObject const *)arg1)->ConvertGlobalToLocal((Mezzanine::Quaternion const &)*arg2);
24537  {
24538  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
24539  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
24540  }
24541  return SWIG_arg;
24542 
24543  if(0) SWIG_fail;
24544 
24545 fail:
24546  lua_error(L);
24547  return SWIG_arg;
24548 }
24549 
24550 
24551 static int _wrap_TransformableObject_ConvertGlobalToLocal(lua_State* L) {
24552  int argc;
24553  int argv[3]={
24554  1,2,3
24555  };
24556 
24557  argc = lua_gettop(L);
24558  if (argc == 2) {
24559  int _v;
24560  {
24561  void *ptr;
24562  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24563  _v = 0;
24564  } else {
24565  _v = 1;
24566  }
24567  }
24568  if (_v) {
24569  {
24570  void *ptr;
24571  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
24572  _v = 0;
24573  } else {
24574  _v = 1;
24575  }
24576  }
24577  if (_v) {
24578  return _wrap_TransformableObject_ConvertGlobalToLocal__SWIG_0(L);
24579  }
24580  }
24581  }
24582  if (argc == 2) {
24583  int _v;
24584  {
24585  void *ptr;
24586  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableObject, 0)) {
24587  _v = 0;
24588  } else {
24589  _v = 1;
24590  }
24591  }
24592  if (_v) {
24593  {
24594  void *ptr;
24595  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
24596  _v = 0;
24597  } else {
24598  _v = 1;
24599  }
24600  }
24601  if (_v) {
24602  return _wrap_TransformableObject_ConvertGlobalToLocal__SWIG_1(L);
24603  }
24604  }
24605  }
24606 
24607  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableObject_ConvertGlobalToLocal'\n"
24608  " Possible C/C++ prototypes are:\n"
24609  " Mezzanine::TransformableObject::ConvertGlobalToLocal(Mezzanine::Vector3 const &) const\n"
24610  " Mezzanine::TransformableObject::ConvertGlobalToLocal(Mezzanine::Quaternion const &) const\n");
24611  lua_error(L);return 0;
24612 }
24613 
24614 
24615 static void swig_delete_TransformableObject(void *obj) {
24617 delete arg1;
24618 }
24619 static swig_lua_method swig_Mezzanine_TransformableObject_methods[] = {
24620  {"SetLocation", _wrap_TransformableObject_SetLocation},
24621  {"GetLocation", _wrap_TransformableObject_GetLocation},
24622  {"SetOrientation", _wrap_TransformableObject_SetOrientation},
24623  {"GetOrientation", _wrap_TransformableObject_GetOrientation},
24624  {"SetScale", _wrap_TransformableObject_SetScale},
24625  {"GetScale", _wrap_TransformableObject_GetScale},
24626  {"Translate", _wrap_TransformableObject_Translate},
24627  {"Yaw", _wrap_TransformableObject_Yaw},
24628  {"Pitch", _wrap_TransformableObject_Pitch},
24629  {"Roll", _wrap_TransformableObject_Roll},
24630  {"Rotate", _wrap_TransformableObject_Rotate},
24631  {"Scale", _wrap_TransformableObject_Scale},
24632  {"ConvertLocalToGlobal", _wrap_TransformableObject_ConvertLocalToGlobal},
24633  {"ConvertGlobalToLocal", _wrap_TransformableObject_ConvertGlobalToLocal},
24634  {0,0}
24635 };
24636 static swig_lua_attribute swig_Mezzanine_TransformableObject_attributes[] = {
24637  {0,0,0}
24638 };
24639 static swig_lua_class *swig_Mezzanine_TransformableObject_bases[] = {0};
24640 static const char *swig_Mezzanine_TransformableObject_base_names[] = {0};
24641 static swig_lua_class _wrap_class_Mezzanine_TransformableObject = { "TransformableObject", &SWIGTYPE_p_Mezzanine__TransformableObject,0, swig_delete_TransformableObject, swig_Mezzanine_TransformableObject_methods, swig_Mezzanine_TransformableObject_attributes, swig_Mezzanine_TransformableObject_bases, swig_Mezzanine_TransformableObject_base_names };
24642 
24643 static int _wrap_TransformableChildObject_SetLocation__SWIG_0(lua_State* L) {
24644  int SWIG_arg = 0;
24646  Mezzanine::Vector3 *arg2 = 0 ;
24647 
24648  SWIG_check_num_args("Mezzanine::TransformableChildObject::SetLocation",2,2)
24649  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetLocation",1,"Mezzanine::TransformableChildObject *");
24650  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetLocation",2,"Mezzanine::Vector3 const &");
24651 
24652  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24653  SWIG_fail_ptr("TransformableChildObject_SetLocation",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24654  }
24655 
24656 
24657  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
24658  SWIG_fail_ptr("TransformableChildObject_SetLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
24659  }
24660 
24661  (arg1)->SetLocation((Mezzanine::Vector3 const &)*arg2);
24662 
24663  return SWIG_arg;
24664 
24665  if(0) SWIG_fail;
24666 
24667 fail:
24668  lua_error(L);
24669  return SWIG_arg;
24670 }
24671 
24672 
24673 static int _wrap_TransformableChildObject_SetLocation__SWIG_1(lua_State* L) {
24674  int SWIG_arg = 0;
24676  Mezzanine::Real arg2 ;
24677  Mezzanine::Real arg3 ;
24678  Mezzanine::Real arg4 ;
24679 
24680  SWIG_check_num_args("Mezzanine::TransformableChildObject::SetLocation",4,4)
24681  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetLocation",1,"Mezzanine::TransformableChildObject *");
24682  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetLocation",2,"Mezzanine::Real const");
24683  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetLocation",3,"Mezzanine::Real const");
24684  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetLocation",4,"Mezzanine::Real const");
24685 
24686  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24687  SWIG_fail_ptr("TransformableChildObject_SetLocation",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24688  }
24689 
24690  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
24691  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
24692  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
24693  (arg1)->SetLocation(arg2,arg3,arg4);
24694 
24695  return SWIG_arg;
24696 
24697  if(0) SWIG_fail;
24698 
24699 fail:
24700  lua_error(L);
24701  return SWIG_arg;
24702 }
24703 
24704 
24705 static int _wrap_TransformableChildObject_SetLocation(lua_State* L) {
24706  int argc;
24707  int argv[5]={
24708  1,2,3,4,5
24709  };
24710 
24711  argc = lua_gettop(L);
24712  if (argc == 2) {
24713  int _v;
24714  {
24715  void *ptr;
24716  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
24717  _v = 0;
24718  } else {
24719  _v = 1;
24720  }
24721  }
24722  if (_v) {
24723  {
24724  void *ptr;
24725  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
24726  _v = 0;
24727  } else {
24728  _v = 1;
24729  }
24730  }
24731  if (_v) {
24732  return _wrap_TransformableChildObject_SetLocation__SWIG_0(L);
24733  }
24734  }
24735  }
24736  if (argc == 4) {
24737  int _v;
24738  {
24739  void *ptr;
24740  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
24741  _v = 0;
24742  } else {
24743  _v = 1;
24744  }
24745  }
24746  if (_v) {
24747  {
24748  _v = lua_isnumber(L,argv[1]);
24749  }
24750  if (_v) {
24751  {
24752  _v = lua_isnumber(L,argv[2]);
24753  }
24754  if (_v) {
24755  {
24756  _v = lua_isnumber(L,argv[3]);
24757  }
24758  if (_v) {
24759  return _wrap_TransformableChildObject_SetLocation__SWIG_1(L);
24760  }
24761  }
24762  }
24763  }
24764  }
24765 
24766  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_SetLocation'\n"
24767  " Possible C/C++ prototypes are:\n"
24768  " Mezzanine::TransformableChildObject::SetLocation(Mezzanine::Vector3 const &)\n"
24769  " Mezzanine::TransformableChildObject::SetLocation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
24770  lua_error(L);return 0;
24771 }
24772 
24773 
24774 static int _wrap_TransformableChildObject_GetLocation(lua_State* L) {
24775  int SWIG_arg = 0;
24777  Mezzanine::Vector3 result;
24778 
24779  SWIG_check_num_args("Mezzanine::TransformableChildObject::GetLocation",1,1)
24780  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::GetLocation",1,"Mezzanine::TransformableChildObject const *");
24781 
24782  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24783  SWIG_fail_ptr("TransformableChildObject_GetLocation",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24784  }
24785 
24786  result = ((Mezzanine::TransformableChildObject const *)arg1)->GetLocation();
24787  {
24788  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
24789  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
24790  }
24791  return SWIG_arg;
24792 
24793  if(0) SWIG_fail;
24794 
24795 fail:
24796  lua_error(L);
24797  return SWIG_arg;
24798 }
24799 
24800 
24801 static int _wrap_TransformableChildObject_SetOrientation__SWIG_0(lua_State* L) {
24802  int SWIG_arg = 0;
24804  Mezzanine::Quaternion *arg2 = 0 ;
24805 
24806  SWIG_check_num_args("Mezzanine::TransformableChildObject::SetOrientation",2,2)
24807  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",1,"Mezzanine::TransformableChildObject *");
24808  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",2,"Mezzanine::Quaternion const &");
24809 
24810  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24811  SWIG_fail_ptr("TransformableChildObject_SetOrientation",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24812  }
24813 
24814 
24815  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
24816  SWIG_fail_ptr("TransformableChildObject_SetOrientation",2,SWIGTYPE_p_Mezzanine__Quaternion);
24817  }
24818 
24819  (arg1)->SetOrientation((Mezzanine::Quaternion const &)*arg2);
24820 
24821  return SWIG_arg;
24822 
24823  if(0) SWIG_fail;
24824 
24825 fail:
24826  lua_error(L);
24827  return SWIG_arg;
24828 }
24829 
24830 
24831 static int _wrap_TransformableChildObject_SetOrientation__SWIG_1(lua_State* L) {
24832  int SWIG_arg = 0;
24834  Mezzanine::Real arg2 ;
24835  Mezzanine::Real arg3 ;
24836  Mezzanine::Real arg4 ;
24837  Mezzanine::Real arg5 ;
24838 
24839  SWIG_check_num_args("Mezzanine::TransformableChildObject::SetOrientation",5,5)
24840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",1,"Mezzanine::TransformableChildObject *");
24841  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",2,"Mezzanine::Real const");
24842  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",3,"Mezzanine::Real const");
24843  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",4,"Mezzanine::Real const");
24844  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetOrientation",5,"Mezzanine::Real const");
24845 
24846  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24847  SWIG_fail_ptr("TransformableChildObject_SetOrientation",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24848  }
24849 
24850  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
24851  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
24852  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
24853  arg5 = (Mezzanine::Real const)lua_tonumber(L, 5);
24854  (arg1)->SetOrientation(arg2,arg3,arg4,arg5);
24855 
24856  return SWIG_arg;
24857 
24858  if(0) SWIG_fail;
24859 
24860 fail:
24861  lua_error(L);
24862  return SWIG_arg;
24863 }
24864 
24865 
24866 static int _wrap_TransformableChildObject_SetOrientation(lua_State* L) {
24867  int argc;
24868  int argv[6]={
24869  1,2,3,4,5,6
24870  };
24871 
24872  argc = lua_gettop(L);
24873  if (argc == 2) {
24874  int _v;
24875  {
24876  void *ptr;
24877  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
24878  _v = 0;
24879  } else {
24880  _v = 1;
24881  }
24882  }
24883  if (_v) {
24884  {
24885  void *ptr;
24886  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
24887  _v = 0;
24888  } else {
24889  _v = 1;
24890  }
24891  }
24892  if (_v) {
24893  return _wrap_TransformableChildObject_SetOrientation__SWIG_0(L);
24894  }
24895  }
24896  }
24897  if (argc == 5) {
24898  int _v;
24899  {
24900  void *ptr;
24901  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
24902  _v = 0;
24903  } else {
24904  _v = 1;
24905  }
24906  }
24907  if (_v) {
24908  {
24909  _v = lua_isnumber(L,argv[1]);
24910  }
24911  if (_v) {
24912  {
24913  _v = lua_isnumber(L,argv[2]);
24914  }
24915  if (_v) {
24916  {
24917  _v = lua_isnumber(L,argv[3]);
24918  }
24919  if (_v) {
24920  {
24921  _v = lua_isnumber(L,argv[4]);
24922  }
24923  if (_v) {
24924  return _wrap_TransformableChildObject_SetOrientation__SWIG_1(L);
24925  }
24926  }
24927  }
24928  }
24929  }
24930  }
24931 
24932  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_SetOrientation'\n"
24933  " Possible C/C++ prototypes are:\n"
24934  " Mezzanine::TransformableChildObject::SetOrientation(Mezzanine::Quaternion const &)\n"
24935  " Mezzanine::TransformableChildObject::SetOrientation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
24936  lua_error(L);return 0;
24937 }
24938 
24939 
24940 static int _wrap_TransformableChildObject_GetOrientation(lua_State* L) {
24941  int SWIG_arg = 0;
24943  Mezzanine::Quaternion result;
24944 
24945  SWIG_check_num_args("Mezzanine::TransformableChildObject::GetOrientation",1,1)
24946  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::GetOrientation",1,"Mezzanine::TransformableChildObject const *");
24947 
24948  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24949  SWIG_fail_ptr("TransformableChildObject_GetOrientation",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24950  }
24951 
24952  result = ((Mezzanine::TransformableChildObject const *)arg1)->GetOrientation();
24953  {
24954  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
24955  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
24956  }
24957  return SWIG_arg;
24958 
24959  if(0) SWIG_fail;
24960 
24961 fail:
24962  lua_error(L);
24963  return SWIG_arg;
24964 }
24965 
24966 
24967 static int _wrap_TransformableChildObject_SetScale__SWIG_0(lua_State* L) {
24968  int SWIG_arg = 0;
24970  Mezzanine::Vector3 *arg2 = 0 ;
24971 
24972  SWIG_check_num_args("Mezzanine::TransformableChildObject::SetScale",2,2)
24973  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetScale",1,"Mezzanine::TransformableChildObject *");
24974  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetScale",2,"Mezzanine::Vector3 const &");
24975 
24976  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
24977  SWIG_fail_ptr("TransformableChildObject_SetScale",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
24978  }
24979 
24980 
24981  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
24982  SWIG_fail_ptr("TransformableChildObject_SetScale",2,SWIGTYPE_p_Mezzanine__Vector3);
24983  }
24984 
24985  (arg1)->SetScale((Mezzanine::Vector3 const &)*arg2);
24986 
24987  return SWIG_arg;
24988 
24989  if(0) SWIG_fail;
24990 
24991 fail:
24992  lua_error(L);
24993  return SWIG_arg;
24994 }
24995 
24996 
24997 static int _wrap_TransformableChildObject_SetScale__SWIG_1(lua_State* L) {
24998  int SWIG_arg = 0;
25000  Mezzanine::Real arg2 ;
25001  Mezzanine::Real arg3 ;
25002  Mezzanine::Real arg4 ;
25003 
25004  SWIG_check_num_args("Mezzanine::TransformableChildObject::SetScale",4,4)
25005  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetScale",1,"Mezzanine::TransformableChildObject *");
25006  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetScale",2,"Mezzanine::Real const");
25007  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetScale",3,"Mezzanine::Real const");
25008  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::SetScale",4,"Mezzanine::Real const");
25009 
25010  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25011  SWIG_fail_ptr("TransformableChildObject_SetScale",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25012  }
25013 
25014  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25015  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
25016  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
25017  (arg1)->SetScale(arg2,arg3,arg4);
25018 
25019  return SWIG_arg;
25020 
25021  if(0) SWIG_fail;
25022 
25023 fail:
25024  lua_error(L);
25025  return SWIG_arg;
25026 }
25027 
25028 
25029 static int _wrap_TransformableChildObject_SetScale(lua_State* L) {
25030  int argc;
25031  int argv[5]={
25032  1,2,3,4,5
25033  };
25034 
25035  argc = lua_gettop(L);
25036  if (argc == 2) {
25037  int _v;
25038  {
25039  void *ptr;
25040  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25041  _v = 0;
25042  } else {
25043  _v = 1;
25044  }
25045  }
25046  if (_v) {
25047  {
25048  void *ptr;
25049  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
25050  _v = 0;
25051  } else {
25052  _v = 1;
25053  }
25054  }
25055  if (_v) {
25056  return _wrap_TransformableChildObject_SetScale__SWIG_0(L);
25057  }
25058  }
25059  }
25060  if (argc == 4) {
25061  int _v;
25062  {
25063  void *ptr;
25064  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25065  _v = 0;
25066  } else {
25067  _v = 1;
25068  }
25069  }
25070  if (_v) {
25071  {
25072  _v = lua_isnumber(L,argv[1]);
25073  }
25074  if (_v) {
25075  {
25076  _v = lua_isnumber(L,argv[2]);
25077  }
25078  if (_v) {
25079  {
25080  _v = lua_isnumber(L,argv[3]);
25081  }
25082  if (_v) {
25083  return _wrap_TransformableChildObject_SetScale__SWIG_1(L);
25084  }
25085  }
25086  }
25087  }
25088  }
25089 
25090  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_SetScale'\n"
25091  " Possible C/C++ prototypes are:\n"
25092  " Mezzanine::TransformableChildObject::SetScale(Mezzanine::Vector3 const &)\n"
25093  " Mezzanine::TransformableChildObject::SetScale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
25094  lua_error(L);return 0;
25095 }
25096 
25097 
25098 static int _wrap_TransformableChildObject_GetScale(lua_State* L) {
25099  int SWIG_arg = 0;
25101  Mezzanine::Vector3 result;
25102 
25103  SWIG_check_num_args("Mezzanine::TransformableChildObject::GetScale",1,1)
25104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::GetScale",1,"Mezzanine::TransformableChildObject const *");
25105 
25106  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25107  SWIG_fail_ptr("TransformableChildObject_GetScale",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25108  }
25109 
25110  result = ((Mezzanine::TransformableChildObject const *)arg1)->GetScale();
25111  {
25112  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
25113  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
25114  }
25115  return SWIG_arg;
25116 
25117  if(0) SWIG_fail;
25118 
25119 fail:
25120  lua_error(L);
25121  return SWIG_arg;
25122 }
25123 
25124 
25125 static int _wrap_TransformableChildObject_Translate__SWIG_0(lua_State* L) {
25126  int SWIG_arg = 0;
25128  Mezzanine::Vector3 *arg2 = 0 ;
25130 
25131  SWIG_check_num_args("Mezzanine::TransformableChildObject::Translate",3,3)
25132  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",1,"Mezzanine::TransformableChildObject *");
25133  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",2,"Mezzanine::Vector3 const &");
25134  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",3,"Mezzanine::TransformSpace const");
25135 
25136  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25137  SWIG_fail_ptr("TransformableChildObject_Translate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25138  }
25139 
25140 
25141  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
25142  SWIG_fail_ptr("TransformableChildObject_Translate",2,SWIGTYPE_p_Mezzanine__Vector3);
25143  }
25144 
25145  arg3 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 3);
25146  (arg1)->Translate((Mezzanine::Vector3 const &)*arg2,arg3);
25147 
25148  return SWIG_arg;
25149 
25150  if(0) SWIG_fail;
25151 
25152 fail:
25153  lua_error(L);
25154  return SWIG_arg;
25155 }
25156 
25157 
25158 static int _wrap_TransformableChildObject_Translate__SWIG_1(lua_State* L) {
25159  int SWIG_arg = 0;
25161  Mezzanine::Vector3 *arg2 = 0 ;
25162 
25163  SWIG_check_num_args("Mezzanine::TransformableChildObject::Translate",2,2)
25164  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",1,"Mezzanine::TransformableChildObject *");
25165  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",2,"Mezzanine::Vector3 const &");
25166 
25167  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25168  SWIG_fail_ptr("TransformableChildObject_Translate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25169  }
25170 
25171 
25172  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
25173  SWIG_fail_ptr("TransformableChildObject_Translate",2,SWIGTYPE_p_Mezzanine__Vector3);
25174  }
25175 
25176  (arg1)->Translate((Mezzanine::Vector3 const &)*arg2);
25177 
25178  return SWIG_arg;
25179 
25180  if(0) SWIG_fail;
25181 
25182 fail:
25183  lua_error(L);
25184  return SWIG_arg;
25185 }
25186 
25187 
25188 static int _wrap_TransformableChildObject_Translate__SWIG_2(lua_State* L) {
25189  int SWIG_arg = 0;
25191  Mezzanine::Real arg2 ;
25192  Mezzanine::Real arg3 ;
25193  Mezzanine::Real arg4 ;
25195 
25196  SWIG_check_num_args("Mezzanine::TransformableChildObject::Translate",5,5)
25197  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",1,"Mezzanine::TransformableChildObject *");
25198  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",2,"Mezzanine::Real const");
25199  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",3,"Mezzanine::Real const");
25200  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",4,"Mezzanine::Real const");
25201  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",5,"Mezzanine::TransformSpace const");
25202 
25203  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25204  SWIG_fail_ptr("TransformableChildObject_Translate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25205  }
25206 
25207  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25208  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
25209  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
25210  arg5 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 5);
25211  (arg1)->Translate(arg2,arg3,arg4,arg5);
25212 
25213  return SWIG_arg;
25214 
25215  if(0) SWIG_fail;
25216 
25217 fail:
25218  lua_error(L);
25219  return SWIG_arg;
25220 }
25221 
25222 
25223 static int _wrap_TransformableChildObject_Translate__SWIG_3(lua_State* L) {
25224  int SWIG_arg = 0;
25226  Mezzanine::Real arg2 ;
25227  Mezzanine::Real arg3 ;
25228  Mezzanine::Real arg4 ;
25229 
25230  SWIG_check_num_args("Mezzanine::TransformableChildObject::Translate",4,4)
25231  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",1,"Mezzanine::TransformableChildObject *");
25232  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",2,"Mezzanine::Real const");
25233  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",3,"Mezzanine::Real const");
25234  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Translate",4,"Mezzanine::Real const");
25235 
25236  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25237  SWIG_fail_ptr("TransformableChildObject_Translate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25238  }
25239 
25240  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25241  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
25242  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
25243  (arg1)->Translate(arg2,arg3,arg4);
25244 
25245  return SWIG_arg;
25246 
25247  if(0) SWIG_fail;
25248 
25249 fail:
25250  lua_error(L);
25251  return SWIG_arg;
25252 }
25253 
25254 
25255 static int _wrap_TransformableChildObject_Translate(lua_State* L) {
25256  int argc;
25257  int argv[6]={
25258  1,2,3,4,5,6
25259  };
25260 
25261  argc = lua_gettop(L);
25262  if (argc == 2) {
25263  int _v;
25264  {
25265  void *ptr;
25266  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25267  _v = 0;
25268  } else {
25269  _v = 1;
25270  }
25271  }
25272  if (_v) {
25273  {
25274  void *ptr;
25275  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
25276  _v = 0;
25277  } else {
25278  _v = 1;
25279  }
25280  }
25281  if (_v) {
25282  return _wrap_TransformableChildObject_Translate__SWIG_1(L);
25283  }
25284  }
25285  }
25286  if (argc == 3) {
25287  int _v;
25288  {
25289  void *ptr;
25290  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25291  _v = 0;
25292  } else {
25293  _v = 1;
25294  }
25295  }
25296  if (_v) {
25297  {
25298  void *ptr;
25299  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
25300  _v = 0;
25301  } else {
25302  _v = 1;
25303  }
25304  }
25305  if (_v) {
25306  {
25307  _v = lua_isnumber(L,argv[2]);
25308  }
25309  if (_v) {
25310  return _wrap_TransformableChildObject_Translate__SWIG_0(L);
25311  }
25312  }
25313  }
25314  }
25315  if (argc == 4) {
25316  int _v;
25317  {
25318  void *ptr;
25319  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25320  _v = 0;
25321  } else {
25322  _v = 1;
25323  }
25324  }
25325  if (_v) {
25326  {
25327  _v = lua_isnumber(L,argv[1]);
25328  }
25329  if (_v) {
25330  {
25331  _v = lua_isnumber(L,argv[2]);
25332  }
25333  if (_v) {
25334  {
25335  _v = lua_isnumber(L,argv[3]);
25336  }
25337  if (_v) {
25338  return _wrap_TransformableChildObject_Translate__SWIG_3(L);
25339  }
25340  }
25341  }
25342  }
25343  }
25344  if (argc == 5) {
25345  int _v;
25346  {
25347  void *ptr;
25348  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25349  _v = 0;
25350  } else {
25351  _v = 1;
25352  }
25353  }
25354  if (_v) {
25355  {
25356  _v = lua_isnumber(L,argv[1]);
25357  }
25358  if (_v) {
25359  {
25360  _v = lua_isnumber(L,argv[2]);
25361  }
25362  if (_v) {
25363  {
25364  _v = lua_isnumber(L,argv[3]);
25365  }
25366  if (_v) {
25367  {
25368  _v = lua_isnumber(L,argv[4]);
25369  }
25370  if (_v) {
25371  return _wrap_TransformableChildObject_Translate__SWIG_2(L);
25372  }
25373  }
25374  }
25375  }
25376  }
25377  }
25378 
25379  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_Translate'\n"
25380  " Possible C/C++ prototypes are:\n"
25381  " Mezzanine::TransformableChildObject::Translate(Mezzanine::Vector3 const &,Mezzanine::TransformSpace const)\n"
25382  " Mezzanine::TransformableChildObject::Translate(Mezzanine::Vector3 const &)\n"
25383  " Mezzanine::TransformableChildObject::Translate(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const,Mezzanine::TransformSpace const)\n"
25384  " Mezzanine::TransformableChildObject::Translate(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
25385  lua_error(L);return 0;
25386 }
25387 
25388 
25389 static int _wrap_TransformableChildObject_Yaw__SWIG_0(lua_State* L) {
25390  int SWIG_arg = 0;
25392  Mezzanine::Real arg2 ;
25394 
25395  SWIG_check_num_args("Mezzanine::TransformableChildObject::Yaw",3,3)
25396  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Yaw",1,"Mezzanine::TransformableChildObject *");
25397  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Yaw",2,"Mezzanine::Real const");
25398  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Yaw",3,"Mezzanine::TransformSpace const");
25399 
25400  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25401  SWIG_fail_ptr("TransformableChildObject_Yaw",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25402  }
25403 
25404  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25405  arg3 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 3);
25406  (arg1)->Yaw(arg2,arg3);
25407 
25408  return SWIG_arg;
25409 
25410  if(0) SWIG_fail;
25411 
25412 fail:
25413  lua_error(L);
25414  return SWIG_arg;
25415 }
25416 
25417 
25418 static int _wrap_TransformableChildObject_Yaw__SWIG_1(lua_State* L) {
25419  int SWIG_arg = 0;
25421  Mezzanine::Real arg2 ;
25422 
25423  SWIG_check_num_args("Mezzanine::TransformableChildObject::Yaw",2,2)
25424  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Yaw",1,"Mezzanine::TransformableChildObject *");
25425  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Yaw",2,"Mezzanine::Real const");
25426 
25427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25428  SWIG_fail_ptr("TransformableChildObject_Yaw",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25429  }
25430 
25431  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25432  (arg1)->Yaw(arg2);
25433 
25434  return SWIG_arg;
25435 
25436  if(0) SWIG_fail;
25437 
25438 fail:
25439  lua_error(L);
25440  return SWIG_arg;
25441 }
25442 
25443 
25444 static int _wrap_TransformableChildObject_Yaw(lua_State* L) {
25445  int argc;
25446  int argv[4]={
25447  1,2,3,4
25448  };
25449 
25450  argc = lua_gettop(L);
25451  if (argc == 2) {
25452  int _v;
25453  {
25454  void *ptr;
25455  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25456  _v = 0;
25457  } else {
25458  _v = 1;
25459  }
25460  }
25461  if (_v) {
25462  {
25463  _v = lua_isnumber(L,argv[1]);
25464  }
25465  if (_v) {
25466  return _wrap_TransformableChildObject_Yaw__SWIG_1(L);
25467  }
25468  }
25469  }
25470  if (argc == 3) {
25471  int _v;
25472  {
25473  void *ptr;
25474  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25475  _v = 0;
25476  } else {
25477  _v = 1;
25478  }
25479  }
25480  if (_v) {
25481  {
25482  _v = lua_isnumber(L,argv[1]);
25483  }
25484  if (_v) {
25485  {
25486  _v = lua_isnumber(L,argv[2]);
25487  }
25488  if (_v) {
25489  return _wrap_TransformableChildObject_Yaw__SWIG_0(L);
25490  }
25491  }
25492  }
25493  }
25494 
25495  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_Yaw'\n"
25496  " Possible C/C++ prototypes are:\n"
25497  " Mezzanine::TransformableChildObject::Yaw(Mezzanine::Real const,Mezzanine::TransformSpace const)\n"
25498  " Mezzanine::TransformableChildObject::Yaw(Mezzanine::Real const)\n");
25499  lua_error(L);return 0;
25500 }
25501 
25502 
25503 static int _wrap_TransformableChildObject_Pitch__SWIG_0(lua_State* L) {
25504  int SWIG_arg = 0;
25506  Mezzanine::Real arg2 ;
25508 
25509  SWIG_check_num_args("Mezzanine::TransformableChildObject::Pitch",3,3)
25510  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Pitch",1,"Mezzanine::TransformableChildObject *");
25511  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Pitch",2,"Mezzanine::Real const");
25512  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Pitch",3,"Mezzanine::TransformSpace const");
25513 
25514  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25515  SWIG_fail_ptr("TransformableChildObject_Pitch",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25516  }
25517 
25518  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25519  arg3 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 3);
25520  (arg1)->Pitch(arg2,arg3);
25521 
25522  return SWIG_arg;
25523 
25524  if(0) SWIG_fail;
25525 
25526 fail:
25527  lua_error(L);
25528  return SWIG_arg;
25529 }
25530 
25531 
25532 static int _wrap_TransformableChildObject_Pitch__SWIG_1(lua_State* L) {
25533  int SWIG_arg = 0;
25535  Mezzanine::Real arg2 ;
25536 
25537  SWIG_check_num_args("Mezzanine::TransformableChildObject::Pitch",2,2)
25538  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Pitch",1,"Mezzanine::TransformableChildObject *");
25539  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Pitch",2,"Mezzanine::Real const");
25540 
25541  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25542  SWIG_fail_ptr("TransformableChildObject_Pitch",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25543  }
25544 
25545  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25546  (arg1)->Pitch(arg2);
25547 
25548  return SWIG_arg;
25549 
25550  if(0) SWIG_fail;
25551 
25552 fail:
25553  lua_error(L);
25554  return SWIG_arg;
25555 }
25556 
25557 
25558 static int _wrap_TransformableChildObject_Pitch(lua_State* L) {
25559  int argc;
25560  int argv[4]={
25561  1,2,3,4
25562  };
25563 
25564  argc = lua_gettop(L);
25565  if (argc == 2) {
25566  int _v;
25567  {
25568  void *ptr;
25569  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25570  _v = 0;
25571  } else {
25572  _v = 1;
25573  }
25574  }
25575  if (_v) {
25576  {
25577  _v = lua_isnumber(L,argv[1]);
25578  }
25579  if (_v) {
25580  return _wrap_TransformableChildObject_Pitch__SWIG_1(L);
25581  }
25582  }
25583  }
25584  if (argc == 3) {
25585  int _v;
25586  {
25587  void *ptr;
25588  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25589  _v = 0;
25590  } else {
25591  _v = 1;
25592  }
25593  }
25594  if (_v) {
25595  {
25596  _v = lua_isnumber(L,argv[1]);
25597  }
25598  if (_v) {
25599  {
25600  _v = lua_isnumber(L,argv[2]);
25601  }
25602  if (_v) {
25603  return _wrap_TransformableChildObject_Pitch__SWIG_0(L);
25604  }
25605  }
25606  }
25607  }
25608 
25609  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_Pitch'\n"
25610  " Possible C/C++ prototypes are:\n"
25611  " Mezzanine::TransformableChildObject::Pitch(Mezzanine::Real const,Mezzanine::TransformSpace const)\n"
25612  " Mezzanine::TransformableChildObject::Pitch(Mezzanine::Real const)\n");
25613  lua_error(L);return 0;
25614 }
25615 
25616 
25617 static int _wrap_TransformableChildObject_Roll__SWIG_0(lua_State* L) {
25618  int SWIG_arg = 0;
25620  Mezzanine::Real arg2 ;
25622 
25623  SWIG_check_num_args("Mezzanine::TransformableChildObject::Roll",3,3)
25624  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Roll",1,"Mezzanine::TransformableChildObject *");
25625  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Roll",2,"Mezzanine::Real const");
25626  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Roll",3,"Mezzanine::TransformSpace const");
25627 
25628  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25629  SWIG_fail_ptr("TransformableChildObject_Roll",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25630  }
25631 
25632  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25633  arg3 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 3);
25634  (arg1)->Roll(arg2,arg3);
25635 
25636  return SWIG_arg;
25637 
25638  if(0) SWIG_fail;
25639 
25640 fail:
25641  lua_error(L);
25642  return SWIG_arg;
25643 }
25644 
25645 
25646 static int _wrap_TransformableChildObject_Roll__SWIG_1(lua_State* L) {
25647  int SWIG_arg = 0;
25649  Mezzanine::Real arg2 ;
25650 
25651  SWIG_check_num_args("Mezzanine::TransformableChildObject::Roll",2,2)
25652  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Roll",1,"Mezzanine::TransformableChildObject *");
25653  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Roll",2,"Mezzanine::Real const");
25654 
25655  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25656  SWIG_fail_ptr("TransformableChildObject_Roll",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25657  }
25658 
25659  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
25660  (arg1)->Roll(arg2);
25661 
25662  return SWIG_arg;
25663 
25664  if(0) SWIG_fail;
25665 
25666 fail:
25667  lua_error(L);
25668  return SWIG_arg;
25669 }
25670 
25671 
25672 static int _wrap_TransformableChildObject_Roll(lua_State* L) {
25673  int argc;
25674  int argv[4]={
25675  1,2,3,4
25676  };
25677 
25678  argc = lua_gettop(L);
25679  if (argc == 2) {
25680  int _v;
25681  {
25682  void *ptr;
25683  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25684  _v = 0;
25685  } else {
25686  _v = 1;
25687  }
25688  }
25689  if (_v) {
25690  {
25691  _v = lua_isnumber(L,argv[1]);
25692  }
25693  if (_v) {
25694  return _wrap_TransformableChildObject_Roll__SWIG_1(L);
25695  }
25696  }
25697  }
25698  if (argc == 3) {
25699  int _v;
25700  {
25701  void *ptr;
25702  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25703  _v = 0;
25704  } else {
25705  _v = 1;
25706  }
25707  }
25708  if (_v) {
25709  {
25710  _v = lua_isnumber(L,argv[1]);
25711  }
25712  if (_v) {
25713  {
25714  _v = lua_isnumber(L,argv[2]);
25715  }
25716  if (_v) {
25717  return _wrap_TransformableChildObject_Roll__SWIG_0(L);
25718  }
25719  }
25720  }
25721  }
25722 
25723  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_Roll'\n"
25724  " Possible C/C++ prototypes are:\n"
25725  " Mezzanine::TransformableChildObject::Roll(Mezzanine::Real const,Mezzanine::TransformSpace const)\n"
25726  " Mezzanine::TransformableChildObject::Roll(Mezzanine::Real const)\n");
25727  lua_error(L);return 0;
25728 }
25729 
25730 
25731 static int _wrap_TransformableChildObject_Rotate__SWIG_0(lua_State* L) {
25732  int SWIG_arg = 0;
25734  Mezzanine::Vector3 *arg2 = 0 ;
25735  Mezzanine::Real arg3 ;
25737 
25738  SWIG_check_num_args("Mezzanine::TransformableChildObject::Rotate",4,4)
25739  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",1,"Mezzanine::TransformableChildObject *");
25740  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",2,"Mezzanine::Vector3 const &");
25741  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",3,"Mezzanine::Real const");
25742  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",4,"Mezzanine::TransformSpace const");
25743 
25744  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25745  SWIG_fail_ptr("TransformableChildObject_Rotate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25746  }
25747 
25748 
25749  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
25750  SWIG_fail_ptr("TransformableChildObject_Rotate",2,SWIGTYPE_p_Mezzanine__Vector3);
25751  }
25752 
25753  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
25754  arg4 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 4);
25755  (arg1)->Rotate((Mezzanine::Vector3 const &)*arg2,arg3,arg4);
25756 
25757  return SWIG_arg;
25758 
25759  if(0) SWIG_fail;
25760 
25761 fail:
25762  lua_error(L);
25763  return SWIG_arg;
25764 }
25765 
25766 
25767 static int _wrap_TransformableChildObject_Rotate__SWIG_1(lua_State* L) {
25768  int SWIG_arg = 0;
25770  Mezzanine::Vector3 *arg2 = 0 ;
25771  Mezzanine::Real arg3 ;
25772 
25773  SWIG_check_num_args("Mezzanine::TransformableChildObject::Rotate",3,3)
25774  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",1,"Mezzanine::TransformableChildObject *");
25775  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",2,"Mezzanine::Vector3 const &");
25776  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",3,"Mezzanine::Real const");
25777 
25778  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25779  SWIG_fail_ptr("TransformableChildObject_Rotate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25780  }
25781 
25782 
25783  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
25784  SWIG_fail_ptr("TransformableChildObject_Rotate",2,SWIGTYPE_p_Mezzanine__Vector3);
25785  }
25786 
25787  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
25788  (arg1)->Rotate((Mezzanine::Vector3 const &)*arg2,arg3);
25789 
25790  return SWIG_arg;
25791 
25792  if(0) SWIG_fail;
25793 
25794 fail:
25795  lua_error(L);
25796  return SWIG_arg;
25797 }
25798 
25799 
25800 static int _wrap_TransformableChildObject_Rotate__SWIG_2(lua_State* L) {
25801  int SWIG_arg = 0;
25803  Mezzanine::Quaternion *arg2 = 0 ;
25805 
25806  SWIG_check_num_args("Mezzanine::TransformableChildObject::Rotate",3,3)
25807  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",1,"Mezzanine::TransformableChildObject *");
25808  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",2,"Mezzanine::Quaternion const &");
25809  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",3,"Mezzanine::TransformSpace const");
25810 
25811  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25812  SWIG_fail_ptr("TransformableChildObject_Rotate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25813  }
25814 
25815 
25816  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
25817  SWIG_fail_ptr("TransformableChildObject_Rotate",2,SWIGTYPE_p_Mezzanine__Quaternion);
25818  }
25819 
25820  arg3 = (Mezzanine::TransformSpace const)(int)lua_tonumber(L, 3);
25821  (arg1)->Rotate((Mezzanine::Quaternion const &)*arg2,arg3);
25822 
25823  return SWIG_arg;
25824 
25825  if(0) SWIG_fail;
25826 
25827 fail:
25828  lua_error(L);
25829  return SWIG_arg;
25830 }
25831 
25832 
25833 static int _wrap_TransformableChildObject_Rotate__SWIG_3(lua_State* L) {
25834  int SWIG_arg = 0;
25836  Mezzanine::Quaternion *arg2 = 0 ;
25837 
25838  SWIG_check_num_args("Mezzanine::TransformableChildObject::Rotate",2,2)
25839  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",1,"Mezzanine::TransformableChildObject *");
25840  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Rotate",2,"Mezzanine::Quaternion const &");
25841 
25842  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
25843  SWIG_fail_ptr("TransformableChildObject_Rotate",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
25844  }
25845 
25846 
25847  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
25848  SWIG_fail_ptr("TransformableChildObject_Rotate",2,SWIGTYPE_p_Mezzanine__Quaternion);
25849  }
25850 
25851  (arg1)->Rotate((Mezzanine::Quaternion const &)*arg2);
25852 
25853  return SWIG_arg;
25854 
25855  if(0) SWIG_fail;
25856 
25857 fail:
25858  lua_error(L);
25859  return SWIG_arg;
25860 }
25861 
25862 
25863 static int _wrap_TransformableChildObject_Rotate(lua_State* L) {
25864  int argc;
25865  int argv[5]={
25866  1,2,3,4,5
25867  };
25868 
25869  argc = lua_gettop(L);
25870  if (argc == 2) {
25871  int _v;
25872  {
25873  void *ptr;
25874  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25875  _v = 0;
25876  } else {
25877  _v = 1;
25878  }
25879  }
25880  if (_v) {
25881  {
25882  void *ptr;
25883  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
25884  _v = 0;
25885  } else {
25886  _v = 1;
25887  }
25888  }
25889  if (_v) {
25890  return _wrap_TransformableChildObject_Rotate__SWIG_3(L);
25891  }
25892  }
25893  }
25894  if (argc == 3) {
25895  int _v;
25896  {
25897  void *ptr;
25898  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25899  _v = 0;
25900  } else {
25901  _v = 1;
25902  }
25903  }
25904  if (_v) {
25905  {
25906  void *ptr;
25907  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
25908  _v = 0;
25909  } else {
25910  _v = 1;
25911  }
25912  }
25913  if (_v) {
25914  {
25915  _v = lua_isnumber(L,argv[2]);
25916  }
25917  if (_v) {
25918  return _wrap_TransformableChildObject_Rotate__SWIG_2(L);
25919  }
25920  }
25921  }
25922  }
25923  if (argc == 3) {
25924  int _v;
25925  {
25926  void *ptr;
25927  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25928  _v = 0;
25929  } else {
25930  _v = 1;
25931  }
25932  }
25933  if (_v) {
25934  {
25935  void *ptr;
25936  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
25937  _v = 0;
25938  } else {
25939  _v = 1;
25940  }
25941  }
25942  if (_v) {
25943  {
25944  _v = lua_isnumber(L,argv[2]);
25945  }
25946  if (_v) {
25947  return _wrap_TransformableChildObject_Rotate__SWIG_1(L);
25948  }
25949  }
25950  }
25951  }
25952  if (argc == 4) {
25953  int _v;
25954  {
25955  void *ptr;
25956  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
25957  _v = 0;
25958  } else {
25959  _v = 1;
25960  }
25961  }
25962  if (_v) {
25963  {
25964  void *ptr;
25965  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
25966  _v = 0;
25967  } else {
25968  _v = 1;
25969  }
25970  }
25971  if (_v) {
25972  {
25973  _v = lua_isnumber(L,argv[2]);
25974  }
25975  if (_v) {
25976  {
25977  _v = lua_isnumber(L,argv[3]);
25978  }
25979  if (_v) {
25980  return _wrap_TransformableChildObject_Rotate__SWIG_0(L);
25981  }
25982  }
25983  }
25984  }
25985  }
25986 
25987  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_Rotate'\n"
25988  " Possible C/C++ prototypes are:\n"
25989  " Mezzanine::TransformableChildObject::Rotate(Mezzanine::Vector3 const &,Mezzanine::Real const,Mezzanine::TransformSpace const)\n"
25990  " Mezzanine::TransformableChildObject::Rotate(Mezzanine::Vector3 const &,Mezzanine::Real const)\n"
25991  " Mezzanine::TransformableChildObject::Rotate(Mezzanine::Quaternion const &,Mezzanine::TransformSpace const)\n"
25992  " Mezzanine::TransformableChildObject::Rotate(Mezzanine::Quaternion const &)\n");
25993  lua_error(L);return 0;
25994 }
25995 
25996 
25997 static int _wrap_TransformableChildObject_Scale__SWIG_0(lua_State* L) {
25998  int SWIG_arg = 0;
26000  Mezzanine::Vector3 *arg2 = 0 ;
26001 
26002  SWIG_check_num_args("Mezzanine::TransformableChildObject::Scale",2,2)
26003  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Scale",1,"Mezzanine::TransformableChildObject *");
26004  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Scale",2,"Mezzanine::Vector3 const &");
26005 
26006  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
26007  SWIG_fail_ptr("TransformableChildObject_Scale",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
26008  }
26009 
26010 
26011  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
26012  SWIG_fail_ptr("TransformableChildObject_Scale",2,SWIGTYPE_p_Mezzanine__Vector3);
26013  }
26014 
26015  (arg1)->Scale((Mezzanine::Vector3 const &)*arg2);
26016 
26017  return SWIG_arg;
26018 
26019  if(0) SWIG_fail;
26020 
26021 fail:
26022  lua_error(L);
26023  return SWIG_arg;
26024 }
26025 
26026 
26027 static int _wrap_TransformableChildObject_Scale__SWIG_1(lua_State* L) {
26028  int SWIG_arg = 0;
26030  Mezzanine::Real arg2 ;
26031  Mezzanine::Real arg3 ;
26032  Mezzanine::Real arg4 ;
26033 
26034  SWIG_check_num_args("Mezzanine::TransformableChildObject::Scale",4,4)
26035  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Scale",1,"Mezzanine::TransformableChildObject *");
26036  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Scale",2,"Mezzanine::Real const");
26037  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Scale",3,"Mezzanine::Real const");
26038  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::TransformableChildObject::Scale",4,"Mezzanine::Real const");
26039 
26040  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__TransformableChildObject,0))){
26041  SWIG_fail_ptr("TransformableChildObject_Scale",1,SWIGTYPE_p_Mezzanine__TransformableChildObject);
26042  }
26043 
26044  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26045  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
26046  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
26047  (arg1)->Scale(arg2,arg3,arg4);
26048 
26049  return SWIG_arg;
26050 
26051  if(0) SWIG_fail;
26052 
26053 fail:
26054  lua_error(L);
26055  return SWIG_arg;
26056 }
26057 
26058 
26059 static int _wrap_TransformableChildObject_Scale(lua_State* L) {
26060  int argc;
26061  int argv[5]={
26062  1,2,3,4,5
26063  };
26064 
26065  argc = lua_gettop(L);
26066  if (argc == 2) {
26067  int _v;
26068  {
26069  void *ptr;
26070  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
26071  _v = 0;
26072  } else {
26073  _v = 1;
26074  }
26075  }
26076  if (_v) {
26077  {
26078  void *ptr;
26079  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
26080  _v = 0;
26081  } else {
26082  _v = 1;
26083  }
26084  }
26085  if (_v) {
26086  return _wrap_TransformableChildObject_Scale__SWIG_0(L);
26087  }
26088  }
26089  }
26090  if (argc == 4) {
26091  int _v;
26092  {
26093  void *ptr;
26094  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__TransformableChildObject, 0)) {
26095  _v = 0;
26096  } else {
26097  _v = 1;
26098  }
26099  }
26100  if (_v) {
26101  {
26102  _v = lua_isnumber(L,argv[1]);
26103  }
26104  if (_v) {
26105  {
26106  _v = lua_isnumber(L,argv[2]);
26107  }
26108  if (_v) {
26109  {
26110  _v = lua_isnumber(L,argv[3]);
26111  }
26112  if (_v) {
26113  return _wrap_TransformableChildObject_Scale__SWIG_1(L);
26114  }
26115  }
26116  }
26117  }
26118  }
26119 
26120  lua_pushstring(L,"Wrong arguments for overloaded function 'TransformableChildObject_Scale'\n"
26121  " Possible C/C++ prototypes are:\n"
26122  " Mezzanine::TransformableChildObject::Scale(Mezzanine::Vector3 const &)\n"
26123  " Mezzanine::TransformableChildObject::Scale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
26124  lua_error(L);return 0;
26125 }
26126 
26127 
26128 static void swig_delete_TransformableChildObject(void *obj) {
26130 delete arg1;
26131 }
26132 static swig_lua_method swig_Mezzanine_TransformableChildObject_methods[] = {
26133  {"SetLocation", _wrap_TransformableChildObject_SetLocation},
26134  {"GetLocation", _wrap_TransformableChildObject_GetLocation},
26135  {"SetOrientation", _wrap_TransformableChildObject_SetOrientation},
26136  {"GetOrientation", _wrap_TransformableChildObject_GetOrientation},
26137  {"SetScale", _wrap_TransformableChildObject_SetScale},
26138  {"GetScale", _wrap_TransformableChildObject_GetScale},
26139  {"Translate", _wrap_TransformableChildObject_Translate},
26140  {"Yaw", _wrap_TransformableChildObject_Yaw},
26141  {"Pitch", _wrap_TransformableChildObject_Pitch},
26142  {"Roll", _wrap_TransformableChildObject_Roll},
26143  {"Rotate", _wrap_TransformableChildObject_Rotate},
26144  {"Scale", _wrap_TransformableChildObject_Scale},
26145  {0,0}
26146 };
26147 static swig_lua_attribute swig_Mezzanine_TransformableChildObject_attributes[] = {
26148  {0,0,0}
26149 };
26150 static swig_lua_class *swig_Mezzanine_TransformableChildObject_bases[] = {0};
26151 static const char *swig_Mezzanine_TransformableChildObject_base_names[] = {0};
26152 static swig_lua_class _wrap_class_Mezzanine_TransformableChildObject = { "TransformableChildObject", &SWIGTYPE_p_Mezzanine__TransformableChildObject,0, swig_delete_TransformableChildObject, swig_Mezzanine_TransformableChildObject_methods, swig_Mezzanine_TransformableChildObject_attributes, swig_Mezzanine_TransformableChildObject_bases, swig_Mezzanine_TransformableChildObject_base_names };
26153 
26154 static int _wrap_WorldProxy_GetProxyType(lua_State* L) {
26155  int SWIG_arg = 0;
26157  Mezzanine::ProxyType result;
26158 
26159  SWIG_check_num_args("Mezzanine::WorldProxy::GetProxyType",1,1)
26160  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetProxyType",1,"Mezzanine::WorldProxy const *");
26161 
26162  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26163  SWIG_fail_ptr("WorldProxy_GetProxyType",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26164  }
26165 
26166  result = (Mezzanine::ProxyType)((Mezzanine::WorldProxy const *)arg1)->GetProxyType();
26167  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
26168  return SWIG_arg;
26169 
26170  if(0) SWIG_fail;
26171 
26172 fail:
26173  lua_error(L);
26174  return SWIG_arg;
26175 }
26176 
26177 
26178 static int _wrap_WorldProxy_AddToWorld(lua_State* L) {
26179  int SWIG_arg = 0;
26181 
26182  SWIG_check_num_args("Mezzanine::WorldProxy::AddToWorld",1,1)
26183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::AddToWorld",1,"Mezzanine::WorldProxy *");
26184 
26185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26186  SWIG_fail_ptr("WorldProxy_AddToWorld",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26187  }
26188 
26189  (arg1)->AddToWorld();
26190 
26191  return SWIG_arg;
26192 
26193  if(0) SWIG_fail;
26194 
26195 fail:
26196  lua_error(L);
26197  return SWIG_arg;
26198 }
26199 
26200 
26201 static int _wrap_WorldProxy_RemoveFromWorld(lua_State* L) {
26202  int SWIG_arg = 0;
26204 
26205  SWIG_check_num_args("Mezzanine::WorldProxy::RemoveFromWorld",1,1)
26206  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::RemoveFromWorld",1,"Mezzanine::WorldProxy *");
26207 
26208  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26209  SWIG_fail_ptr("WorldProxy_RemoveFromWorld",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26210  }
26211 
26212  (arg1)->RemoveFromWorld();
26213 
26214  return SWIG_arg;
26215 
26216  if(0) SWIG_fail;
26217 
26218 fail:
26219  lua_error(L);
26220  return SWIG_arg;
26221 }
26222 
26223 
26224 static int _wrap_WorldProxy_IsInWorld(lua_State* L) {
26225  int SWIG_arg = 0;
26227  Mezzanine::Boole result;
26228 
26229  SWIG_check_num_args("Mezzanine::WorldProxy::IsInWorld",1,1)
26230  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::IsInWorld",1,"Mezzanine::WorldProxy const *");
26231 
26232  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26233  SWIG_fail_ptr("WorldProxy_IsInWorld",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26234  }
26235 
26236  result = (Mezzanine::Boole)((Mezzanine::WorldProxy const *)arg1)->IsInWorld();
26237  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
26238  return SWIG_arg;
26239 
26240  if(0) SWIG_fail;
26241 
26242 fail:
26243  lua_error(L);
26244  return SWIG_arg;
26245 }
26246 
26247 
26248 static int _wrap_WorldProxy_GetParentObject(lua_State* L) {
26249  int SWIG_arg = 0;
26251  Mezzanine::WorldObject *result = 0 ;
26252 
26253  SWIG_check_num_args("Mezzanine::WorldProxy::GetParentObject",1,1)
26254  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetParentObject",1,"Mezzanine::WorldProxy const *");
26255 
26256  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26257  SWIG_fail_ptr("WorldProxy_GetParentObject",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26258  }
26259 
26260  result = (Mezzanine::WorldObject *)((Mezzanine::WorldProxy const *)arg1)->GetParentObject();
26261  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldObject,0); SWIG_arg++;
26262  return SWIG_arg;
26263 
26264  if(0) SWIG_fail;
26265 
26266 fail:
26267  lua_error(L);
26268  return SWIG_arg;
26269 }
26270 
26271 
26272 static int _wrap_WorldProxy_GetCreator(lua_State* L) {
26273  int SWIG_arg = 0;
26275  Mezzanine::WorldManager *result = 0 ;
26276 
26277  SWIG_check_num_args("Mezzanine::WorldProxy::GetCreator",1,1)
26278  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetCreator",1,"Mezzanine::WorldProxy const *");
26279 
26280  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26281  SWIG_fail_ptr("WorldProxy_GetCreator",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26282  }
26283 
26284  result = (Mezzanine::WorldManager *)((Mezzanine::WorldProxy const *)arg1)->GetCreator();
26285  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldManager,0); SWIG_arg++;
26286  return SWIG_arg;
26287 
26288  if(0) SWIG_fail;
26289 
26290 fail:
26291  lua_error(L);
26292  return SWIG_arg;
26293 }
26294 
26295 
26296 static int _wrap_WorldProxy_SetLocation__SWIG_0(lua_State* L) {
26297  int SWIG_arg = 0;
26299  Mezzanine::Vector3 *arg2 = 0 ;
26300 
26301  SWIG_check_num_args("Mezzanine::WorldProxy::SetLocation",2,2)
26302  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::SetLocation",1,"Mezzanine::WorldProxy *");
26303  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::SetLocation",2,"Mezzanine::Vector3 const &");
26304 
26305  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26306  SWIG_fail_ptr("WorldProxy_SetLocation",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26307  }
26308 
26309 
26310  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
26311  SWIG_fail_ptr("WorldProxy_SetLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
26312  }
26313 
26314  (arg1)->SetLocation((Mezzanine::Vector3 const &)*arg2);
26315 
26316  return SWIG_arg;
26317 
26318  if(0) SWIG_fail;
26319 
26320 fail:
26321  lua_error(L);
26322  return SWIG_arg;
26323 }
26324 
26325 
26326 static int _wrap_WorldProxy_SetLocation__SWIG_1(lua_State* L) {
26327  int SWIG_arg = 0;
26329  Mezzanine::Real arg2 ;
26330  Mezzanine::Real arg3 ;
26331  Mezzanine::Real arg4 ;
26332 
26333  SWIG_check_num_args("Mezzanine::WorldProxy::SetLocation",4,4)
26334  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::SetLocation",1,"Mezzanine::WorldProxy *");
26335  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::SetLocation",2,"Mezzanine::Real const");
26336  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::WorldProxy::SetLocation",3,"Mezzanine::Real const");
26337  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::WorldProxy::SetLocation",4,"Mezzanine::Real const");
26338 
26339  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26340  SWIG_fail_ptr("WorldProxy_SetLocation",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26341  }
26342 
26343  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26344  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
26345  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
26346  (arg1)->SetLocation(arg2,arg3,arg4);
26347 
26348  return SWIG_arg;
26349 
26350  if(0) SWIG_fail;
26351 
26352 fail:
26353  lua_error(L);
26354  return SWIG_arg;
26355 }
26356 
26357 
26358 static int _wrap_WorldProxy_SetLocation(lua_State* L) {
26359  int argc;
26360  int argv[5]={
26361  1,2,3,4,5
26362  };
26363 
26364  argc = lua_gettop(L);
26365  if (argc == 2) {
26366  int _v;
26367  {
26368  void *ptr;
26369  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26370  _v = 0;
26371  } else {
26372  _v = 1;
26373  }
26374  }
26375  if (_v) {
26376  {
26377  void *ptr;
26378  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
26379  _v = 0;
26380  } else {
26381  _v = 1;
26382  }
26383  }
26384  if (_v) {
26385  return _wrap_WorldProxy_SetLocation__SWIG_0(L);
26386  }
26387  }
26388  }
26389  if (argc == 4) {
26390  int _v;
26391  {
26392  void *ptr;
26393  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26394  _v = 0;
26395  } else {
26396  _v = 1;
26397  }
26398  }
26399  if (_v) {
26400  {
26401  _v = lua_isnumber(L,argv[1]);
26402  }
26403  if (_v) {
26404  {
26405  _v = lua_isnumber(L,argv[2]);
26406  }
26407  if (_v) {
26408  {
26409  _v = lua_isnumber(L,argv[3]);
26410  }
26411  if (_v) {
26412  return _wrap_WorldProxy_SetLocation__SWIG_1(L);
26413  }
26414  }
26415  }
26416  }
26417  }
26418 
26419  lua_pushstring(L,"Wrong arguments for overloaded function 'WorldProxy_SetLocation'\n"
26420  " Possible C/C++ prototypes are:\n"
26421  " Mezzanine::WorldProxy::SetLocation(Mezzanine::Vector3 const &)\n"
26422  " Mezzanine::WorldProxy::SetLocation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
26423  lua_error(L);return 0;
26424 }
26425 
26426 
26427 static int _wrap_WorldProxy_GetLocation(lua_State* L) {
26428  int SWIG_arg = 0;
26430  Mezzanine::Vector3 result;
26431 
26432  SWIG_check_num_args("Mezzanine::WorldProxy::GetLocation",1,1)
26433  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetLocation",1,"Mezzanine::WorldProxy const *");
26434 
26435  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26436  SWIG_fail_ptr("WorldProxy_GetLocation",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26437  }
26438 
26439  result = ((Mezzanine::WorldProxy const *)arg1)->GetLocation();
26440  {
26441  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
26442  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
26443  }
26444  return SWIG_arg;
26445 
26446  if(0) SWIG_fail;
26447 
26448 fail:
26449  lua_error(L);
26450  return SWIG_arg;
26451 }
26452 
26453 
26454 static int _wrap_WorldProxy_SetOrientation__SWIG_0(lua_State* L) {
26455  int SWIG_arg = 0;
26457  Mezzanine::Quaternion *arg2 = 0 ;
26458 
26459  SWIG_check_num_args("Mezzanine::WorldProxy::SetOrientation",2,2)
26460  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",1,"Mezzanine::WorldProxy *");
26461  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",2,"Mezzanine::Quaternion const &");
26462 
26463  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26464  SWIG_fail_ptr("WorldProxy_SetOrientation",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26465  }
26466 
26467 
26468  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
26469  SWIG_fail_ptr("WorldProxy_SetOrientation",2,SWIGTYPE_p_Mezzanine__Quaternion);
26470  }
26471 
26472  (arg1)->SetOrientation((Mezzanine::Quaternion const &)*arg2);
26473 
26474  return SWIG_arg;
26475 
26476  if(0) SWIG_fail;
26477 
26478 fail:
26479  lua_error(L);
26480  return SWIG_arg;
26481 }
26482 
26483 
26484 static int _wrap_WorldProxy_SetOrientation__SWIG_1(lua_State* L) {
26485  int SWIG_arg = 0;
26487  Mezzanine::Real arg2 ;
26488  Mezzanine::Real arg3 ;
26489  Mezzanine::Real arg4 ;
26490  Mezzanine::Real arg5 ;
26491 
26492  SWIG_check_num_args("Mezzanine::WorldProxy::SetOrientation",5,5)
26493  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",1,"Mezzanine::WorldProxy *");
26494  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",2,"Mezzanine::Real const");
26495  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",3,"Mezzanine::Real const");
26496  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",4,"Mezzanine::Real const");
26497  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::WorldProxy::SetOrientation",5,"Mezzanine::Real const");
26498 
26499  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26500  SWIG_fail_ptr("WorldProxy_SetOrientation",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26501  }
26502 
26503  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26504  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
26505  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
26506  arg5 = (Mezzanine::Real const)lua_tonumber(L, 5);
26507  (arg1)->SetOrientation(arg2,arg3,arg4,arg5);
26508 
26509  return SWIG_arg;
26510 
26511  if(0) SWIG_fail;
26512 
26513 fail:
26514  lua_error(L);
26515  return SWIG_arg;
26516 }
26517 
26518 
26519 static int _wrap_WorldProxy_SetOrientation(lua_State* L) {
26520  int argc;
26521  int argv[6]={
26522  1,2,3,4,5,6
26523  };
26524 
26525  argc = lua_gettop(L);
26526  if (argc == 2) {
26527  int _v;
26528  {
26529  void *ptr;
26530  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26531  _v = 0;
26532  } else {
26533  _v = 1;
26534  }
26535  }
26536  if (_v) {
26537  {
26538  void *ptr;
26539  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
26540  _v = 0;
26541  } else {
26542  _v = 1;
26543  }
26544  }
26545  if (_v) {
26546  return _wrap_WorldProxy_SetOrientation__SWIG_0(L);
26547  }
26548  }
26549  }
26550  if (argc == 5) {
26551  int _v;
26552  {
26553  void *ptr;
26554  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26555  _v = 0;
26556  } else {
26557  _v = 1;
26558  }
26559  }
26560  if (_v) {
26561  {
26562  _v = lua_isnumber(L,argv[1]);
26563  }
26564  if (_v) {
26565  {
26566  _v = lua_isnumber(L,argv[2]);
26567  }
26568  if (_v) {
26569  {
26570  _v = lua_isnumber(L,argv[3]);
26571  }
26572  if (_v) {
26573  {
26574  _v = lua_isnumber(L,argv[4]);
26575  }
26576  if (_v) {
26577  return _wrap_WorldProxy_SetOrientation__SWIG_1(L);
26578  }
26579  }
26580  }
26581  }
26582  }
26583  }
26584 
26585  lua_pushstring(L,"Wrong arguments for overloaded function 'WorldProxy_SetOrientation'\n"
26586  " Possible C/C++ prototypes are:\n"
26587  " Mezzanine::WorldProxy::SetOrientation(Mezzanine::Quaternion const &)\n"
26588  " Mezzanine::WorldProxy::SetOrientation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
26589  lua_error(L);return 0;
26590 }
26591 
26592 
26593 static int _wrap_WorldProxy_GetOrientation(lua_State* L) {
26594  int SWIG_arg = 0;
26596  Mezzanine::Quaternion result;
26597 
26598  SWIG_check_num_args("Mezzanine::WorldProxy::GetOrientation",1,1)
26599  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetOrientation",1,"Mezzanine::WorldProxy const *");
26600 
26601  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26602  SWIG_fail_ptr("WorldProxy_GetOrientation",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26603  }
26604 
26605  result = ((Mezzanine::WorldProxy const *)arg1)->GetOrientation();
26606  {
26607  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
26608  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
26609  }
26610  return SWIG_arg;
26611 
26612  if(0) SWIG_fail;
26613 
26614 fail:
26615  lua_error(L);
26616  return SWIG_arg;
26617 }
26618 
26619 
26620 static int _wrap_WorldProxy_SetScale__SWIG_0(lua_State* L) {
26621  int SWIG_arg = 0;
26623  Mezzanine::Vector3 *arg2 = 0 ;
26624 
26625  SWIG_check_num_args("Mezzanine::WorldProxy::SetScale",2,2)
26626  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::SetScale",1,"Mezzanine::WorldProxy *");
26627  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::SetScale",2,"Mezzanine::Vector3 const &");
26628 
26629  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26630  SWIG_fail_ptr("WorldProxy_SetScale",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26631  }
26632 
26633 
26634  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
26635  SWIG_fail_ptr("WorldProxy_SetScale",2,SWIGTYPE_p_Mezzanine__Vector3);
26636  }
26637 
26638  (arg1)->SetScale((Mezzanine::Vector3 const &)*arg2);
26639 
26640  return SWIG_arg;
26641 
26642  if(0) SWIG_fail;
26643 
26644 fail:
26645  lua_error(L);
26646  return SWIG_arg;
26647 }
26648 
26649 
26650 static int _wrap_WorldProxy_SetScale__SWIG_1(lua_State* L) {
26651  int SWIG_arg = 0;
26653  Mezzanine::Real arg2 ;
26654  Mezzanine::Real arg3 ;
26655  Mezzanine::Real arg4 ;
26656 
26657  SWIG_check_num_args("Mezzanine::WorldProxy::SetScale",4,4)
26658  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::SetScale",1,"Mezzanine::WorldProxy *");
26659  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::SetScale",2,"Mezzanine::Real const");
26660  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::WorldProxy::SetScale",3,"Mezzanine::Real const");
26661  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::WorldProxy::SetScale",4,"Mezzanine::Real const");
26662 
26663  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26664  SWIG_fail_ptr("WorldProxy_SetScale",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26665  }
26666 
26667  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26668  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
26669  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
26670  (arg1)->SetScale(arg2,arg3,arg4);
26671 
26672  return SWIG_arg;
26673 
26674  if(0) SWIG_fail;
26675 
26676 fail:
26677  lua_error(L);
26678  return SWIG_arg;
26679 }
26680 
26681 
26682 static int _wrap_WorldProxy_SetScale(lua_State* L) {
26683  int argc;
26684  int argv[5]={
26685  1,2,3,4,5
26686  };
26687 
26688  argc = lua_gettop(L);
26689  if (argc == 2) {
26690  int _v;
26691  {
26692  void *ptr;
26693  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26694  _v = 0;
26695  } else {
26696  _v = 1;
26697  }
26698  }
26699  if (_v) {
26700  {
26701  void *ptr;
26702  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
26703  _v = 0;
26704  } else {
26705  _v = 1;
26706  }
26707  }
26708  if (_v) {
26709  return _wrap_WorldProxy_SetScale__SWIG_0(L);
26710  }
26711  }
26712  }
26713  if (argc == 4) {
26714  int _v;
26715  {
26716  void *ptr;
26717  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26718  _v = 0;
26719  } else {
26720  _v = 1;
26721  }
26722  }
26723  if (_v) {
26724  {
26725  _v = lua_isnumber(L,argv[1]);
26726  }
26727  if (_v) {
26728  {
26729  _v = lua_isnumber(L,argv[2]);
26730  }
26731  if (_v) {
26732  {
26733  _v = lua_isnumber(L,argv[3]);
26734  }
26735  if (_v) {
26736  return _wrap_WorldProxy_SetScale__SWIG_1(L);
26737  }
26738  }
26739  }
26740  }
26741  }
26742 
26743  lua_pushstring(L,"Wrong arguments for overloaded function 'WorldProxy_SetScale'\n"
26744  " Possible C/C++ prototypes are:\n"
26745  " Mezzanine::WorldProxy::SetScale(Mezzanine::Vector3 const &)\n"
26746  " Mezzanine::WorldProxy::SetScale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
26747  lua_error(L);return 0;
26748 }
26749 
26750 
26751 static int _wrap_WorldProxy_GetScale(lua_State* L) {
26752  int SWIG_arg = 0;
26754  Mezzanine::Vector3 result;
26755 
26756  SWIG_check_num_args("Mezzanine::WorldProxy::GetScale",1,1)
26757  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetScale",1,"Mezzanine::WorldProxy const *");
26758 
26759  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26760  SWIG_fail_ptr("WorldProxy_GetScale",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26761  }
26762 
26763  result = ((Mezzanine::WorldProxy const *)arg1)->GetScale();
26764  {
26765  Mezzanine::Vector3 * resultptr = new Mezzanine::Vector3((const Mezzanine::Vector3 &) result);
26766  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
26767  }
26768  return SWIG_arg;
26769 
26770  if(0) SWIG_fail;
26771 
26772 fail:
26773  lua_error(L);
26774  return SWIG_arg;
26775 }
26776 
26777 
26778 static int _wrap_WorldProxy_Translate__SWIG_0(lua_State* L) {
26779  int SWIG_arg = 0;
26781  Mezzanine::Vector3 *arg2 = 0 ;
26782 
26783  SWIG_check_num_args("Mezzanine::WorldProxy::Translate",2,2)
26784  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Translate",1,"Mezzanine::WorldProxy *");
26785  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Translate",2,"Mezzanine::Vector3 const &");
26786 
26787  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26788  SWIG_fail_ptr("WorldProxy_Translate",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26789  }
26790 
26791 
26792  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
26793  SWIG_fail_ptr("WorldProxy_Translate",2,SWIGTYPE_p_Mezzanine__Vector3);
26794  }
26795 
26796  (arg1)->Translate((Mezzanine::Vector3 const &)*arg2);
26797 
26798  return SWIG_arg;
26799 
26800  if(0) SWIG_fail;
26801 
26802 fail:
26803  lua_error(L);
26804  return SWIG_arg;
26805 }
26806 
26807 
26808 static int _wrap_WorldProxy_Translate__SWIG_1(lua_State* L) {
26809  int SWIG_arg = 0;
26811  Mezzanine::Real arg2 ;
26812  Mezzanine::Real arg3 ;
26813  Mezzanine::Real arg4 ;
26814 
26815  SWIG_check_num_args("Mezzanine::WorldProxy::Translate",4,4)
26816  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Translate",1,"Mezzanine::WorldProxy *");
26817  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Translate",2,"Mezzanine::Real const");
26818  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::WorldProxy::Translate",3,"Mezzanine::Real const");
26819  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::WorldProxy::Translate",4,"Mezzanine::Real const");
26820 
26821  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26822  SWIG_fail_ptr("WorldProxy_Translate",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26823  }
26824 
26825  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26826  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
26827  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
26828  (arg1)->Translate(arg2,arg3,arg4);
26829 
26830  return SWIG_arg;
26831 
26832  if(0) SWIG_fail;
26833 
26834 fail:
26835  lua_error(L);
26836  return SWIG_arg;
26837 }
26838 
26839 
26840 static int _wrap_WorldProxy_Translate(lua_State* L) {
26841  int argc;
26842  int argv[5]={
26843  1,2,3,4,5
26844  };
26845 
26846  argc = lua_gettop(L);
26847  if (argc == 2) {
26848  int _v;
26849  {
26850  void *ptr;
26851  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26852  _v = 0;
26853  } else {
26854  _v = 1;
26855  }
26856  }
26857  if (_v) {
26858  {
26859  void *ptr;
26860  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
26861  _v = 0;
26862  } else {
26863  _v = 1;
26864  }
26865  }
26866  if (_v) {
26867  return _wrap_WorldProxy_Translate__SWIG_0(L);
26868  }
26869  }
26870  }
26871  if (argc == 4) {
26872  int _v;
26873  {
26874  void *ptr;
26875  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
26876  _v = 0;
26877  } else {
26878  _v = 1;
26879  }
26880  }
26881  if (_v) {
26882  {
26883  _v = lua_isnumber(L,argv[1]);
26884  }
26885  if (_v) {
26886  {
26887  _v = lua_isnumber(L,argv[2]);
26888  }
26889  if (_v) {
26890  {
26891  _v = lua_isnumber(L,argv[3]);
26892  }
26893  if (_v) {
26894  return _wrap_WorldProxy_Translate__SWIG_1(L);
26895  }
26896  }
26897  }
26898  }
26899  }
26900 
26901  lua_pushstring(L,"Wrong arguments for overloaded function 'WorldProxy_Translate'\n"
26902  " Possible C/C++ prototypes are:\n"
26903  " Mezzanine::WorldProxy::Translate(Mezzanine::Vector3 const &)\n"
26904  " Mezzanine::WorldProxy::Translate(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
26905  lua_error(L);return 0;
26906 }
26907 
26908 
26909 static int _wrap_WorldProxy_Yaw(lua_State* L) {
26910  int SWIG_arg = 0;
26912  Mezzanine::Real arg2 ;
26913 
26914  SWIG_check_num_args("Mezzanine::WorldProxy::Yaw",2,2)
26915  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Yaw",1,"Mezzanine::WorldProxy *");
26916  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Yaw",2,"Mezzanine::Real const");
26917 
26918  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26919  SWIG_fail_ptr("WorldProxy_Yaw",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26920  }
26921 
26922  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26923  (arg1)->Yaw(arg2);
26924 
26925  return SWIG_arg;
26926 
26927  if(0) SWIG_fail;
26928 
26929 fail:
26930  lua_error(L);
26931  return SWIG_arg;
26932 }
26933 
26934 
26935 static int _wrap_WorldProxy_Pitch(lua_State* L) {
26936  int SWIG_arg = 0;
26938  Mezzanine::Real arg2 ;
26939 
26940  SWIG_check_num_args("Mezzanine::WorldProxy::Pitch",2,2)
26941  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Pitch",1,"Mezzanine::WorldProxy *");
26942  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Pitch",2,"Mezzanine::Real const");
26943 
26944  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26945  SWIG_fail_ptr("WorldProxy_Pitch",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26946  }
26947 
26948  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26949  (arg1)->Pitch(arg2);
26950 
26951  return SWIG_arg;
26952 
26953  if(0) SWIG_fail;
26954 
26955 fail:
26956  lua_error(L);
26957  return SWIG_arg;
26958 }
26959 
26960 
26961 static int _wrap_WorldProxy_Roll(lua_State* L) {
26962  int SWIG_arg = 0;
26964  Mezzanine::Real arg2 ;
26965 
26966  SWIG_check_num_args("Mezzanine::WorldProxy::Roll",2,2)
26967  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Roll",1,"Mezzanine::WorldProxy *");
26968  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Roll",2,"Mezzanine::Real const");
26969 
26970  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26971  SWIG_fail_ptr("WorldProxy_Roll",1,SWIGTYPE_p_Mezzanine__WorldProxy);
26972  }
26973 
26974  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
26975  (arg1)->Roll(arg2);
26976 
26977  return SWIG_arg;
26978 
26979  if(0) SWIG_fail;
26980 
26981 fail:
26982  lua_error(L);
26983  return SWIG_arg;
26984 }
26985 
26986 
26987 static int _wrap_WorldProxy_Rotate__SWIG_0(lua_State* L) {
26988  int SWIG_arg = 0;
26990  Mezzanine::Vector3 *arg2 = 0 ;
26991  Mezzanine::Real arg3 ;
26992 
26993  SWIG_check_num_args("Mezzanine::WorldProxy::Rotate",3,3)
26994  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Rotate",1,"Mezzanine::WorldProxy *");
26995  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Rotate",2,"Mezzanine::Vector3 const &");
26996  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::WorldProxy::Rotate",3,"Mezzanine::Real const");
26997 
26998  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
26999  SWIG_fail_ptr("WorldProxy_Rotate",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27000  }
27001 
27002 
27003  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
27004  SWIG_fail_ptr("WorldProxy_Rotate",2,SWIGTYPE_p_Mezzanine__Vector3);
27005  }
27006 
27007  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
27008  (arg1)->Rotate((Mezzanine::Vector3 const &)*arg2,arg3);
27009 
27010  return SWIG_arg;
27011 
27012  if(0) SWIG_fail;
27013 
27014 fail:
27015  lua_error(L);
27016  return SWIG_arg;
27017 }
27018 
27019 
27020 static int _wrap_WorldProxy_Rotate__SWIG_1(lua_State* L) {
27021  int SWIG_arg = 0;
27023  Mezzanine::Quaternion *arg2 = 0 ;
27024 
27025  SWIG_check_num_args("Mezzanine::WorldProxy::Rotate",2,2)
27026  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Rotate",1,"Mezzanine::WorldProxy *");
27027  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Rotate",2,"Mezzanine::Quaternion const &");
27028 
27029  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27030  SWIG_fail_ptr("WorldProxy_Rotate",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27031  }
27032 
27033 
27034  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
27035  SWIG_fail_ptr("WorldProxy_Rotate",2,SWIGTYPE_p_Mezzanine__Quaternion);
27036  }
27037 
27038  (arg1)->Rotate((Mezzanine::Quaternion const &)*arg2);
27039 
27040  return SWIG_arg;
27041 
27042  if(0) SWIG_fail;
27043 
27044 fail:
27045  lua_error(L);
27046  return SWIG_arg;
27047 }
27048 
27049 
27050 static int _wrap_WorldProxy_Rotate(lua_State* L) {
27051  int argc;
27052  int argv[4]={
27053  1,2,3,4
27054  };
27055 
27056  argc = lua_gettop(L);
27057  if (argc == 2) {
27058  int _v;
27059  {
27060  void *ptr;
27061  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
27062  _v = 0;
27063  } else {
27064  _v = 1;
27065  }
27066  }
27067  if (_v) {
27068  {
27069  void *ptr;
27070  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
27071  _v = 0;
27072  } else {
27073  _v = 1;
27074  }
27075  }
27076  if (_v) {
27077  return _wrap_WorldProxy_Rotate__SWIG_1(L);
27078  }
27079  }
27080  }
27081  if (argc == 3) {
27082  int _v;
27083  {
27084  void *ptr;
27085  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
27086  _v = 0;
27087  } else {
27088  _v = 1;
27089  }
27090  }
27091  if (_v) {
27092  {
27093  void *ptr;
27094  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
27095  _v = 0;
27096  } else {
27097  _v = 1;
27098  }
27099  }
27100  if (_v) {
27101  {
27102  _v = lua_isnumber(L,argv[2]);
27103  }
27104  if (_v) {
27105  return _wrap_WorldProxy_Rotate__SWIG_0(L);
27106  }
27107  }
27108  }
27109  }
27110 
27111  lua_pushstring(L,"Wrong arguments for overloaded function 'WorldProxy_Rotate'\n"
27112  " Possible C/C++ prototypes are:\n"
27113  " Mezzanine::WorldProxy::Rotate(Mezzanine::Vector3 const &,Mezzanine::Real const)\n"
27114  " Mezzanine::WorldProxy::Rotate(Mezzanine::Quaternion const &)\n");
27115  lua_error(L);return 0;
27116 }
27117 
27118 
27119 static int _wrap_WorldProxy_Scale__SWIG_0(lua_State* L) {
27120  int SWIG_arg = 0;
27122  Mezzanine::Vector3 *arg2 = 0 ;
27123 
27124  SWIG_check_num_args("Mezzanine::WorldProxy::Scale",2,2)
27125  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Scale",1,"Mezzanine::WorldProxy *");
27126  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Scale",2,"Mezzanine::Vector3 const &");
27127 
27128  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27129  SWIG_fail_ptr("WorldProxy_Scale",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27130  }
27131 
27132 
27133  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
27134  SWIG_fail_ptr("WorldProxy_Scale",2,SWIGTYPE_p_Mezzanine__Vector3);
27135  }
27136 
27137  (arg1)->Scale((Mezzanine::Vector3 const &)*arg2);
27138 
27139  return SWIG_arg;
27140 
27141  if(0) SWIG_fail;
27142 
27143 fail:
27144  lua_error(L);
27145  return SWIG_arg;
27146 }
27147 
27148 
27149 static int _wrap_WorldProxy_Scale__SWIG_1(lua_State* L) {
27150  int SWIG_arg = 0;
27152  Mezzanine::Real arg2 ;
27153  Mezzanine::Real arg3 ;
27154  Mezzanine::Real arg4 ;
27155 
27156  SWIG_check_num_args("Mezzanine::WorldProxy::Scale",4,4)
27157  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::Scale",1,"Mezzanine::WorldProxy *");
27158  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::Scale",2,"Mezzanine::Real const");
27159  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::WorldProxy::Scale",3,"Mezzanine::Real const");
27160  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::WorldProxy::Scale",4,"Mezzanine::Real const");
27161 
27162  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27163  SWIG_fail_ptr("WorldProxy_Scale",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27164  }
27165 
27166  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
27167  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
27168  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
27169  (arg1)->Scale(arg2,arg3,arg4);
27170 
27171  return SWIG_arg;
27172 
27173  if(0) SWIG_fail;
27174 
27175 fail:
27176  lua_error(L);
27177  return SWIG_arg;
27178 }
27179 
27180 
27181 static int _wrap_WorldProxy_Scale(lua_State* L) {
27182  int argc;
27183  int argv[5]={
27184  1,2,3,4,5
27185  };
27186 
27187  argc = lua_gettop(L);
27188  if (argc == 2) {
27189  int _v;
27190  {
27191  void *ptr;
27192  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
27193  _v = 0;
27194  } else {
27195  _v = 1;
27196  }
27197  }
27198  if (_v) {
27199  {
27200  void *ptr;
27201  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
27202  _v = 0;
27203  } else {
27204  _v = 1;
27205  }
27206  }
27207  if (_v) {
27208  return _wrap_WorldProxy_Scale__SWIG_0(L);
27209  }
27210  }
27211  }
27212  if (argc == 4) {
27213  int _v;
27214  {
27215  void *ptr;
27216  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldProxy, 0)) {
27217  _v = 0;
27218  } else {
27219  _v = 1;
27220  }
27221  }
27222  if (_v) {
27223  {
27224  _v = lua_isnumber(L,argv[1]);
27225  }
27226  if (_v) {
27227  {
27228  _v = lua_isnumber(L,argv[2]);
27229  }
27230  if (_v) {
27231  {
27232  _v = lua_isnumber(L,argv[3]);
27233  }
27234  if (_v) {
27235  return _wrap_WorldProxy_Scale__SWIG_1(L);
27236  }
27237  }
27238  }
27239  }
27240  }
27241 
27242  lua_pushstring(L,"Wrong arguments for overloaded function 'WorldProxy_Scale'\n"
27243  " Possible C/C++ prototypes are:\n"
27244  " Mezzanine::WorldProxy::Scale(Mezzanine::Vector3 const &)\n"
27245  " Mezzanine::WorldProxy::Scale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
27246  lua_error(L);return 0;
27247 }
27248 
27249 
27250 static int _wrap_WorldProxy_ProtoSerialize(lua_State* L) {
27251  int SWIG_arg = 0;
27253  XML::Node *arg2 = 0 ;
27254 
27255  SWIG_check_num_args("Mezzanine::WorldProxy::ProtoSerialize",2,2)
27256  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoSerialize",1,"Mezzanine::WorldProxy const *");
27257  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoSerialize",2,"XML::Node &");
27258 
27259  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27260  SWIG_fail_ptr("WorldProxy_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27261  }
27262 
27263 
27264  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
27265  SWIG_fail_ptr("WorldProxy_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
27266  }
27267 
27268  ((Mezzanine::WorldProxy const *)arg1)->ProtoSerialize(*arg2);
27269 
27270  return SWIG_arg;
27271 
27272  if(0) SWIG_fail;
27273 
27274 fail:
27275  lua_error(L);
27276  return SWIG_arg;
27277 }
27278 
27279 
27280 static int _wrap_WorldProxy_ProtoSerializeProperties(lua_State* L) {
27281  int SWIG_arg = 0;
27283  XML::Node *arg2 = 0 ;
27284 
27285  SWIG_check_num_args("Mezzanine::WorldProxy::ProtoSerializeProperties",2,2)
27286  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoSerializeProperties",1,"Mezzanine::WorldProxy const *");
27287  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoSerializeProperties",2,"XML::Node &");
27288 
27289  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27290  SWIG_fail_ptr("WorldProxy_ProtoSerializeProperties",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27291  }
27292 
27293 
27294  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
27295  SWIG_fail_ptr("WorldProxy_ProtoSerializeProperties",2,SWIGTYPE_p_XML__Node);
27296  }
27297 
27298  ((Mezzanine::WorldProxy const *)arg1)->ProtoSerializeProperties(*arg2);
27299 
27300  return SWIG_arg;
27301 
27302  if(0) SWIG_fail;
27303 
27304 fail:
27305  lua_error(L);
27306  return SWIG_arg;
27307 }
27308 
27309 
27310 static int _wrap_WorldProxy_ProtoDeSerialize(lua_State* L) {
27311  int SWIG_arg = 0;
27313  XML::Node *arg2 = 0 ;
27314 
27315  SWIG_check_num_args("Mezzanine::WorldProxy::ProtoDeSerialize",2,2)
27316  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoDeSerialize",1,"Mezzanine::WorldProxy *");
27317  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoDeSerialize",2,"XML::Node const &");
27318 
27319  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27320  SWIG_fail_ptr("WorldProxy_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27321  }
27322 
27323 
27324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
27325  SWIG_fail_ptr("WorldProxy_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
27326  }
27327 
27328  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
27329 
27330  return SWIG_arg;
27331 
27332  if(0) SWIG_fail;
27333 
27334 fail:
27335  lua_error(L);
27336  return SWIG_arg;
27337 }
27338 
27339 
27340 static int _wrap_WorldProxy_ProtoDeSerializeProperties(lua_State* L) {
27341  int SWIG_arg = 0;
27343  XML::Node *arg2 = 0 ;
27344 
27345  SWIG_check_num_args("Mezzanine::WorldProxy::ProtoDeSerializeProperties",2,2)
27346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoDeSerializeProperties",1,"Mezzanine::WorldProxy *");
27347  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::ProtoDeSerializeProperties",2,"XML::Node const &");
27348 
27349  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27350  SWIG_fail_ptr("WorldProxy_ProtoDeSerializeProperties",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27351  }
27352 
27353 
27354  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
27355  SWIG_fail_ptr("WorldProxy_ProtoDeSerializeProperties",2,SWIGTYPE_p_XML__Node);
27356  }
27357 
27358  (arg1)->ProtoDeSerializeProperties((XML::Node const &)*arg2);
27359 
27360  return SWIG_arg;
27361 
27362  if(0) SWIG_fail;
27363 
27364 fail:
27365  lua_error(L);
27366  return SWIG_arg;
27367 }
27368 
27369 
27370 static int _wrap_WorldProxy_GetDerivedSerializableName(lua_State* L) {
27371  int SWIG_arg = 0;
27373  Mezzanine::String result;
27374 
27375  SWIG_check_num_args("Mezzanine::WorldProxy::GetDerivedSerializableName",1,1)
27376  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::GetDerivedSerializableName",1,"Mezzanine::WorldProxy const *");
27377 
27378  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27379  SWIG_fail_ptr("WorldProxy_GetDerivedSerializableName",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27380  }
27381 
27382  result = ((Mezzanine::WorldProxy const *)arg1)->GetDerivedSerializableName();
27383  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
27384  return SWIG_arg;
27385 
27386  if(0) SWIG_fail;
27387 
27388 fail:
27389  lua_error(L);
27390  return SWIG_arg;
27391 }
27392 
27393 
27394 static int _wrap_WorldProxy_GetSerializableName(lua_State* L) {
27395  int SWIG_arg = 0;
27396  Mezzanine::String result;
27397 
27398  SWIG_check_num_args("Mezzanine::WorldProxy::GetSerializableName",0,0)
27399  result = Mezzanine::WorldProxy::GetSerializableName();
27400  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
27401  return SWIG_arg;
27402 
27403  if(0) SWIG_fail;
27404 
27405 fail:
27406  lua_error(L);
27407  return SWIG_arg;
27408 }
27409 
27410 
27411 static int _wrap_WorldProxy__Bind(lua_State* L) {
27412  int SWIG_arg = 0;
27415 
27416  SWIG_check_num_args("Mezzanine::WorldProxy::_Bind",2,2)
27417  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::WorldProxy::_Bind",1,"Mezzanine::WorldProxy *");
27418  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::WorldProxy::_Bind",2,"Mezzanine::WorldObject *");
27419 
27420  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__WorldProxy,0))){
27421  SWIG_fail_ptr("WorldProxy__Bind",1,SWIGTYPE_p_Mezzanine__WorldProxy);
27422  }
27423 
27424 
27425  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__WorldObject,0))){
27426  SWIG_fail_ptr("WorldProxy__Bind",2,SWIGTYPE_p_Mezzanine__WorldObject);
27427  }
27428 
27429  (arg1)->_Bind(arg2);
27430 
27431  return SWIG_arg;
27432 
27433  if(0) SWIG_fail;
27434 
27435 fail:
27436  lua_error(L);
27437  return SWIG_arg;
27438 }
27439 
27440 
27441 static void swig_delete_WorldProxy(void *obj) {
27443 delete arg1;
27444 }
27445 static swig_lua_method swig_Mezzanine_WorldProxy_methods[] = {
27446  {"GetProxyType", _wrap_WorldProxy_GetProxyType},
27447  {"AddToWorld", _wrap_WorldProxy_AddToWorld},
27448  {"RemoveFromWorld", _wrap_WorldProxy_RemoveFromWorld},
27449  {"IsInWorld", _wrap_WorldProxy_IsInWorld},
27450  {"GetParentObject", _wrap_WorldProxy_GetParentObject},
27451  {"GetCreator", _wrap_WorldProxy_GetCreator},
27452  {"SetLocation", _wrap_WorldProxy_SetLocation},
27453  {"GetLocation", _wrap_WorldProxy_GetLocation},
27454  {"SetOrientation", _wrap_WorldProxy_SetOrientation},
27455  {"GetOrientation", _wrap_WorldProxy_GetOrientation},
27456  {"SetScale", _wrap_WorldProxy_SetScale},
27457  {"GetScale", _wrap_WorldProxy_GetScale},
27458  {"Translate", _wrap_WorldProxy_Translate},
27459  {"Yaw", _wrap_WorldProxy_Yaw},
27460  {"Pitch", _wrap_WorldProxy_Pitch},
27461  {"Roll", _wrap_WorldProxy_Roll},
27462  {"Rotate", _wrap_WorldProxy_Rotate},
27463  {"Scale", _wrap_WorldProxy_Scale},
27464  {"ProtoSerialize", _wrap_WorldProxy_ProtoSerialize},
27465  {"ProtoSerializeProperties", _wrap_WorldProxy_ProtoSerializeProperties},
27466  {"ProtoDeSerialize", _wrap_WorldProxy_ProtoDeSerialize},
27467  {"ProtoDeSerializeProperties", _wrap_WorldProxy_ProtoDeSerializeProperties},
27468  {"GetDerivedSerializableName", _wrap_WorldProxy_GetDerivedSerializableName},
27469  {"_Bind", _wrap_WorldProxy__Bind},
27470  {0,0}
27471 };
27472 static swig_lua_attribute swig_Mezzanine_WorldProxy_attributes[] = {
27473  {0,0,0}
27474 };
27475 static swig_lua_class *swig_Mezzanine_WorldProxy_bases[] = {0,0};
27476 static const char *swig_Mezzanine_WorldProxy_base_names[] = {"Mezzanine::TransformableObject *",0};
27477 static swig_lua_class _wrap_class_Mezzanine_WorldProxy = { "WorldProxy", &SWIGTYPE_p_Mezzanine__WorldProxy,0, swig_delete_WorldProxy, swig_Mezzanine_WorldProxy_methods, swig_Mezzanine_WorldProxy_attributes, swig_Mezzanine_WorldProxy_bases, swig_Mezzanine_WorldProxy_base_names };
27478 
27479 static int _wrap_CollidableProxy_GetAABB(lua_State* L) {
27480  int SWIG_arg = 0;
27482  AxisAlignedBox result;
27483 
27484  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetAABB",1,1)
27485  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetAABB",1,"Mezzanine::Physics::CollidableProxy const *");
27486 
27487  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27488  SWIG_fail_ptr("CollidableProxy_GetAABB",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27489  }
27490 
27491  result = ((Mezzanine::Physics::CollidableProxy const *)arg1)->GetAABB();
27492  {
27493  AxisAlignedBox * resultptr = new AxisAlignedBox((const AxisAlignedBox &) result);
27494  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_AxisAlignedBox,1); SWIG_arg++;
27495  }
27496  return SWIG_arg;
27497 
27498  if(0) SWIG_fail;
27499 
27500 fail:
27501  lua_error(L);
27502  return SWIG_arg;
27503 }
27504 
27505 
27506 static int _wrap_CollidableProxy_AddToWorld(lua_State* L) {
27507  int SWIG_arg = 0;
27509 
27510  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::AddToWorld",1,1)
27511  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::AddToWorld",1,"Mezzanine::Physics::CollidableProxy *");
27512 
27513  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27514  SWIG_fail_ptr("CollidableProxy_AddToWorld",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27515  }
27516 
27517  (arg1)->AddToWorld();
27518 
27519  return SWIG_arg;
27520 
27521  if(0) SWIG_fail;
27522 
27523 fail:
27524  lua_error(L);
27525  return SWIG_arg;
27526 }
27527 
27528 
27529 static int _wrap_CollidableProxy_RemoveFromWorld(lua_State* L) {
27530  int SWIG_arg = 0;
27532 
27533  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::RemoveFromWorld",1,1)
27534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::RemoveFromWorld",1,"Mezzanine::Physics::CollidableProxy *");
27535 
27536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27537  SWIG_fail_ptr("CollidableProxy_RemoveFromWorld",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27538  }
27539 
27540  (arg1)->RemoveFromWorld();
27541 
27542  return SWIG_arg;
27543 
27544  if(0) SWIG_fail;
27545 
27546 fail:
27547  lua_error(L);
27548  return SWIG_arg;
27549 }
27550 
27551 
27552 static int _wrap_CollidableProxy_IsInWorld(lua_State* L) {
27553  int SWIG_arg = 0;
27555  Mezzanine::Boole result;
27556 
27557  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::IsInWorld",1,1)
27558  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsInWorld",1,"Mezzanine::Physics::CollidableProxy const *");
27559 
27560  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27561  SWIG_fail_ptr("CollidableProxy_IsInWorld",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27562  }
27563 
27564  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->IsInWorld();
27565  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27566  return SWIG_arg;
27567 
27568  if(0) SWIG_fail;
27569 
27570 fail:
27571  lua_error(L);
27572  return SWIG_arg;
27573 }
27574 
27575 
27576 static int _wrap_CollidableProxy_GetCreator(lua_State* L) {
27577  int SWIG_arg = 0;
27579  Mezzanine::WorldManager *result = 0 ;
27580 
27581  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetCreator",1,1)
27582  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetCreator",1,"Mezzanine::Physics::CollidableProxy const *");
27583 
27584  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27585  SWIG_fail_ptr("CollidableProxy_GetCreator",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27586  }
27587 
27588  result = (Mezzanine::WorldManager *)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetCreator();
27589  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldManager,0); SWIG_arg++;
27590  return SWIG_arg;
27591 
27592  if(0) SWIG_fail;
27593 
27594 fail:
27595  lua_error(L);
27596  return SWIG_arg;
27597 }
27598 
27599 
27600 static int _wrap_CollidableProxy_SetCollisionGroupAndMask(lua_State* L) {
27601  int SWIG_arg = 0;
27603  Mezzanine::Int16 arg2 ;
27604  Mezzanine::Int16 arg3 ;
27605 
27606  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetCollisionGroupAndMask",3,3)
27607  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionGroupAndMask",1,"Mezzanine::Physics::CollidableProxy *");
27608  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionGroupAndMask",2,"Mezzanine::Int16 const");
27609  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionGroupAndMask",3,"Mezzanine::Int16 const");
27610 
27611  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27612  SWIG_fail_ptr("CollidableProxy_SetCollisionGroupAndMask",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27613  }
27614 
27615  arg2 = (Mezzanine::Int16 const)lua_tonumber(L, 2);
27616  arg3 = (Mezzanine::Int16 const)lua_tonumber(L, 3);
27617  (arg1)->SetCollisionGroupAndMask(arg2,arg3);
27618 
27619  return SWIG_arg;
27620 
27621  if(0) SWIG_fail;
27622 
27623 fail:
27624  lua_error(L);
27625  return SWIG_arg;
27626 }
27627 
27628 
27629 static int _wrap_CollidableProxy_SetCollisionGroup(lua_State* L) {
27630  int SWIG_arg = 0;
27632  Mezzanine::Int16 arg2 ;
27633 
27634  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetCollisionGroup",2,2)
27635  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionGroup",1,"Mezzanine::Physics::CollidableProxy *");
27636  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionGroup",2,"Mezzanine::Int16 const");
27637 
27638  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27639  SWIG_fail_ptr("CollidableProxy_SetCollisionGroup",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27640  }
27641 
27642  arg2 = (Mezzanine::Int16 const)lua_tonumber(L, 2);
27643  (arg1)->SetCollisionGroup(arg2);
27644 
27645  return SWIG_arg;
27646 
27647  if(0) SWIG_fail;
27648 
27649 fail:
27650  lua_error(L);
27651  return SWIG_arg;
27652 }
27653 
27654 
27655 static int _wrap_CollidableProxy_SetCollisionMask(lua_State* L) {
27656  int SWIG_arg = 0;
27658  Mezzanine::Int16 arg2 ;
27659 
27660  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetCollisionMask",2,2)
27661  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionMask",1,"Mezzanine::Physics::CollidableProxy *");
27662  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionMask",2,"Mezzanine::Int16 const");
27663 
27664  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27665  SWIG_fail_ptr("CollidableProxy_SetCollisionMask",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27666  }
27667 
27668  arg2 = (Mezzanine::Int16 const)lua_tonumber(L, 2);
27669  (arg1)->SetCollisionMask(arg2);
27670 
27671  return SWIG_arg;
27672 
27673  if(0) SWIG_fail;
27674 
27675 fail:
27676  lua_error(L);
27677  return SWIG_arg;
27678 }
27679 
27680 
27681 static int _wrap_CollidableProxy_GetCollisionGroup(lua_State* L) {
27682  int SWIG_arg = 0;
27684  Mezzanine::Int16 result;
27685 
27686  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetCollisionGroup",1,1)
27687  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetCollisionGroup",1,"Mezzanine::Physics::CollidableProxy const *");
27688 
27689  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27690  SWIG_fail_ptr("CollidableProxy_GetCollisionGroup",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27691  }
27692 
27693  result = (Mezzanine::Int16)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetCollisionGroup();
27694  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
27695  return SWIG_arg;
27696 
27697  if(0) SWIG_fail;
27698 
27699 fail:
27700  lua_error(L);
27701  return SWIG_arg;
27702 }
27703 
27704 
27705 static int _wrap_CollidableProxy_GetCollisionMask(lua_State* L) {
27706  int SWIG_arg = 0;
27708  Mezzanine::Int16 result;
27709 
27710  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetCollisionMask",1,1)
27711  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetCollisionMask",1,"Mezzanine::Physics::CollidableProxy const *");
27712 
27713  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27714  SWIG_fail_ptr("CollidableProxy_GetCollisionMask",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27715  }
27716 
27717  result = (Mezzanine::Int16)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetCollisionMask();
27718  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
27719  return SWIG_arg;
27720 
27721  if(0) SWIG_fail;
27722 
27723 fail:
27724  lua_error(L);
27725  return SWIG_arg;
27726 }
27727 
27728 
27729 static int _wrap_CollidableProxy_SetCollisionShape(lua_State* L) {
27730  int SWIG_arg = 0;
27733 
27734  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetCollisionShape",2,2)
27735  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionShape",1,"Mezzanine::Physics::CollidableProxy *");
27736  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionShape",2,"Mezzanine::Physics::CollisionShape *");
27737 
27738  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27739  SWIG_fail_ptr("CollidableProxy_SetCollisionShape",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27740  }
27741 
27742 
27743  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
27744  SWIG_fail_ptr("CollidableProxy_SetCollisionShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
27745  }
27746 
27747  (arg1)->SetCollisionShape(arg2);
27748 
27749  return SWIG_arg;
27750 
27751  if(0) SWIG_fail;
27752 
27753 fail:
27754  lua_error(L);
27755  return SWIG_arg;
27756 }
27757 
27758 
27759 static int _wrap_CollidableProxy_GetCollisionShape(lua_State* L) {
27760  int SWIG_arg = 0;
27763 
27764  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetCollisionShape",1,1)
27765  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetCollisionShape",1,"Mezzanine::Physics::CollidableProxy const *");
27766 
27767  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27768  SWIG_fail_ptr("CollidableProxy_GetCollisionShape",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27769  }
27770 
27771  result = (Mezzanine::Physics::CollisionShape *)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetCollisionShape();
27772  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
27773  return SWIG_arg;
27774 
27775  if(0) SWIG_fail;
27776 
27777 fail:
27778  lua_error(L);
27779  return SWIG_arg;
27780 }
27781 
27782 
27783 static int _wrap_CollidableProxy_SetCollisionResponse(lua_State* L) {
27784  int SWIG_arg = 0;
27786  Mezzanine::Boole arg2 ;
27787 
27788  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetCollisionResponse",2,2)
27789  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionResponse",1,"Mezzanine::Physics::CollidableProxy *");
27790  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionResponse",2,"Mezzanine::Boole");
27791 
27792  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27793  SWIG_fail_ptr("CollidableProxy_SetCollisionResponse",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27794  }
27795 
27796  arg2 = (lua_toboolean(L, 2)!=0);
27797  (arg1)->SetCollisionResponse(arg2);
27798 
27799  return SWIG_arg;
27800 
27801  if(0) SWIG_fail;
27802 
27803 fail:
27804  lua_error(L);
27805  return SWIG_arg;
27806 }
27807 
27808 
27809 static int _wrap_CollidableProxy_GetCollisionResponse(lua_State* L) {
27810  int SWIG_arg = 0;
27812  Mezzanine::Boole result;
27813 
27814  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetCollisionResponse",1,1)
27815  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetCollisionResponse",1,"Mezzanine::Physics::CollidableProxy const *");
27816 
27817  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27818  SWIG_fail_ptr("CollidableProxy_GetCollisionResponse",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27819  }
27820 
27821  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetCollisionResponse();
27822  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27823  return SWIG_arg;
27824 
27825  if(0) SWIG_fail;
27826 
27827 fail:
27828  lua_error(L);
27829  return SWIG_arg;
27830 }
27831 
27832 
27833 static int _wrap_CollidableProxy_SetCollisionFlags(lua_State* L) {
27834  int SWIG_arg = 0;
27836  Mezzanine::Whole arg2 ;
27837 
27838  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetCollisionFlags",2,2)
27839  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionFlags",1,"Mezzanine::Physics::CollidableProxy *");
27840  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetCollisionFlags",2,"Mezzanine::Whole const");
27841 
27842  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27843  SWIG_fail_ptr("CollidableProxy_SetCollisionFlags",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27844  }
27845 
27846  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
27847  arg2 = (Mezzanine::Whole const)lua_tonumber(L, 2);
27848  (arg1)->SetCollisionFlags(arg2);
27849 
27850  return SWIG_arg;
27851 
27852  if(0) SWIG_fail;
27853 
27854 fail:
27855  lua_error(L);
27856  return SWIG_arg;
27857 }
27858 
27859 
27860 static int _wrap_CollidableProxy_GetCollisionFlags(lua_State* L) {
27861  int SWIG_arg = 0;
27863  Mezzanine::Whole result;
27864 
27865  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetCollisionFlags",1,1)
27866  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetCollisionFlags",1,"Mezzanine::Physics::CollidableProxy const *");
27867 
27868  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27869  SWIG_fail_ptr("CollidableProxy_GetCollisionFlags",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27870  }
27871 
27872  result = (Mezzanine::Whole)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetCollisionFlags();
27873  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
27874  return SWIG_arg;
27875 
27876  if(0) SWIG_fail;
27877 
27878 fail:
27879  lua_error(L);
27880  return SWIG_arg;
27881 }
27882 
27883 
27884 static int _wrap_CollidableProxy_SetKinematic(lua_State* L) {
27885  int SWIG_arg = 0;
27887 
27888  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetKinematic",1,1)
27889  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetKinematic",1,"Mezzanine::Physics::CollidableProxy *");
27890 
27891  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27892  SWIG_fail_ptr("CollidableProxy_SetKinematic",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27893  }
27894 
27895  (arg1)->SetKinematic();
27896 
27897  return SWIG_arg;
27898 
27899  if(0) SWIG_fail;
27900 
27901 fail:
27902  lua_error(L);
27903  return SWIG_arg;
27904 }
27905 
27906 
27907 static int _wrap_CollidableProxy_SetStatic(lua_State* L) {
27908  int SWIG_arg = 0;
27910 
27911  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetStatic",1,1)
27912  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetStatic",1,"Mezzanine::Physics::CollidableProxy *");
27913 
27914  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27915  SWIG_fail_ptr("CollidableProxy_SetStatic",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27916  }
27917 
27918  (arg1)->SetStatic();
27919 
27920  return SWIG_arg;
27921 
27922  if(0) SWIG_fail;
27923 
27924 fail:
27925  lua_error(L);
27926  return SWIG_arg;
27927 }
27928 
27929 
27930 static int _wrap_CollidableProxy_IsKinematic(lua_State* L) {
27931  int SWIG_arg = 0;
27933  Mezzanine::Boole result;
27934 
27935  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::IsKinematic",1,1)
27936  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsKinematic",1,"Mezzanine::Physics::CollidableProxy const *");
27937 
27938  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27939  SWIG_fail_ptr("CollidableProxy_IsKinematic",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27940  }
27941 
27942  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->IsKinematic();
27943  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27944  return SWIG_arg;
27945 
27946  if(0) SWIG_fail;
27947 
27948 fail:
27949  lua_error(L);
27950  return SWIG_arg;
27951 }
27952 
27953 
27954 static int _wrap_CollidableProxy_IsStatic(lua_State* L) {
27955  int SWIG_arg = 0;
27957  Mezzanine::Boole result;
27958 
27959  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::IsStatic",1,1)
27960  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsStatic",1,"Mezzanine::Physics::CollidableProxy const *");
27961 
27962  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27963  SWIG_fail_ptr("CollidableProxy_IsStatic",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27964  }
27965 
27966  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->IsStatic();
27967  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27968  return SWIG_arg;
27969 
27970  if(0) SWIG_fail;
27971 
27972 fail:
27973  lua_error(L);
27974  return SWIG_arg;
27975 }
27976 
27977 
27978 static int _wrap_CollidableProxy_IsStaticOrKinematic(lua_State* L) {
27979  int SWIG_arg = 0;
27981  Mezzanine::Boole result;
27982 
27983  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::IsStaticOrKinematic",1,1)
27984  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsStaticOrKinematic",1,"Mezzanine::Physics::CollidableProxy const *");
27985 
27986  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
27987  SWIG_fail_ptr("CollidableProxy_IsStaticOrKinematic",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
27988  }
27989 
27990  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->IsStaticOrKinematic();
27991  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
27992  return SWIG_arg;
27993 
27994  if(0) SWIG_fail;
27995 
27996 fail:
27997  lua_error(L);
27998  return SWIG_arg;
27999 }
28000 
28001 
28002 static int _wrap_CollidableProxy_SetFriction(lua_State* L) {
28003  int SWIG_arg = 0;
28005  Mezzanine::Real arg2 ;
28006 
28007  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetFriction",2,2)
28008  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetFriction",1,"Mezzanine::Physics::CollidableProxy *");
28009  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetFriction",2,"Mezzanine::Real const");
28010 
28011  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28012  SWIG_fail_ptr("CollidableProxy_SetFriction",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28013  }
28014 
28015  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
28016  (arg1)->SetFriction(arg2);
28017 
28018  return SWIG_arg;
28019 
28020  if(0) SWIG_fail;
28021 
28022 fail:
28023  lua_error(L);
28024  return SWIG_arg;
28025 }
28026 
28027 
28028 static int _wrap_CollidableProxy_GetFriction(lua_State* L) {
28029  int SWIG_arg = 0;
28031  Mezzanine::Real result;
28032 
28033  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetFriction",1,1)
28034  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetFriction",1,"Mezzanine::Physics::CollidableProxy const *");
28035 
28036  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28037  SWIG_fail_ptr("CollidableProxy_GetFriction",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28038  }
28039 
28040  result = (Mezzanine::Real)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetFriction();
28041  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
28042  return SWIG_arg;
28043 
28044  if(0) SWIG_fail;
28045 
28046 fail:
28047  lua_error(L);
28048  return SWIG_arg;
28049 }
28050 
28051 
28052 static int _wrap_CollidableProxy_SetRollingFriction(lua_State* L) {
28053  int SWIG_arg = 0;
28055  Mezzanine::Real arg2 ;
28056 
28057  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetRollingFriction",2,2)
28058  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetRollingFriction",1,"Mezzanine::Physics::CollidableProxy *");
28059  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetRollingFriction",2,"Mezzanine::Real const");
28060 
28061  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28062  SWIG_fail_ptr("CollidableProxy_SetRollingFriction",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28063  }
28064 
28065  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
28066  (arg1)->SetRollingFriction(arg2);
28067 
28068  return SWIG_arg;
28069 
28070  if(0) SWIG_fail;
28071 
28072 fail:
28073  lua_error(L);
28074  return SWIG_arg;
28075 }
28076 
28077 
28078 static int _wrap_CollidableProxy_GetRollingFriction(lua_State* L) {
28079  int SWIG_arg = 0;
28081  Mezzanine::Real result;
28082 
28083  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetRollingFriction",1,1)
28084  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetRollingFriction",1,"Mezzanine::Physics::CollidableProxy const *");
28085 
28086  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28087  SWIG_fail_ptr("CollidableProxy_GetRollingFriction",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28088  }
28089 
28090  result = (Mezzanine::Real)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetRollingFriction();
28091  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
28092  return SWIG_arg;
28093 
28094  if(0) SWIG_fail;
28095 
28096 fail:
28097  lua_error(L);
28098  return SWIG_arg;
28099 }
28100 
28101 
28102 static int _wrap_CollidableProxy_SetAnisotropicFriction(lua_State* L) {
28103  int SWIG_arg = 0;
28105  Mezzanine::Physics::Vector3 *arg2 = 0 ;
28106  Mezzanine::Whole arg3 ;
28107 
28108  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetAnisotropicFriction",3,3)
28109  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetAnisotropicFriction",1,"Mezzanine::Physics::CollidableProxy *");
28110  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetAnisotropicFriction",2,"Mezzanine::Physics::Vector3 const &");
28111  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetAnisotropicFriction",3,"Mezzanine::Whole const");
28112 
28113  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28114  SWIG_fail_ptr("CollidableProxy_SetAnisotropicFriction",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28115  }
28116 
28117 
28118  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
28119  SWIG_fail_ptr("CollidableProxy_SetAnisotropicFriction",2,SWIGTYPE_p_Mezzanine__Vector3);
28120  }
28121 
28122  SWIG_contract_assert((lua_tonumber(L,3)>=0),"number must not be negative")
28123  arg3 = (Mezzanine::Whole const)lua_tonumber(L, 3);
28124  (arg1)->SetAnisotropicFriction((Mezzanine::Physics::Vector3 const &)*arg2,arg3);
28125 
28126  return SWIG_arg;
28127 
28128  if(0) SWIG_fail;
28129 
28130 fail:
28131  lua_error(L);
28132  return SWIG_arg;
28133 }
28134 
28135 
28136 static int _wrap_CollidableProxy_GetAnisotropicFrictionMode(lua_State* L) {
28137  int SWIG_arg = 0;
28140 
28141  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetAnisotropicFrictionMode",1,1)
28142  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetAnisotropicFrictionMode",1,"Mezzanine::Physics::CollidableProxy const *");
28143 
28144  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28145  SWIG_fail_ptr("CollidableProxy_GetAnisotropicFrictionMode",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28146  }
28147 
28148  result = (Mezzanine::Physics::AnisotropicFrictionFlags)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetAnisotropicFrictionMode();
28149  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
28150  return SWIG_arg;
28151 
28152  if(0) SWIG_fail;
28153 
28154 fail:
28155  lua_error(L);
28156  return SWIG_arg;
28157 }
28158 
28159 
28160 static int _wrap_CollidableProxy_IsAnisotropicFrictionModeSet(lua_State* L) {
28161  int SWIG_arg = 0;
28163  Mezzanine::Whole arg2 ;
28164  Mezzanine::Boole result;
28165 
28166  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::IsAnisotropicFrictionModeSet",2,2)
28167  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsAnisotropicFrictionModeSet",1,"Mezzanine::Physics::CollidableProxy const *");
28168  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsAnisotropicFrictionModeSet",2,"Mezzanine::Whole const");
28169 
28170  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28171  SWIG_fail_ptr("CollidableProxy_IsAnisotropicFrictionModeSet",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28172  }
28173 
28174  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
28175  arg2 = (Mezzanine::Whole const)lua_tonumber(L, 2);
28176  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->IsAnisotropicFrictionModeSet(arg2);
28177  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28178  return SWIG_arg;
28179 
28180  if(0) SWIG_fail;
28181 
28182 fail:
28183  lua_error(L);
28184  return SWIG_arg;
28185 }
28186 
28187 
28188 static int _wrap_CollidableProxy_GetAnisotropicFriction(lua_State* L) {
28189  int SWIG_arg = 0;
28192 
28193  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetAnisotropicFriction",1,1)
28194  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetAnisotropicFriction",1,"Mezzanine::Physics::CollidableProxy const *");
28195 
28196  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28197  SWIG_fail_ptr("CollidableProxy_GetAnisotropicFriction",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28198  }
28199 
28200  result = ((Mezzanine::Physics::CollidableProxy const *)arg1)->GetAnisotropicFriction();
28201  {
28203  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
28204  }
28205  return SWIG_arg;
28206 
28207  if(0) SWIG_fail;
28208 
28209 fail:
28210  lua_error(L);
28211  return SWIG_arg;
28212 }
28213 
28214 
28215 static int _wrap_CollidableProxy_SetRestitution(lua_State* L) {
28216  int SWIG_arg = 0;
28218  Mezzanine::Real *arg2 = 0 ;
28219  Mezzanine::Real temp2 ;
28220 
28221  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetRestitution",2,2)
28222  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetRestitution",1,"Mezzanine::Physics::CollidableProxy *");
28223  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetRestitution",2,"Mezzanine::Real const &");
28224 
28225  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28226  SWIG_fail_ptr("CollidableProxy_SetRestitution",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28227  }
28228 
28229  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
28230  (arg1)->SetRestitution((Mezzanine::Real const &)*arg2);
28231 
28232  return SWIG_arg;
28233 
28234  if(0) SWIG_fail;
28235 
28236 fail:
28237  lua_error(L);
28238  return SWIG_arg;
28239 }
28240 
28241 
28242 static int _wrap_CollidableProxy_GetRestitution(lua_State* L) {
28243  int SWIG_arg = 0;
28245  Mezzanine::Real result;
28246 
28247  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetRestitution",1,1)
28248  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetRestitution",1,"Mezzanine::Physics::CollidableProxy const *");
28249 
28250  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28251  SWIG_fail_ptr("CollidableProxy_GetRestitution",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28252  }
28253 
28254  result = (Mezzanine::Real)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetRestitution();
28255  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
28256  return SWIG_arg;
28257 
28258  if(0) SWIG_fail;
28259 
28260 fail:
28261  lua_error(L);
28262  return SWIG_arg;
28263 }
28264 
28265 
28266 static int _wrap_CollidableProxy_SetActivationState__SWIG_0(lua_State* L) {
28267  int SWIG_arg = 0;
28270  Mezzanine::Boole arg3 ;
28271 
28272  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetActivationState",3,3)
28273  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetActivationState",1,"Mezzanine::Physics::CollidableProxy *");
28274  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetActivationState",2,"Mezzanine::Physics::ActivationState const");
28275  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetActivationState",3,"Mezzanine::Boole");
28276 
28277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28278  SWIG_fail_ptr("CollidableProxy_SetActivationState",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28279  }
28280 
28281  arg2 = (Mezzanine::Physics::ActivationState const)(int)lua_tonumber(L, 2);
28282  arg3 = (lua_toboolean(L, 3)!=0);
28283  (arg1)->SetActivationState(arg2,arg3);
28284 
28285  return SWIG_arg;
28286 
28287  if(0) SWIG_fail;
28288 
28289 fail:
28290  lua_error(L);
28291  return SWIG_arg;
28292 }
28293 
28294 
28295 static int _wrap_CollidableProxy_SetActivationState__SWIG_1(lua_State* L) {
28296  int SWIG_arg = 0;
28299 
28300  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetActivationState",2,2)
28301  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetActivationState",1,"Mezzanine::Physics::CollidableProxy *");
28302  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetActivationState",2,"Mezzanine::Physics::ActivationState const");
28303 
28304  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28305  SWIG_fail_ptr("CollidableProxy_SetActivationState",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28306  }
28307 
28308  arg2 = (Mezzanine::Physics::ActivationState const)(int)lua_tonumber(L, 2);
28309  (arg1)->SetActivationState(arg2);
28310 
28311  return SWIG_arg;
28312 
28313  if(0) SWIG_fail;
28314 
28315 fail:
28316  lua_error(L);
28317  return SWIG_arg;
28318 }
28319 
28320 
28321 static int _wrap_CollidableProxy_SetActivationState(lua_State* L) {
28322  int argc;
28323  int argv[4]={
28324  1,2,3,4
28325  };
28326 
28327  argc = lua_gettop(L);
28328  if (argc == 2) {
28329  int _v;
28330  {
28331  void *ptr;
28332  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28333  _v = 0;
28334  } else {
28335  _v = 1;
28336  }
28337  }
28338  if (_v) {
28339  {
28340  _v = lua_isnumber(L,argv[1]);
28341  }
28342  if (_v) {
28343  return _wrap_CollidableProxy_SetActivationState__SWIG_1(L);
28344  }
28345  }
28346  }
28347  if (argc == 3) {
28348  int _v;
28349  {
28350  void *ptr;
28351  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28352  _v = 0;
28353  } else {
28354  _v = 1;
28355  }
28356  }
28357  if (_v) {
28358  {
28359  _v = lua_isnumber(L,argv[1]);
28360  }
28361  if (_v) {
28362  {
28363  _v = lua_isboolean(L,argv[2]);
28364  }
28365  if (_v) {
28366  return _wrap_CollidableProxy_SetActivationState__SWIG_0(L);
28367  }
28368  }
28369  }
28370  }
28371 
28372  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_SetActivationState'\n"
28373  " Possible C/C++ prototypes are:\n"
28374  " Mezzanine::Physics::CollidableProxy::SetActivationState(Mezzanine::Physics::ActivationState const,Mezzanine::Boole)\n"
28375  " Mezzanine::Physics::CollidableProxy::SetActivationState(Mezzanine::Physics::ActivationState const)\n");
28376  lua_error(L);return 0;
28377 }
28378 
28379 
28380 static int _wrap_CollidableProxy_GetActivationState(lua_State* L) {
28381  int SWIG_arg = 0;
28384 
28385  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetActivationState",1,1)
28386  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetActivationState",1,"Mezzanine::Physics::CollidableProxy const *");
28387 
28388  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28389  SWIG_fail_ptr("CollidableProxy_GetActivationState",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28390  }
28391 
28392  result = (Mezzanine::Physics::ActivationState)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetActivationState();
28393  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
28394  return SWIG_arg;
28395 
28396  if(0) SWIG_fail;
28397 
28398 fail:
28399  lua_error(L);
28400  return SWIG_arg;
28401 }
28402 
28403 
28404 static int _wrap_CollidableProxy_IsActive(lua_State* L) {
28405  int SWIG_arg = 0;
28407  Mezzanine::Boole result;
28408 
28409  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::IsActive",1,1)
28410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::IsActive",1,"Mezzanine::Physics::CollidableProxy const *");
28411 
28412  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28413  SWIG_fail_ptr("CollidableProxy_IsActive",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28414  }
28415 
28416  result = (Mezzanine::Boole)((Mezzanine::Physics::CollidableProxy const *)arg1)->IsActive();
28417  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
28418  return SWIG_arg;
28419 
28420  if(0) SWIG_fail;
28421 
28422 fail:
28423  lua_error(L);
28424  return SWIG_arg;
28425 }
28426 
28427 
28428 static int _wrap_CollidableProxy_SetDeactivationTime(lua_State* L) {
28429  int SWIG_arg = 0;
28431  Mezzanine::Real arg2 ;
28432 
28433  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetDeactivationTime",2,2)
28434  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetDeactivationTime",1,"Mezzanine::Physics::CollidableProxy *");
28435  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetDeactivationTime",2,"Mezzanine::Real const");
28436 
28437  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28438  SWIG_fail_ptr("CollidableProxy_SetDeactivationTime",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28439  }
28440 
28441  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
28442  (arg1)->SetDeactivationTime(arg2);
28443 
28444  return SWIG_arg;
28445 
28446  if(0) SWIG_fail;
28447 
28448 fail:
28449  lua_error(L);
28450  return SWIG_arg;
28451 }
28452 
28453 
28454 static int _wrap_CollidableProxy_GetDeactivationTime(lua_State* L) {
28455  int SWIG_arg = 0;
28457  Mezzanine::Real result;
28458 
28459  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetDeactivationTime",1,1)
28460  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetDeactivationTime",1,"Mezzanine::Physics::CollidableProxy const *");
28461 
28462  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28463  SWIG_fail_ptr("CollidableProxy_GetDeactivationTime",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28464  }
28465 
28466  result = (Mezzanine::Real)((Mezzanine::Physics::CollidableProxy const *)arg1)->GetDeactivationTime();
28467  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
28468  return SWIG_arg;
28469 
28470  if(0) SWIG_fail;
28471 
28472 fail:
28473  lua_error(L);
28474  return SWIG_arg;
28475 }
28476 
28477 
28478 static int _wrap_CollidableProxy_SetLocation__SWIG_0(lua_State* L) {
28479  int SWIG_arg = 0;
28481  Mezzanine::Physics::Vector3 *arg2 = 0 ;
28482 
28483  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetLocation",2,2)
28484  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetLocation",1,"Mezzanine::Physics::CollidableProxy *");
28485  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetLocation",2,"Mezzanine::Physics::Vector3 const &");
28486 
28487  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28488  SWIG_fail_ptr("CollidableProxy_SetLocation",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28489  }
28490 
28491 
28492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
28493  SWIG_fail_ptr("CollidableProxy_SetLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
28494  }
28495 
28496  (arg1)->SetLocation((Mezzanine::Physics::Vector3 const &)*arg2);
28497 
28498  return SWIG_arg;
28499 
28500  if(0) SWIG_fail;
28501 
28502 fail:
28503  lua_error(L);
28504  return SWIG_arg;
28505 }
28506 
28507 
28508 static int _wrap_CollidableProxy_SetLocation__SWIG_1(lua_State* L) {
28509  int SWIG_arg = 0;
28511  Mezzanine::Real arg2 ;
28512  Mezzanine::Real arg3 ;
28513  Mezzanine::Real arg4 ;
28514 
28515  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetLocation",4,4)
28516  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetLocation",1,"Mezzanine::Physics::CollidableProxy *");
28517  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetLocation",2,"Mezzanine::Real const");
28518  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetLocation",3,"Mezzanine::Real const");
28519  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetLocation",4,"Mezzanine::Real const");
28520 
28521  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28522  SWIG_fail_ptr("CollidableProxy_SetLocation",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28523  }
28524 
28525  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
28526  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
28527  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
28528  (arg1)->SetLocation(arg2,arg3,arg4);
28529 
28530  return SWIG_arg;
28531 
28532  if(0) SWIG_fail;
28533 
28534 fail:
28535  lua_error(L);
28536  return SWIG_arg;
28537 }
28538 
28539 
28540 static int _wrap_CollidableProxy_SetLocation(lua_State* L) {
28541  int argc;
28542  int argv[5]={
28543  1,2,3,4,5
28544  };
28545 
28546  argc = lua_gettop(L);
28547  if (argc == 2) {
28548  int _v;
28549  {
28550  void *ptr;
28551  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28552  _v = 0;
28553  } else {
28554  _v = 1;
28555  }
28556  }
28557  if (_v) {
28558  {
28559  void *ptr;
28560  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
28561  _v = 0;
28562  } else {
28563  _v = 1;
28564  }
28565  }
28566  if (_v) {
28567  return _wrap_CollidableProxy_SetLocation__SWIG_0(L);
28568  }
28569  }
28570  }
28571  if (argc == 4) {
28572  int _v;
28573  {
28574  void *ptr;
28575  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28576  _v = 0;
28577  } else {
28578  _v = 1;
28579  }
28580  }
28581  if (_v) {
28582  {
28583  _v = lua_isnumber(L,argv[1]);
28584  }
28585  if (_v) {
28586  {
28587  _v = lua_isnumber(L,argv[2]);
28588  }
28589  if (_v) {
28590  {
28591  _v = lua_isnumber(L,argv[3]);
28592  }
28593  if (_v) {
28594  return _wrap_CollidableProxy_SetLocation__SWIG_1(L);
28595  }
28596  }
28597  }
28598  }
28599  }
28600 
28601  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_SetLocation'\n"
28602  " Possible C/C++ prototypes are:\n"
28603  " Mezzanine::Physics::CollidableProxy::SetLocation(Mezzanine::Physics::Vector3 const &)\n"
28604  " Mezzanine::Physics::CollidableProxy::SetLocation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
28605  lua_error(L);return 0;
28606 }
28607 
28608 
28609 static int _wrap_CollidableProxy_GetLocation(lua_State* L) {
28610  int SWIG_arg = 0;
28613 
28614  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetLocation",1,1)
28615  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetLocation",1,"Mezzanine::Physics::CollidableProxy const *");
28616 
28617  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28618  SWIG_fail_ptr("CollidableProxy_GetLocation",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28619  }
28620 
28621  result = ((Mezzanine::Physics::CollidableProxy const *)arg1)->GetLocation();
28622  {
28624  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
28625  }
28626  return SWIG_arg;
28627 
28628  if(0) SWIG_fail;
28629 
28630 fail:
28631  lua_error(L);
28632  return SWIG_arg;
28633 }
28634 
28635 
28636 static int _wrap_CollidableProxy_SetOrientation__SWIG_0(lua_State* L) {
28637  int SWIG_arg = 0;
28639  Mezzanine::Quaternion *arg2 = 0 ;
28640 
28641  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetOrientation",2,2)
28642  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",1,"Mezzanine::Physics::CollidableProxy *");
28643  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",2,"Mezzanine::Quaternion const &");
28644 
28645  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28646  SWIG_fail_ptr("CollidableProxy_SetOrientation",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28647  }
28648 
28649 
28650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
28651  SWIG_fail_ptr("CollidableProxy_SetOrientation",2,SWIGTYPE_p_Mezzanine__Quaternion);
28652  }
28653 
28654  (arg1)->SetOrientation((Mezzanine::Quaternion const &)*arg2);
28655 
28656  return SWIG_arg;
28657 
28658  if(0) SWIG_fail;
28659 
28660 fail:
28661  lua_error(L);
28662  return SWIG_arg;
28663 }
28664 
28665 
28666 static int _wrap_CollidableProxy_SetOrientation__SWIG_1(lua_State* L) {
28667  int SWIG_arg = 0;
28669  Mezzanine::Real arg2 ;
28670  Mezzanine::Real arg3 ;
28671  Mezzanine::Real arg4 ;
28672  Mezzanine::Real arg5 ;
28673 
28674  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetOrientation",5,5)
28675  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",1,"Mezzanine::Physics::CollidableProxy *");
28676  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",2,"Mezzanine::Real const");
28677  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",3,"Mezzanine::Real const");
28678  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",4,"Mezzanine::Real const");
28679  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetOrientation",5,"Mezzanine::Real const");
28680 
28681  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28682  SWIG_fail_ptr("CollidableProxy_SetOrientation",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28683  }
28684 
28685  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
28686  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
28687  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
28688  arg5 = (Mezzanine::Real const)lua_tonumber(L, 5);
28689  (arg1)->SetOrientation(arg2,arg3,arg4,arg5);
28690 
28691  return SWIG_arg;
28692 
28693  if(0) SWIG_fail;
28694 
28695 fail:
28696  lua_error(L);
28697  return SWIG_arg;
28698 }
28699 
28700 
28701 static int _wrap_CollidableProxy_SetOrientation(lua_State* L) {
28702  int argc;
28703  int argv[6]={
28704  1,2,3,4,5,6
28705  };
28706 
28707  argc = lua_gettop(L);
28708  if (argc == 2) {
28709  int _v;
28710  {
28711  void *ptr;
28712  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28713  _v = 0;
28714  } else {
28715  _v = 1;
28716  }
28717  }
28718  if (_v) {
28719  {
28720  void *ptr;
28721  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
28722  _v = 0;
28723  } else {
28724  _v = 1;
28725  }
28726  }
28727  if (_v) {
28728  return _wrap_CollidableProxy_SetOrientation__SWIG_0(L);
28729  }
28730  }
28731  }
28732  if (argc == 5) {
28733  int _v;
28734  {
28735  void *ptr;
28736  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28737  _v = 0;
28738  } else {
28739  _v = 1;
28740  }
28741  }
28742  if (_v) {
28743  {
28744  _v = lua_isnumber(L,argv[1]);
28745  }
28746  if (_v) {
28747  {
28748  _v = lua_isnumber(L,argv[2]);
28749  }
28750  if (_v) {
28751  {
28752  _v = lua_isnumber(L,argv[3]);
28753  }
28754  if (_v) {
28755  {
28756  _v = lua_isnumber(L,argv[4]);
28757  }
28758  if (_v) {
28759  return _wrap_CollidableProxy_SetOrientation__SWIG_1(L);
28760  }
28761  }
28762  }
28763  }
28764  }
28765  }
28766 
28767  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_SetOrientation'\n"
28768  " Possible C/C++ prototypes are:\n"
28769  " Mezzanine::Physics::CollidableProxy::SetOrientation(Mezzanine::Quaternion const &)\n"
28770  " Mezzanine::Physics::CollidableProxy::SetOrientation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
28771  lua_error(L);return 0;
28772 }
28773 
28774 
28775 static int _wrap_CollidableProxy_GetOrientation(lua_State* L) {
28776  int SWIG_arg = 0;
28778  Mezzanine::Quaternion result;
28779 
28780  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetOrientation",1,1)
28781  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetOrientation",1,"Mezzanine::Physics::CollidableProxy const *");
28782 
28783  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28784  SWIG_fail_ptr("CollidableProxy_GetOrientation",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28785  }
28786 
28787  result = ((Mezzanine::Physics::CollidableProxy const *)arg1)->GetOrientation();
28788  {
28789  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
28790  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
28791  }
28792  return SWIG_arg;
28793 
28794  if(0) SWIG_fail;
28795 
28796 fail:
28797  lua_error(L);
28798  return SWIG_arg;
28799 }
28800 
28801 
28802 static int _wrap_CollidableProxy_SetScale__SWIG_0(lua_State* L) {
28803  int SWIG_arg = 0;
28805  Mezzanine::Physics::Vector3 *arg2 = 0 ;
28806 
28807  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetScale",2,2)
28808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetScale",1,"Mezzanine::Physics::CollidableProxy *");
28809  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetScale",2,"Mezzanine::Physics::Vector3 const &");
28810 
28811  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28812  SWIG_fail_ptr("CollidableProxy_SetScale",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28813  }
28814 
28815 
28816  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
28817  SWIG_fail_ptr("CollidableProxy_SetScale",2,SWIGTYPE_p_Mezzanine__Vector3);
28818  }
28819 
28820  (arg1)->SetScale((Mezzanine::Physics::Vector3 const &)*arg2);
28821 
28822  return SWIG_arg;
28823 
28824  if(0) SWIG_fail;
28825 
28826 fail:
28827  lua_error(L);
28828  return SWIG_arg;
28829 }
28830 
28831 
28832 static int _wrap_CollidableProxy_SetScale__SWIG_1(lua_State* L) {
28833  int SWIG_arg = 0;
28835  Mezzanine::Real arg2 ;
28836  Mezzanine::Real arg3 ;
28837  Mezzanine::Real arg4 ;
28838 
28839  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::SetScale",4,4)
28840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetScale",1,"Mezzanine::Physics::CollidableProxy *");
28841  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetScale",2,"Mezzanine::Real const");
28842  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetScale",3,"Mezzanine::Real const");
28843  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::SetScale",4,"Mezzanine::Real const");
28844 
28845  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28846  SWIG_fail_ptr("CollidableProxy_SetScale",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28847  }
28848 
28849  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
28850  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
28851  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
28852  (arg1)->SetScale(arg2,arg3,arg4);
28853 
28854  return SWIG_arg;
28855 
28856  if(0) SWIG_fail;
28857 
28858 fail:
28859  lua_error(L);
28860  return SWIG_arg;
28861 }
28862 
28863 
28864 static int _wrap_CollidableProxy_SetScale(lua_State* L) {
28865  int argc;
28866  int argv[5]={
28867  1,2,3,4,5
28868  };
28869 
28870  argc = lua_gettop(L);
28871  if (argc == 2) {
28872  int _v;
28873  {
28874  void *ptr;
28875  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28876  _v = 0;
28877  } else {
28878  _v = 1;
28879  }
28880  }
28881  if (_v) {
28882  {
28883  void *ptr;
28884  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
28885  _v = 0;
28886  } else {
28887  _v = 1;
28888  }
28889  }
28890  if (_v) {
28891  return _wrap_CollidableProxy_SetScale__SWIG_0(L);
28892  }
28893  }
28894  }
28895  if (argc == 4) {
28896  int _v;
28897  {
28898  void *ptr;
28899  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
28900  _v = 0;
28901  } else {
28902  _v = 1;
28903  }
28904  }
28905  if (_v) {
28906  {
28907  _v = lua_isnumber(L,argv[1]);
28908  }
28909  if (_v) {
28910  {
28911  _v = lua_isnumber(L,argv[2]);
28912  }
28913  if (_v) {
28914  {
28915  _v = lua_isnumber(L,argv[3]);
28916  }
28917  if (_v) {
28918  return _wrap_CollidableProxy_SetScale__SWIG_1(L);
28919  }
28920  }
28921  }
28922  }
28923  }
28924 
28925  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_SetScale'\n"
28926  " Possible C/C++ prototypes are:\n"
28927  " Mezzanine::Physics::CollidableProxy::SetScale(Mezzanine::Physics::Vector3 const &)\n"
28928  " Mezzanine::Physics::CollidableProxy::SetScale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
28929  lua_error(L);return 0;
28930 }
28931 
28932 
28933 static int _wrap_CollidableProxy_GetScale(lua_State* L) {
28934  int SWIG_arg = 0;
28937 
28938  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetScale",1,1)
28939  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetScale",1,"Mezzanine::Physics::CollidableProxy const *");
28940 
28941  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28942  SWIG_fail_ptr("CollidableProxy_GetScale",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28943  }
28944 
28945  result = ((Mezzanine::Physics::CollidableProxy const *)arg1)->GetScale();
28946  {
28948  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
28949  }
28950  return SWIG_arg;
28951 
28952  if(0) SWIG_fail;
28953 
28954 fail:
28955  lua_error(L);
28956  return SWIG_arg;
28957 }
28958 
28959 
28960 static int _wrap_CollidableProxy_Translate__SWIG_0(lua_State* L) {
28961  int SWIG_arg = 0;
28963  Mezzanine::Physics::Vector3 *arg2 = 0 ;
28964 
28965  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Translate",2,2)
28966  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Translate",1,"Mezzanine::Physics::CollidableProxy *");
28967  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Translate",2,"Mezzanine::Physics::Vector3 const &");
28968 
28969  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
28970  SWIG_fail_ptr("CollidableProxy_Translate",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
28971  }
28972 
28973 
28974  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
28975  SWIG_fail_ptr("CollidableProxy_Translate",2,SWIGTYPE_p_Mezzanine__Vector3);
28976  }
28977 
28978  (arg1)->Translate((Mezzanine::Physics::Vector3 const &)*arg2);
28979 
28980  return SWIG_arg;
28981 
28982  if(0) SWIG_fail;
28983 
28984 fail:
28985  lua_error(L);
28986  return SWIG_arg;
28987 }
28988 
28989 
28990 static int _wrap_CollidableProxy_Translate__SWIG_1(lua_State* L) {
28991  int SWIG_arg = 0;
28993  Mezzanine::Real arg2 ;
28994  Mezzanine::Real arg3 ;
28995  Mezzanine::Real arg4 ;
28996 
28997  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Translate",4,4)
28998  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Translate",1,"Mezzanine::Physics::CollidableProxy *");
28999  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Translate",2,"Mezzanine::Real const");
29000  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Translate",3,"Mezzanine::Real const");
29001  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Translate",4,"Mezzanine::Real const");
29002 
29003  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29004  SWIG_fail_ptr("CollidableProxy_Translate",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29005  }
29006 
29007  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
29008  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
29009  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
29010  (arg1)->Translate(arg2,arg3,arg4);
29011 
29012  return SWIG_arg;
29013 
29014  if(0) SWIG_fail;
29015 
29016 fail:
29017  lua_error(L);
29018  return SWIG_arg;
29019 }
29020 
29021 
29022 static int _wrap_CollidableProxy_Translate(lua_State* L) {
29023  int argc;
29024  int argv[5]={
29025  1,2,3,4,5
29026  };
29027 
29028  argc = lua_gettop(L);
29029  if (argc == 2) {
29030  int _v;
29031  {
29032  void *ptr;
29033  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
29034  _v = 0;
29035  } else {
29036  _v = 1;
29037  }
29038  }
29039  if (_v) {
29040  {
29041  void *ptr;
29042  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
29043  _v = 0;
29044  } else {
29045  _v = 1;
29046  }
29047  }
29048  if (_v) {
29049  return _wrap_CollidableProxy_Translate__SWIG_0(L);
29050  }
29051  }
29052  }
29053  if (argc == 4) {
29054  int _v;
29055  {
29056  void *ptr;
29057  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
29058  _v = 0;
29059  } else {
29060  _v = 1;
29061  }
29062  }
29063  if (_v) {
29064  {
29065  _v = lua_isnumber(L,argv[1]);
29066  }
29067  if (_v) {
29068  {
29069  _v = lua_isnumber(L,argv[2]);
29070  }
29071  if (_v) {
29072  {
29073  _v = lua_isnumber(L,argv[3]);
29074  }
29075  if (_v) {
29076  return _wrap_CollidableProxy_Translate__SWIG_1(L);
29077  }
29078  }
29079  }
29080  }
29081  }
29082 
29083  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_Translate'\n"
29084  " Possible C/C++ prototypes are:\n"
29085  " Mezzanine::Physics::CollidableProxy::Translate(Mezzanine::Physics::Vector3 const &)\n"
29086  " Mezzanine::Physics::CollidableProxy::Translate(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
29087  lua_error(L);return 0;
29088 }
29089 
29090 
29091 static int _wrap_CollidableProxy_Yaw(lua_State* L) {
29092  int SWIG_arg = 0;
29094  Mezzanine::Real arg2 ;
29095 
29096  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Yaw",2,2)
29097  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Yaw",1,"Mezzanine::Physics::CollidableProxy *");
29098  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Yaw",2,"Mezzanine::Real const");
29099 
29100  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29101  SWIG_fail_ptr("CollidableProxy_Yaw",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29102  }
29103 
29104  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
29105  (arg1)->Yaw(arg2);
29106 
29107  return SWIG_arg;
29108 
29109  if(0) SWIG_fail;
29110 
29111 fail:
29112  lua_error(L);
29113  return SWIG_arg;
29114 }
29115 
29116 
29117 static int _wrap_CollidableProxy_Pitch(lua_State* L) {
29118  int SWIG_arg = 0;
29120  Mezzanine::Real arg2 ;
29121 
29122  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Pitch",2,2)
29123  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Pitch",1,"Mezzanine::Physics::CollidableProxy *");
29124  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Pitch",2,"Mezzanine::Real const");
29125 
29126  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29127  SWIG_fail_ptr("CollidableProxy_Pitch",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29128  }
29129 
29130  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
29131  (arg1)->Pitch(arg2);
29132 
29133  return SWIG_arg;
29134 
29135  if(0) SWIG_fail;
29136 
29137 fail:
29138  lua_error(L);
29139  return SWIG_arg;
29140 }
29141 
29142 
29143 static int _wrap_CollidableProxy_Roll(lua_State* L) {
29144  int SWIG_arg = 0;
29146  Mezzanine::Real arg2 ;
29147 
29148  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Roll",2,2)
29149  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Roll",1,"Mezzanine::Physics::CollidableProxy *");
29150  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Roll",2,"Mezzanine::Real const");
29151 
29152  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29153  SWIG_fail_ptr("CollidableProxy_Roll",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29154  }
29155 
29156  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
29157  (arg1)->Roll(arg2);
29158 
29159  return SWIG_arg;
29160 
29161  if(0) SWIG_fail;
29162 
29163 fail:
29164  lua_error(L);
29165  return SWIG_arg;
29166 }
29167 
29168 
29169 static int _wrap_CollidableProxy_Rotate__SWIG_0(lua_State* L) {
29170  int SWIG_arg = 0;
29172  Mezzanine::Physics::Vector3 *arg2 = 0 ;
29173  Mezzanine::Real arg3 ;
29174 
29175  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Rotate",3,3)
29176  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Rotate",1,"Mezzanine::Physics::CollidableProxy *");
29177  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Rotate",2,"Mezzanine::Physics::Vector3 const &");
29178  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Rotate",3,"Mezzanine::Real const");
29179 
29180  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29181  SWIG_fail_ptr("CollidableProxy_Rotate",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29182  }
29183 
29184 
29185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
29186  SWIG_fail_ptr("CollidableProxy_Rotate",2,SWIGTYPE_p_Mezzanine__Vector3);
29187  }
29188 
29189  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
29190  (arg1)->Rotate((Mezzanine::Physics::Vector3 const &)*arg2,arg3);
29191 
29192  return SWIG_arg;
29193 
29194  if(0) SWIG_fail;
29195 
29196 fail:
29197  lua_error(L);
29198  return SWIG_arg;
29199 }
29200 
29201 
29202 static int _wrap_CollidableProxy_Rotate__SWIG_1(lua_State* L) {
29203  int SWIG_arg = 0;
29205  Mezzanine::Quaternion *arg2 = 0 ;
29206 
29207  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Rotate",2,2)
29208  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Rotate",1,"Mezzanine::Physics::CollidableProxy *");
29209  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Rotate",2,"Mezzanine::Quaternion const &");
29210 
29211  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29212  SWIG_fail_ptr("CollidableProxy_Rotate",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29213  }
29214 
29215 
29216  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
29217  SWIG_fail_ptr("CollidableProxy_Rotate",2,SWIGTYPE_p_Mezzanine__Quaternion);
29218  }
29219 
29220  (arg1)->Rotate((Mezzanine::Quaternion const &)*arg2);
29221 
29222  return SWIG_arg;
29223 
29224  if(0) SWIG_fail;
29225 
29226 fail:
29227  lua_error(L);
29228  return SWIG_arg;
29229 }
29230 
29231 
29232 static int _wrap_CollidableProxy_Rotate(lua_State* L) {
29233  int argc;
29234  int argv[4]={
29235  1,2,3,4
29236  };
29237 
29238  argc = lua_gettop(L);
29239  if (argc == 2) {
29240  int _v;
29241  {
29242  void *ptr;
29243  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
29244  _v = 0;
29245  } else {
29246  _v = 1;
29247  }
29248  }
29249  if (_v) {
29250  {
29251  void *ptr;
29252  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
29253  _v = 0;
29254  } else {
29255  _v = 1;
29256  }
29257  }
29258  if (_v) {
29259  return _wrap_CollidableProxy_Rotate__SWIG_1(L);
29260  }
29261  }
29262  }
29263  if (argc == 3) {
29264  int _v;
29265  {
29266  void *ptr;
29267  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
29268  _v = 0;
29269  } else {
29270  _v = 1;
29271  }
29272  }
29273  if (_v) {
29274  {
29275  void *ptr;
29276  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
29277  _v = 0;
29278  } else {
29279  _v = 1;
29280  }
29281  }
29282  if (_v) {
29283  {
29284  _v = lua_isnumber(L,argv[2]);
29285  }
29286  if (_v) {
29287  return _wrap_CollidableProxy_Rotate__SWIG_0(L);
29288  }
29289  }
29290  }
29291  }
29292 
29293  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_Rotate'\n"
29294  " Possible C/C++ prototypes are:\n"
29295  " Mezzanine::Physics::CollidableProxy::Rotate(Mezzanine::Physics::Vector3 const &,Mezzanine::Real const)\n"
29296  " Mezzanine::Physics::CollidableProxy::Rotate(Mezzanine::Quaternion const &)\n");
29297  lua_error(L);return 0;
29298 }
29299 
29300 
29301 static int _wrap_CollidableProxy_Scale__SWIG_0(lua_State* L) {
29302  int SWIG_arg = 0;
29304  Mezzanine::Physics::Vector3 *arg2 = 0 ;
29305 
29306  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Scale",2,2)
29307  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Scale",1,"Mezzanine::Physics::CollidableProxy *");
29308  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Scale",2,"Mezzanine::Physics::Vector3 const &");
29309 
29310  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29311  SWIG_fail_ptr("CollidableProxy_Scale",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29312  }
29313 
29314 
29315  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
29316  SWIG_fail_ptr("CollidableProxy_Scale",2,SWIGTYPE_p_Mezzanine__Vector3);
29317  }
29318 
29319  (arg1)->Scale((Mezzanine::Physics::Vector3 const &)*arg2);
29320 
29321  return SWIG_arg;
29322 
29323  if(0) SWIG_fail;
29324 
29325 fail:
29326  lua_error(L);
29327  return SWIG_arg;
29328 }
29329 
29330 
29331 static int _wrap_CollidableProxy_Scale__SWIG_1(lua_State* L) {
29332  int SWIG_arg = 0;
29334  Mezzanine::Real arg2 ;
29335  Mezzanine::Real arg3 ;
29336  Mezzanine::Real arg4 ;
29337 
29338  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::Scale",4,4)
29339  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Scale",1,"Mezzanine::Physics::CollidableProxy *");
29340  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Scale",2,"Mezzanine::Real const");
29341  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Scale",3,"Mezzanine::Real const");
29342  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::Scale",4,"Mezzanine::Real const");
29343 
29344  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29345  SWIG_fail_ptr("CollidableProxy_Scale",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29346  }
29347 
29348  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
29349  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
29350  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
29351  (arg1)->Scale(arg2,arg3,arg4);
29352 
29353  return SWIG_arg;
29354 
29355  if(0) SWIG_fail;
29356 
29357 fail:
29358  lua_error(L);
29359  return SWIG_arg;
29360 }
29361 
29362 
29363 static int _wrap_CollidableProxy_Scale(lua_State* L) {
29364  int argc;
29365  int argv[5]={
29366  1,2,3,4,5
29367  };
29368 
29369  argc = lua_gettop(L);
29370  if (argc == 2) {
29371  int _v;
29372  {
29373  void *ptr;
29374  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
29375  _v = 0;
29376  } else {
29377  _v = 1;
29378  }
29379  }
29380  if (_v) {
29381  {
29382  void *ptr;
29383  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
29384  _v = 0;
29385  } else {
29386  _v = 1;
29387  }
29388  }
29389  if (_v) {
29390  return _wrap_CollidableProxy_Scale__SWIG_0(L);
29391  }
29392  }
29393  }
29394  if (argc == 4) {
29395  int _v;
29396  {
29397  void *ptr;
29398  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
29399  _v = 0;
29400  } else {
29401  _v = 1;
29402  }
29403  }
29404  if (_v) {
29405  {
29406  _v = lua_isnumber(L,argv[1]);
29407  }
29408  if (_v) {
29409  {
29410  _v = lua_isnumber(L,argv[2]);
29411  }
29412  if (_v) {
29413  {
29414  _v = lua_isnumber(L,argv[3]);
29415  }
29416  if (_v) {
29417  return _wrap_CollidableProxy_Scale__SWIG_1(L);
29418  }
29419  }
29420  }
29421  }
29422  }
29423 
29424  lua_pushstring(L,"Wrong arguments for overloaded function 'CollidableProxy_Scale'\n"
29425  " Possible C/C++ prototypes are:\n"
29426  " Mezzanine::Physics::CollidableProxy::Scale(Mezzanine::Physics::Vector3 const &)\n"
29427  " Mezzanine::Physics::CollidableProxy::Scale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
29428  lua_error(L);return 0;
29429 }
29430 
29431 
29432 static int _wrap_CollidableProxy_ProtoSerializeProperties(lua_State* L) {
29433  int SWIG_arg = 0;
29435  XML::Node *arg2 = 0 ;
29436 
29437  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::ProtoSerializeProperties",2,2)
29438  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoSerializeProperties",1,"Mezzanine::Physics::CollidableProxy const *");
29439  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoSerializeProperties",2,"XML::Node &");
29440 
29441  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29442  SWIG_fail_ptr("CollidableProxy_ProtoSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29443  }
29444 
29445 
29446  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
29447  SWIG_fail_ptr("CollidableProxy_ProtoSerializeProperties",2,SWIGTYPE_p_XML__Node);
29448  }
29449 
29450  ((Mezzanine::Physics::CollidableProxy const *)arg1)->ProtoSerializeProperties(*arg2);
29451 
29452  return SWIG_arg;
29453 
29454  if(0) SWIG_fail;
29455 
29456 fail:
29457  lua_error(L);
29458  return SWIG_arg;
29459 }
29460 
29461 
29462 static int _wrap_CollidableProxy_ProtoSerializeShape(lua_State* L) {
29463  int SWIG_arg = 0;
29465  XML::Node *arg2 = 0 ;
29466 
29467  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::ProtoSerializeShape",2,2)
29468  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoSerializeShape",1,"Mezzanine::Physics::CollidableProxy const *");
29469  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoSerializeShape",2,"XML::Node &");
29470 
29471  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29472  SWIG_fail_ptr("CollidableProxy_ProtoSerializeShape",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29473  }
29474 
29475 
29476  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
29477  SWIG_fail_ptr("CollidableProxy_ProtoSerializeShape",2,SWIGTYPE_p_XML__Node);
29478  }
29479 
29480  ((Mezzanine::Physics::CollidableProxy const *)arg1)->ProtoSerializeShape(*arg2);
29481 
29482  return SWIG_arg;
29483 
29484  if(0) SWIG_fail;
29485 
29486 fail:
29487  lua_error(L);
29488  return SWIG_arg;
29489 }
29490 
29491 
29492 static int _wrap_CollidableProxy_ProtoDeSerializeProperties(lua_State* L) {
29493  int SWIG_arg = 0;
29495  XML::Node *arg2 = 0 ;
29496 
29497  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::ProtoDeSerializeProperties",2,2)
29498  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoDeSerializeProperties",1,"Mezzanine::Physics::CollidableProxy *");
29499  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoDeSerializeProperties",2,"XML::Node const &");
29500 
29501  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29502  SWIG_fail_ptr("CollidableProxy_ProtoDeSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29503  }
29504 
29505 
29506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
29507  SWIG_fail_ptr("CollidableProxy_ProtoDeSerializeProperties",2,SWIGTYPE_p_XML__Node);
29508  }
29509 
29510  (arg1)->ProtoDeSerializeProperties((XML::Node const &)*arg2);
29511 
29512  return SWIG_arg;
29513 
29514  if(0) SWIG_fail;
29515 
29516 fail:
29517  lua_error(L);
29518  return SWIG_arg;
29519 }
29520 
29521 
29522 static int _wrap_CollidableProxy_ProtoDeSerializeShape(lua_State* L) {
29523  int SWIG_arg = 0;
29525  XML::Node *arg2 = 0 ;
29526 
29527  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::ProtoDeSerializeShape",2,2)
29528  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoDeSerializeShape",1,"Mezzanine::Physics::CollidableProxy *");
29529  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::ProtoDeSerializeShape",2,"XML::Node const &");
29530 
29531  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29532  SWIG_fail_ptr("CollidableProxy_ProtoDeSerializeShape",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29533  }
29534 
29535 
29536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
29537  SWIG_fail_ptr("CollidableProxy_ProtoDeSerializeShape",2,SWIGTYPE_p_XML__Node);
29538  }
29539 
29540  (arg1)->ProtoDeSerializeShape((XML::Node const &)*arg2);
29541 
29542  return SWIG_arg;
29543 
29544  if(0) SWIG_fail;
29545 
29546 fail:
29547  lua_error(L);
29548  return SWIG_arg;
29549 }
29550 
29551 
29552 static int _wrap_CollidableProxy_GetDerivedSerializableName(lua_State* L) {
29553  int SWIG_arg = 0;
29555  Mezzanine::String result;
29556 
29557  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetDerivedSerializableName",1,1)
29558  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::GetDerivedSerializableName",1,"Mezzanine::Physics::CollidableProxy const *");
29559 
29560  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29561  SWIG_fail_ptr("CollidableProxy_GetDerivedSerializableName",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29562  }
29563 
29564  result = ((Mezzanine::Physics::CollidableProxy const *)arg1)->GetDerivedSerializableName();
29565  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
29566  return SWIG_arg;
29567 
29568  if(0) SWIG_fail;
29569 
29570 fail:
29571  lua_error(L);
29572  return SWIG_arg;
29573 }
29574 
29575 
29576 static int _wrap_CollidableProxy_GetSerializableName(lua_State* L) {
29577  int SWIG_arg = 0;
29578  Mezzanine::String result;
29579 
29580  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::GetSerializableName",0,0)
29581  result = Mezzanine::Physics::CollidableProxy::GetSerializableName();
29582  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
29583  return SWIG_arg;
29584 
29585  if(0) SWIG_fail;
29586 
29587 fail:
29588  lua_error(L);
29589  return SWIG_arg;
29590 }
29591 
29592 
29593 static int _wrap_CollidableProxy__GetBroadphaseUniqueID(lua_State* L) {
29594  int SWIG_arg = 0;
29596  Mezzanine::Integer result;
29597 
29598  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::_GetBroadphaseUniqueID",1,1)
29599  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::_GetBroadphaseUniqueID",1,"Mezzanine::Physics::CollidableProxy const *");
29600 
29601  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29602  SWIG_fail_ptr("CollidableProxy__GetBroadphaseUniqueID",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29603  }
29604 
29605  result = (Mezzanine::Integer)((Mezzanine::Physics::CollidableProxy const *)arg1)->_GetBroadphaseUniqueID();
29606  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
29607  return SWIG_arg;
29608 
29609  if(0) SWIG_fail;
29610 
29611 fail:
29612  lua_error(L);
29613  return SWIG_arg;
29614 }
29615 
29616 
29617 static int _wrap_CollidableProxy__SetContactProcessingThreshold(lua_State* L) {
29618  int SWIG_arg = 0;
29620  Mezzanine::Real arg2 ;
29621 
29622  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::_SetContactProcessingThreshold",2,2)
29623  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::_SetContactProcessingThreshold",1,"Mezzanine::Physics::CollidableProxy *");
29624  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::_SetContactProcessingThreshold",2,"Mezzanine::Real const");
29625 
29626  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29627  SWIG_fail_ptr("CollidableProxy__SetContactProcessingThreshold",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29628  }
29629 
29630  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
29631  (arg1)->_SetContactProcessingThreshold(arg2);
29632 
29633  return SWIG_arg;
29634 
29635  if(0) SWIG_fail;
29636 
29637 fail:
29638  lua_error(L);
29639  return SWIG_arg;
29640 }
29641 
29642 
29643 static int _wrap_CollidableProxy__GetContactProcessingThreshold(lua_State* L) {
29644  int SWIG_arg = 0;
29646  Mezzanine::Real result;
29647 
29648  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::_GetContactProcessingThreshold",1,1)
29649  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::_GetContactProcessingThreshold",1,"Mezzanine::Physics::CollidableProxy const *");
29650 
29651  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29652  SWIG_fail_ptr("CollidableProxy__GetContactProcessingThreshold",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29653  }
29654 
29655  result = (Mezzanine::Real)((Mezzanine::Physics::CollidableProxy const *)arg1)->_GetContactProcessingThreshold();
29656  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
29657  return SWIG_arg;
29658 
29659  if(0) SWIG_fail;
29660 
29661 fail:
29662  lua_error(L);
29663  return SWIG_arg;
29664 }
29665 
29666 
29667 static int _wrap_CollidableProxy__GetBasePhysicsObject(lua_State* L) {
29668  int SWIG_arg = 0;
29670  btCollisionObject *result = 0 ;
29671 
29672  SWIG_check_num_args("Mezzanine::Physics::CollidableProxy::_GetBasePhysicsObject",1,1)
29673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CollidableProxy::_GetBasePhysicsObject",1,"Mezzanine::Physics::CollidableProxy const *");
29674 
29675  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29676  SWIG_fail_ptr("CollidableProxy__GetBasePhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29677  }
29678 
29679  result = (btCollisionObject *)((Mezzanine::Physics::CollidableProxy const *)arg1)->_GetBasePhysicsObject();
29680  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCollisionObject,0); SWIG_arg++;
29681  return SWIG_arg;
29682 
29683  if(0) SWIG_fail;
29684 
29685 fail:
29686  lua_error(L);
29687  return SWIG_arg;
29688 }
29689 
29690 
29691 static void swig_delete_CollidableProxy(void *obj) {
29693 delete arg1;
29694 }
29695 static swig_lua_method swig_Mezzanine_Physics_CollidableProxy_methods[] = {
29696  {"GetAABB", _wrap_CollidableProxy_GetAABB},
29697  {"AddToWorld", _wrap_CollidableProxy_AddToWorld},
29698  {"RemoveFromWorld", _wrap_CollidableProxy_RemoveFromWorld},
29699  {"IsInWorld", _wrap_CollidableProxy_IsInWorld},
29700  {"GetCreator", _wrap_CollidableProxy_GetCreator},
29701  {"SetCollisionGroupAndMask", _wrap_CollidableProxy_SetCollisionGroupAndMask},
29702  {"SetCollisionGroup", _wrap_CollidableProxy_SetCollisionGroup},
29703  {"SetCollisionMask", _wrap_CollidableProxy_SetCollisionMask},
29704  {"GetCollisionGroup", _wrap_CollidableProxy_GetCollisionGroup},
29705  {"GetCollisionMask", _wrap_CollidableProxy_GetCollisionMask},
29706  {"SetCollisionShape", _wrap_CollidableProxy_SetCollisionShape},
29707  {"GetCollisionShape", _wrap_CollidableProxy_GetCollisionShape},
29708  {"SetCollisionResponse", _wrap_CollidableProxy_SetCollisionResponse},
29709  {"GetCollisionResponse", _wrap_CollidableProxy_GetCollisionResponse},
29710  {"SetCollisionFlags", _wrap_CollidableProxy_SetCollisionFlags},
29711  {"GetCollisionFlags", _wrap_CollidableProxy_GetCollisionFlags},
29712  {"SetKinematic", _wrap_CollidableProxy_SetKinematic},
29713  {"SetStatic", _wrap_CollidableProxy_SetStatic},
29714  {"IsKinematic", _wrap_CollidableProxy_IsKinematic},
29715  {"IsStatic", _wrap_CollidableProxy_IsStatic},
29716  {"IsStaticOrKinematic", _wrap_CollidableProxy_IsStaticOrKinematic},
29717  {"SetFriction", _wrap_CollidableProxy_SetFriction},
29718  {"GetFriction", _wrap_CollidableProxy_GetFriction},
29719  {"SetRollingFriction", _wrap_CollidableProxy_SetRollingFriction},
29720  {"GetRollingFriction", _wrap_CollidableProxy_GetRollingFriction},
29721  {"SetAnisotropicFriction", _wrap_CollidableProxy_SetAnisotropicFriction},
29722  {"GetAnisotropicFrictionMode", _wrap_CollidableProxy_GetAnisotropicFrictionMode},
29723  {"IsAnisotropicFrictionModeSet", _wrap_CollidableProxy_IsAnisotropicFrictionModeSet},
29724  {"GetAnisotropicFriction", _wrap_CollidableProxy_GetAnisotropicFriction},
29725  {"SetRestitution", _wrap_CollidableProxy_SetRestitution},
29726  {"GetRestitution", _wrap_CollidableProxy_GetRestitution},
29727  {"SetActivationState", _wrap_CollidableProxy_SetActivationState},
29728  {"GetActivationState", _wrap_CollidableProxy_GetActivationState},
29729  {"IsActive", _wrap_CollidableProxy_IsActive},
29730  {"SetDeactivationTime", _wrap_CollidableProxy_SetDeactivationTime},
29731  {"GetDeactivationTime", _wrap_CollidableProxy_GetDeactivationTime},
29732  {"SetLocation", _wrap_CollidableProxy_SetLocation},
29733  {"GetLocation", _wrap_CollidableProxy_GetLocation},
29734  {"SetOrientation", _wrap_CollidableProxy_SetOrientation},
29735  {"GetOrientation", _wrap_CollidableProxy_GetOrientation},
29736  {"SetScale", _wrap_CollidableProxy_SetScale},
29737  {"GetScale", _wrap_CollidableProxy_GetScale},
29738  {"Translate", _wrap_CollidableProxy_Translate},
29739  {"Yaw", _wrap_CollidableProxy_Yaw},
29740  {"Pitch", _wrap_CollidableProxy_Pitch},
29741  {"Roll", _wrap_CollidableProxy_Roll},
29742  {"Rotate", _wrap_CollidableProxy_Rotate},
29743  {"Scale", _wrap_CollidableProxy_Scale},
29744  {"ProtoSerializeProperties", _wrap_CollidableProxy_ProtoSerializeProperties},
29745  {"ProtoSerializeShape", _wrap_CollidableProxy_ProtoSerializeShape},
29746  {"ProtoDeSerializeProperties", _wrap_CollidableProxy_ProtoDeSerializeProperties},
29747  {"ProtoDeSerializeShape", _wrap_CollidableProxy_ProtoDeSerializeShape},
29748  {"GetDerivedSerializableName", _wrap_CollidableProxy_GetDerivedSerializableName},
29749  {"_GetBroadphaseUniqueID", _wrap_CollidableProxy__GetBroadphaseUniqueID},
29750  {"_SetContactProcessingThreshold", _wrap_CollidableProxy__SetContactProcessingThreshold},
29751  {"_GetContactProcessingThreshold", _wrap_CollidableProxy__GetContactProcessingThreshold},
29752  {"_GetBasePhysicsObject", _wrap_CollidableProxy__GetBasePhysicsObject},
29753  {0,0}
29754 };
29755 static swig_lua_attribute swig_Mezzanine_Physics_CollidableProxy_attributes[] = {
29756  {0,0,0}
29757 };
29758 static swig_lua_class *swig_Mezzanine_Physics_CollidableProxy_bases[] = {0,0};
29759 static const char *swig_Mezzanine_Physics_CollidableProxy_base_names[] = {"Mezzanine::WorldProxy *",0};
29760 static swig_lua_class _wrap_class_Mezzanine_Physics_CollidableProxy = { "CollidableProxy", &SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0, swig_delete_CollidableProxy, swig_Mezzanine_Physics_CollidableProxy_methods, swig_Mezzanine_Physics_CollidableProxy_attributes, swig_Mezzanine_Physics_CollidableProxy_bases, swig_Mezzanine_Physics_CollidableProxy_base_names };
29761 
29762 static int _wrap_new_Collision__SWIG_1(lua_State* L) {
29763  int SWIG_arg = 0;
29764  Mezzanine::Physics::Collision *result = 0 ;
29765 
29766  SWIG_check_num_args("Mezzanine::Physics::Collision::Collision",0,0)
29767  result = (Mezzanine::Physics::Collision *)new Mezzanine::Physics::Collision();
29768  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Collision,1); SWIG_arg++;
29769  return SWIG_arg;
29770 
29771  if(0) SWIG_fail;
29772 
29773 fail:
29774  lua_error(L);
29775  return SWIG_arg;
29776 }
29777 
29778 
29779 static int _wrap_new_Collision__SWIG_2(lua_State* L) {
29780  int SWIG_arg = 0;
29781  Mezzanine::Physics::Collision *arg1 = 0 ;
29782  Mezzanine::Physics::Collision *result = 0 ;
29783 
29784  SWIG_check_num_args("Mezzanine::Physics::Collision::Collision",1,1)
29785  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::Collision",1,"Mezzanine::Physics::Collision const &");
29786 
29787  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29788  SWIG_fail_ptr("new_Collision",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29789  }
29790 
29792  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Collision,1); SWIG_arg++;
29793  return SWIG_arg;
29794 
29795  if(0) SWIG_fail;
29796 
29797 fail:
29798  lua_error(L);
29799  return SWIG_arg;
29800 }
29801 
29802 
29803 static int _wrap_new_Collision(lua_State* L) {
29804  int argc;
29805  int argv[2]={
29806  1,2
29807  };
29808 
29809  argc = lua_gettop(L);
29810  if (argc == 0) {
29811  return _wrap_new_Collision__SWIG_1(L);
29812  }
29813  if (argc == 1) {
29814  int _v;
29815  {
29816  void *ptr;
29817  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Collision, 0)) {
29818  _v = 0;
29819  } else {
29820  _v = 1;
29821  }
29822  }
29823  if (_v) {
29824  return _wrap_new_Collision__SWIG_2(L);
29825  }
29826  }
29827 
29828  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Collision'\n"
29829  " Possible C/C++ prototypes are:\n"
29830  " Mezzanine::Physics::Collision::Collision()\n"
29831  " Mezzanine::Physics::Collision::Collision(Mezzanine::Physics::Collision const &)\n");
29832  lua_error(L);return 0;
29833 }
29834 
29835 
29836 static int _wrap_Collision_GetProxyA(lua_State* L) {
29837  int SWIG_arg = 0;
29840 
29841  SWIG_check_num_args("Mezzanine::Physics::Collision::GetProxyA",1,1)
29842  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetProxyA",1,"Mezzanine::Physics::Collision const *");
29843 
29844  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29845  SWIG_fail_ptr("Collision_GetProxyA",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29846  }
29847 
29848  result = (Mezzanine::Physics::CollidableProxy *)((Mezzanine::Physics::Collision const *)arg1)->GetProxyA();
29849  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
29850  return SWIG_arg;
29851 
29852  if(0) SWIG_fail;
29853 
29854 fail:
29855  lua_error(L);
29856  return SWIG_arg;
29857 }
29858 
29859 
29860 static int _wrap_Collision_GetProxyB(lua_State* L) {
29861  int SWIG_arg = 0;
29864 
29865  SWIG_check_num_args("Mezzanine::Physics::Collision::GetProxyB",1,1)
29866  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetProxyB",1,"Mezzanine::Physics::Collision const *");
29867 
29868  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29869  SWIG_fail_ptr("Collision_GetProxyB",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29870  }
29871 
29872  result = (Mezzanine::Physics::CollidableProxy *)((Mezzanine::Physics::Collision const *)arg1)->GetProxyB();
29873  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
29874  return SWIG_arg;
29875 
29876  if(0) SWIG_fail;
29877 
29878 fail:
29879  lua_error(L);
29880  return SWIG_arg;
29881 }
29882 
29883 
29884 static int _wrap_Collision_GetObjectA(lua_State* L) {
29885  int SWIG_arg = 0;
29887  Mezzanine::WorldObject *result = 0 ;
29888 
29889  SWIG_check_num_args("Mezzanine::Physics::Collision::GetObjectA",1,1)
29890  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetObjectA",1,"Mezzanine::Physics::Collision const *");
29891 
29892  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29893  SWIG_fail_ptr("Collision_GetObjectA",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29894  }
29895 
29896  result = (Mezzanine::WorldObject *)((Mezzanine::Physics::Collision const *)arg1)->GetObjectA();
29897  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldObject,0); SWIG_arg++;
29898  return SWIG_arg;
29899 
29900  if(0) SWIG_fail;
29901 
29902 fail:
29903  lua_error(L);
29904  return SWIG_arg;
29905 }
29906 
29907 
29908 static int _wrap_Collision_GetObjectB(lua_State* L) {
29909  int SWIG_arg = 0;
29911  Mezzanine::WorldObject *result = 0 ;
29912 
29913  SWIG_check_num_args("Mezzanine::Physics::Collision::GetObjectB",1,1)
29914  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetObjectB",1,"Mezzanine::Physics::Collision const *");
29915 
29916  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29917  SWIG_fail_ptr("Collision_GetObjectB",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29918  }
29919 
29920  result = (Mezzanine::WorldObject *)((Mezzanine::Physics::Collision const *)arg1)->GetObjectB();
29921  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__WorldObject,0); SWIG_arg++;
29922  return SWIG_arg;
29923 
29924  if(0) SWIG_fail;
29925 
29926 fail:
29927  lua_error(L);
29928  return SWIG_arg;
29929 }
29930 
29931 
29932 static int _wrap_Collision_PairsMatch__SWIG_0(lua_State* L) {
29933  int SWIG_arg = 0;
29937  Mezzanine::Boole result;
29938 
29939  SWIG_check_num_args("Mezzanine::Physics::Collision::PairsMatch",3,3)
29940  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::PairsMatch",1,"Mezzanine::Physics::Collision const *");
29941  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::PairsMatch",2,"Mezzanine::WorldObject *");
29942  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::Collision::PairsMatch",3,"Mezzanine::WorldObject *");
29943 
29944  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29945  SWIG_fail_ptr("Collision_PairsMatch",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29946  }
29947 
29948 
29949  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__WorldObject,0))){
29950  SWIG_fail_ptr("Collision_PairsMatch",2,SWIGTYPE_p_Mezzanine__WorldObject);
29951  }
29952 
29953 
29954  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__WorldObject,0))){
29955  SWIG_fail_ptr("Collision_PairsMatch",3,SWIGTYPE_p_Mezzanine__WorldObject);
29956  }
29957 
29958  result = (Mezzanine::Boole)((Mezzanine::Physics::Collision const *)arg1)->PairsMatch(arg2,arg3);
29959  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29960  return SWIG_arg;
29961 
29962  if(0) SWIG_fail;
29963 
29964 fail:
29965  lua_error(L);
29966  return SWIG_arg;
29967 }
29968 
29969 
29970 static int _wrap_Collision_PairsMatch__SWIG_1(lua_State* L) {
29971  int SWIG_arg = 0;
29975  Mezzanine::Boole result;
29976 
29977  SWIG_check_num_args("Mezzanine::Physics::Collision::PairsMatch",3,3)
29978  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::PairsMatch",1,"Mezzanine::Physics::Collision const *");
29979  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::PairsMatch",2,"Mezzanine::Physics::CollidableProxy *");
29980  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::Collision::PairsMatch",3,"Mezzanine::Physics::CollidableProxy *");
29981 
29982  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
29983  SWIG_fail_ptr("Collision_PairsMatch",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
29984  }
29985 
29986 
29987  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29988  SWIG_fail_ptr("Collision_PairsMatch",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29989  }
29990 
29991 
29992  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
29993  SWIG_fail_ptr("Collision_PairsMatch",3,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
29994  }
29995 
29996  result = (Mezzanine::Boole)((Mezzanine::Physics::Collision const *)arg1)->PairsMatch(arg2,arg3);
29997  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
29998  return SWIG_arg;
29999 
30000  if(0) SWIG_fail;
30001 
30002 fail:
30003  lua_error(L);
30004  return SWIG_arg;
30005 }
30006 
30007 
30008 static int _wrap_Collision_PairsMatch(lua_State* L) {
30009  int argc;
30010  int argv[4]={
30011  1,2,3,4
30012  };
30013 
30014  argc = lua_gettop(L);
30015  if (argc == 3) {
30016  int _v;
30017  {
30018  void *ptr;
30019  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Collision, 0)) {
30020  _v = 0;
30021  } else {
30022  _v = 1;
30023  }
30024  }
30025  if (_v) {
30026  {
30027  void *ptr;
30028  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldObject, 0)) {
30029  _v = 0;
30030  } else {
30031  _v = 1;
30032  }
30033  }
30034  if (_v) {
30035  {
30036  void *ptr;
30037  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__WorldObject, 0)) {
30038  _v = 0;
30039  } else {
30040  _v = 1;
30041  }
30042  }
30043  if (_v) {
30044  return _wrap_Collision_PairsMatch__SWIG_0(L);
30045  }
30046  }
30047  }
30048  }
30049  if (argc == 3) {
30050  int _v;
30051  {
30052  void *ptr;
30053  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Collision, 0)) {
30054  _v = 0;
30055  } else {
30056  _v = 1;
30057  }
30058  }
30059  if (_v) {
30060  {
30061  void *ptr;
30062  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
30063  _v = 0;
30064  } else {
30065  _v = 1;
30066  }
30067  }
30068  if (_v) {
30069  {
30070  void *ptr;
30071  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollidableProxy, 0)) {
30072  _v = 0;
30073  } else {
30074  _v = 1;
30075  }
30076  }
30077  if (_v) {
30078  return _wrap_Collision_PairsMatch__SWIG_1(L);
30079  }
30080  }
30081  }
30082  }
30083 
30084  lua_pushstring(L,"Wrong arguments for overloaded function 'Collision_PairsMatch'\n"
30085  " Possible C/C++ prototypes are:\n"
30086  " Mezzanine::Physics::Collision::PairsMatch(Mezzanine::WorldObject *,Mezzanine::WorldObject *) const\n"
30087  " Mezzanine::Physics::Collision::PairsMatch(Mezzanine::Physics::CollidableProxy *,Mezzanine::Physics::CollidableProxy *) const\n");
30088  lua_error(L);return 0;
30089 }
30090 
30091 
30092 static int _wrap_Collision_Update(lua_State* L) {
30093  int SWIG_arg = 0;
30095 
30096  SWIG_check_num_args("Mezzanine::Physics::Collision::Update",1,1)
30097  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::Update",1,"Mezzanine::Physics::Collision *");
30098 
30099  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30100  SWIG_fail_ptr("Collision_Update",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30101  }
30102 
30103  (arg1)->Update();
30104 
30105  return SWIG_arg;
30106 
30107  if(0) SWIG_fail;
30108 
30109 fail:
30110  lua_error(L);
30111  return SWIG_arg;
30112 }
30113 
30114 
30115 static int _wrap_Collision_GetNumContactPoints(lua_State* L) {
30116  int SWIG_arg = 0;
30118  Mezzanine::Whole result;
30119 
30120  SWIG_check_num_args("Mezzanine::Physics::Collision::GetNumContactPoints",1,1)
30121  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetNumContactPoints",1,"Mezzanine::Physics::Collision *");
30122 
30123  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30124  SWIG_fail_ptr("Collision_GetNumContactPoints",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30125  }
30126 
30127  result = (Mezzanine::Whole)(arg1)->GetNumContactPoints();
30128  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
30129  return SWIG_arg;
30130 
30131  if(0) SWIG_fail;
30132 
30133 fail:
30134  lua_error(L);
30135  return SWIG_arg;
30136 }
30137 
30138 
30139 static int _wrap_Collision_GetWorldLocation(lua_State* L) {
30140  int SWIG_arg = 0;
30142  Mezzanine::Whole *arg2 = 0 ;
30143  Mezzanine::Whole temp2 ;
30145 
30146  SWIG_check_num_args("Mezzanine::Physics::Collision::GetWorldLocation",2,2)
30147  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetWorldLocation",1,"Mezzanine::Physics::Collision *");
30148  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetWorldLocation",2,"Mezzanine::Whole const &");
30149 
30150  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30151  SWIG_fail_ptr("Collision_GetWorldLocation",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30152  }
30153 
30154  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30155  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30156  result = (arg1)->GetWorldLocation((Mezzanine::Whole const &)*arg2);
30157  {
30159  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
30160  }
30161  return SWIG_arg;
30162 
30163  if(0) SWIG_fail;
30164 
30165 fail:
30166  lua_error(L);
30167  return SWIG_arg;
30168 }
30169 
30170 
30171 static int _wrap_Collision_GetLocalALocation(lua_State* L) {
30172  int SWIG_arg = 0;
30174  Mezzanine::Whole *arg2 = 0 ;
30175  Mezzanine::Whole temp2 ;
30177 
30178  SWIG_check_num_args("Mezzanine::Physics::Collision::GetLocalALocation",2,2)
30179  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetLocalALocation",1,"Mezzanine::Physics::Collision *");
30180  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetLocalALocation",2,"Mezzanine::Whole const &");
30181 
30182  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30183  SWIG_fail_ptr("Collision_GetLocalALocation",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30184  }
30185 
30186  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30187  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30188  result = (arg1)->GetLocalALocation((Mezzanine::Whole const &)*arg2);
30189  {
30191  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
30192  }
30193  return SWIG_arg;
30194 
30195  if(0) SWIG_fail;
30196 
30197 fail:
30198  lua_error(L);
30199  return SWIG_arg;
30200 }
30201 
30202 
30203 static int _wrap_Collision_GetLocalBLocation(lua_State* L) {
30204  int SWIG_arg = 0;
30206  Mezzanine::Whole *arg2 = 0 ;
30207  Mezzanine::Whole temp2 ;
30209 
30210  SWIG_check_num_args("Mezzanine::Physics::Collision::GetLocalBLocation",2,2)
30211  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetLocalBLocation",1,"Mezzanine::Physics::Collision *");
30212  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetLocalBLocation",2,"Mezzanine::Whole const &");
30213 
30214  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30215  SWIG_fail_ptr("Collision_GetLocalBLocation",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30216  }
30217 
30218  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30219  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30220  result = (arg1)->GetLocalBLocation((Mezzanine::Whole const &)*arg2);
30221  {
30223  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
30224  }
30225  return SWIG_arg;
30226 
30227  if(0) SWIG_fail;
30228 
30229 fail:
30230  lua_error(L);
30231  return SWIG_arg;
30232 }
30233 
30234 
30235 static int _wrap_Collision_GetNormal(lua_State* L) {
30236  int SWIG_arg = 0;
30238  Mezzanine::Whole *arg2 = 0 ;
30239  Mezzanine::Whole temp2 ;
30241 
30242  SWIG_check_num_args("Mezzanine::Physics::Collision::GetNormal",2,2)
30243  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetNormal",1,"Mezzanine::Physics::Collision *");
30244  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetNormal",2,"Mezzanine::Whole const &");
30245 
30246  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30247  SWIG_fail_ptr("Collision_GetNormal",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30248  }
30249 
30250  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30251  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30252  result = (arg1)->GetNormal((Mezzanine::Whole const &)*arg2);
30253  {
30255  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
30256  }
30257  return SWIG_arg;
30258 
30259  if(0) SWIG_fail;
30260 
30261 fail:
30262  lua_error(L);
30263  return SWIG_arg;
30264 }
30265 
30266 
30267 static int _wrap_Collision_GetAppliedImpulse(lua_State* L) {
30268  int SWIG_arg = 0;
30270  Mezzanine::Whole *arg2 = 0 ;
30271  Mezzanine::Whole temp2 ;
30272  Mezzanine::Real result;
30273 
30274  SWIG_check_num_args("Mezzanine::Physics::Collision::GetAppliedImpulse",2,2)
30275  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetAppliedImpulse",1,"Mezzanine::Physics::Collision *");
30276  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetAppliedImpulse",2,"Mezzanine::Whole const &");
30277 
30278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30279  SWIG_fail_ptr("Collision_GetAppliedImpulse",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30280  }
30281 
30282  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30283  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30284  result = (Mezzanine::Real)(arg1)->GetAppliedImpulse((Mezzanine::Whole const &)*arg2);
30285  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
30286  return SWIG_arg;
30287 
30288  if(0) SWIG_fail;
30289 
30290 fail:
30291  lua_error(L);
30292  return SWIG_arg;
30293 }
30294 
30295 
30296 static int _wrap_Collision_GetDistance(lua_State* L) {
30297  int SWIG_arg = 0;
30299  Mezzanine::Whole *arg2 = 0 ;
30300  Mezzanine::Whole temp2 ;
30301  Mezzanine::Real result;
30302 
30303  SWIG_check_num_args("Mezzanine::Physics::Collision::GetDistance",2,2)
30304  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetDistance",1,"Mezzanine::Physics::Collision *");
30305  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetDistance",2,"Mezzanine::Whole const &");
30306 
30307  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30308  SWIG_fail_ptr("Collision_GetDistance",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30309  }
30310 
30311  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30312  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30313  result = (Mezzanine::Real)(arg1)->GetDistance((Mezzanine::Whole const &)*arg2);
30314  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
30315  return SWIG_arg;
30316 
30317  if(0) SWIG_fail;
30318 
30319 fail:
30320  lua_error(L);
30321  return SWIG_arg;
30322 }
30323 
30324 
30325 static int _wrap_Collision_GetAge(lua_State* L) {
30326  int SWIG_arg = 0;
30328  Mezzanine::Whole *arg2 = 0 ;
30329  Mezzanine::Whole temp2 ;
30330  Mezzanine::Whole result;
30331 
30332  SWIG_check_num_args("Mezzanine::Physics::Collision::GetAge",2,2)
30333  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetAge",1,"Mezzanine::Physics::Collision *");
30334  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::GetAge",2,"Mezzanine::Whole const &");
30335 
30336  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30337  SWIG_fail_ptr("Collision_GetAge",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30338  }
30339 
30340  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30341  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30342  result = (Mezzanine::Whole)(arg1)->GetAge((Mezzanine::Whole const &)*arg2);
30343  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
30344  return SWIG_arg;
30345 
30346  if(0) SWIG_fail;
30347 
30348 fail:
30349  lua_error(L);
30350  return SWIG_arg;
30351 }
30352 
30353 
30354 static int _wrap_Collision__SetProxyA(lua_State* L) {
30355  int SWIG_arg = 0;
30358 
30359  SWIG_check_num_args("Mezzanine::Physics::Collision::_SetProxyA",2,2)
30360  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::_SetProxyA",1,"Mezzanine::Physics::Collision *");
30361  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::_SetProxyA",2,"Mezzanine::Physics::CollidableProxy *");
30362 
30363  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30364  SWIG_fail_ptr("Collision__SetProxyA",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30365  }
30366 
30367 
30368  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
30369  SWIG_fail_ptr("Collision__SetProxyA",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
30370  }
30371 
30372  (arg1)->_SetProxyA(arg2);
30373 
30374  return SWIG_arg;
30375 
30376  if(0) SWIG_fail;
30377 
30378 fail:
30379  lua_error(L);
30380  return SWIG_arg;
30381 }
30382 
30383 
30384 static int _wrap_Collision__SetProxyB(lua_State* L) {
30385  int SWIG_arg = 0;
30388 
30389  SWIG_check_num_args("Mezzanine::Physics::Collision::_SetProxyB",2,2)
30390  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Collision::_SetProxyB",1,"Mezzanine::Physics::Collision *");
30391  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Collision::_SetProxyB",2,"Mezzanine::Physics::CollidableProxy *");
30392 
30393  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Collision,0))){
30394  SWIG_fail_ptr("Collision__SetProxyB",1,SWIGTYPE_p_Mezzanine__Physics__Collision);
30395  }
30396 
30397 
30398  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0))){
30399  SWIG_fail_ptr("Collision__SetProxyB",2,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy);
30400  }
30401 
30402  (arg1)->_SetProxyB(arg2);
30403 
30404  return SWIG_arg;
30405 
30406  if(0) SWIG_fail;
30407 
30408 fail:
30409  lua_error(L);
30410  return SWIG_arg;
30411 }
30412 
30413 
30414 static void swig_delete_Collision(void *obj) {
30416 delete arg1;
30417 }
30418 static swig_lua_method swig_Mezzanine_Physics_Collision_methods[] = {
30419  {"GetProxyA", _wrap_Collision_GetProxyA},
30420  {"GetProxyB", _wrap_Collision_GetProxyB},
30421  {"GetObjectA", _wrap_Collision_GetObjectA},
30422  {"GetObjectB", _wrap_Collision_GetObjectB},
30423  {"PairsMatch", _wrap_Collision_PairsMatch},
30424  {"Update", _wrap_Collision_Update},
30425  {"GetNumContactPoints", _wrap_Collision_GetNumContactPoints},
30426  {"GetWorldLocation", _wrap_Collision_GetWorldLocation},
30427  {"GetLocalALocation", _wrap_Collision_GetLocalALocation},
30428  {"GetLocalBLocation", _wrap_Collision_GetLocalBLocation},
30429  {"GetNormal", _wrap_Collision_GetNormal},
30430  {"GetAppliedImpulse", _wrap_Collision_GetAppliedImpulse},
30431  {"GetDistance", _wrap_Collision_GetDistance},
30432  {"GetAge", _wrap_Collision_GetAge},
30433  {"_SetProxyA", _wrap_Collision__SetProxyA},
30434  {"_SetProxyB", _wrap_Collision__SetProxyB},
30435  {0,0}
30436 };
30437 static swig_lua_attribute swig_Mezzanine_Physics_Collision_attributes[] = {
30438  {0,0,0}
30439 };
30440 static swig_lua_class *swig_Mezzanine_Physics_Collision_bases[] = {0};
30441 static const char *swig_Mezzanine_Physics_Collision_base_names[] = {0};
30442 static swig_lua_class _wrap_class_Mezzanine_Physics_Collision = { "Collision", &SWIGTYPE_p_Mezzanine__Physics__Collision,_wrap_new_Collision, swig_delete_Collision, swig_Mezzanine_Physics_Collision_methods, swig_Mezzanine_Physics_Collision_attributes, swig_Mezzanine_Physics_Collision_bases, swig_Mezzanine_Physics_Collision_base_names };
30443 
30444 static int _wrap_new_CompoundCollisionShape__SWIG_0(lua_State* L) {
30445  int SWIG_arg = 0;
30446  Mezzanine::String *arg1 = 0 ;
30447  Mezzanine::String temp1 ;
30449 
30450  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape",1,1)
30451  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape",1,"Mezzanine::String const &");
30452  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
30453  result = (Mezzanine::Physics::CompoundCollisionShape *)new Mezzanine::Physics::CompoundCollisionShape((Mezzanine::String const &)*arg1);
30454  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,1); SWIG_arg++;
30455  return SWIG_arg;
30456 
30457  if(0) SWIG_fail;
30458 
30459 fail:
30460  lua_error(L);
30461  return SWIG_arg;
30462 }
30463 
30464 
30465 static int _wrap_new_CompoundCollisionShape__SWIG_1(lua_State* L) {
30466  int SWIG_arg = 0;
30467  Mezzanine::String *arg1 = 0 ;
30468  btCompoundShape *arg2 = (btCompoundShape *) 0 ;
30469  Mezzanine::String temp1 ;
30471 
30472  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape",2,2)
30473  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape",1,"Mezzanine::String const &");
30474  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape",2,"btCompoundShape *");
30475  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
30476 
30477  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btCompoundShape,0))){
30478  SWIG_fail_ptr("new_CompoundCollisionShape",2,SWIGTYPE_p_btCompoundShape);
30479  }
30480 
30482  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,1); SWIG_arg++;
30483  return SWIG_arg;
30484 
30485  if(0) SWIG_fail;
30486 
30487 fail:
30488  lua_error(L);
30489  return SWIG_arg;
30490 }
30491 
30492 
30493 static int _wrap_new_CompoundCollisionShape(lua_State* L) {
30494  int argc;
30495  int argv[3]={
30496  1,2,3
30497  };
30498 
30499  argc = lua_gettop(L);
30500  if (argc == 1) {
30501  int _v;
30502  {
30503  _v = lua_isstring(L,argv[0]);
30504  }
30505  if (_v) {
30506  return _wrap_new_CompoundCollisionShape__SWIG_0(L);
30507  }
30508  }
30509  if (argc == 2) {
30510  int _v;
30511  {
30512  _v = lua_isstring(L,argv[0]);
30513  }
30514  if (_v) {
30515  {
30516  void *ptr;
30517  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btCompoundShape, 0)) {
30518  _v = 0;
30519  } else {
30520  _v = 1;
30521  }
30522  }
30523  if (_v) {
30524  return _wrap_new_CompoundCollisionShape__SWIG_1(L);
30525  }
30526  }
30527  }
30528 
30529  lua_pushstring(L,"Wrong arguments for overloaded function 'new_CompoundCollisionShape'\n"
30530  " Possible C/C++ prototypes are:\n"
30531  " Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape(Mezzanine::String const &)\n"
30532  " Mezzanine::Physics::CompoundCollisionShape::CompoundCollisionShape(Mezzanine::String const &,btCompoundShape *)\n");
30533  lua_error(L);return 0;
30534 }
30535 
30536 
30537 static int _wrap_CompoundCollisionShape_AddChildShape__SWIG_0(lua_State* L) {
30538  int SWIG_arg = 0;
30541  Mezzanine::Physics::Vector3 *arg3 = 0 ;
30542  Mezzanine::Quaternion *arg4 = 0 ;
30543 
30544  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",4,4)
30545  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",1,"Mezzanine::Physics::CompoundCollisionShape *");
30546  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",2,"Mezzanine::Physics::CollisionShape *");
30547  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",3,"Mezzanine::Physics::Vector3 const &");
30548  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",4,"Mezzanine::Quaternion const &");
30549 
30550  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30551  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30552  }
30553 
30554 
30555  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
30556  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
30557  }
30558 
30559 
30560  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
30561  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",3,SWIGTYPE_p_Mezzanine__Vector3);
30562  }
30563 
30564 
30565  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Quaternion,0))){
30566  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",4,SWIGTYPE_p_Mezzanine__Quaternion);
30567  }
30568 
30569  (arg1)->AddChildShape(arg2,(Mezzanine::Physics::Vector3 const &)*arg3,(Mezzanine::Quaternion const &)*arg4);
30570 
30571  return SWIG_arg;
30572 
30573  if(0) SWIG_fail;
30574 
30575 fail:
30576  lua_error(L);
30577  return SWIG_arg;
30578 }
30579 
30580 
30581 static int _wrap_CompoundCollisionShape_AddChildShape__SWIG_1(lua_State* L) {
30582  int SWIG_arg = 0;
30585  Mezzanine::Physics::Vector3 *arg3 = 0 ;
30586 
30587  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",3,3)
30588  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",1,"Mezzanine::Physics::CompoundCollisionShape *");
30589  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",2,"Mezzanine::Physics::CollisionShape *");
30590  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",3,"Mezzanine::Physics::Vector3 const &");
30591 
30592  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30593  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30594  }
30595 
30596 
30597  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
30598  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
30599  }
30600 
30601 
30602  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
30603  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",3,SWIGTYPE_p_Mezzanine__Vector3);
30604  }
30605 
30606  (arg1)->AddChildShape(arg2,(Mezzanine::Physics::Vector3 const &)*arg3);
30607 
30608  return SWIG_arg;
30609 
30610  if(0) SWIG_fail;
30611 
30612 fail:
30613  lua_error(L);
30614  return SWIG_arg;
30615 }
30616 
30617 
30618 static int _wrap_CompoundCollisionShape_AddChildShape__SWIG_2(lua_State* L) {
30619  int SWIG_arg = 0;
30622  Transform *arg3 = 0 ;
30623 
30624  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",3,3)
30625  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",1,"Mezzanine::Physics::CompoundCollisionShape *");
30626  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",2,"Mezzanine::Physics::CollisionShape *");
30627  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::AddChildShape",3,"Transform const &");
30628 
30629  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30630  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30631  }
30632 
30633 
30634  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
30635  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
30636  }
30637 
30638 
30639  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Transform,0))){
30640  SWIG_fail_ptr("CompoundCollisionShape_AddChildShape",3,SWIGTYPE_p_Transform);
30641  }
30642 
30643  (arg1)->AddChildShape(arg2,(Transform const &)*arg3);
30644 
30645  return SWIG_arg;
30646 
30647  if(0) SWIG_fail;
30648 
30649 fail:
30650  lua_error(L);
30651  return SWIG_arg;
30652 }
30653 
30654 
30655 static int _wrap_CompoundCollisionShape_AddChildShape(lua_State* L) {
30656  int argc;
30657  int argv[5]={
30658  1,2,3,4,5
30659  };
30660 
30661  argc = lua_gettop(L);
30662  if (argc == 3) {
30663  int _v;
30664  {
30665  void *ptr;
30666  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape, 0)) {
30667  _v = 0;
30668  } else {
30669  _v = 1;
30670  }
30671  }
30672  if (_v) {
30673  {
30674  void *ptr;
30675  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
30676  _v = 0;
30677  } else {
30678  _v = 1;
30679  }
30680  }
30681  if (_v) {
30682  {
30683  void *ptr;
30684  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
30685  _v = 0;
30686  } else {
30687  _v = 1;
30688  }
30689  }
30690  if (_v) {
30691  return _wrap_CompoundCollisionShape_AddChildShape__SWIG_1(L);
30692  }
30693  }
30694  }
30695  }
30696  if (argc == 3) {
30697  int _v;
30698  {
30699  void *ptr;
30700  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape, 0)) {
30701  _v = 0;
30702  } else {
30703  _v = 1;
30704  }
30705  }
30706  if (_v) {
30707  {
30708  void *ptr;
30709  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
30710  _v = 0;
30711  } else {
30712  _v = 1;
30713  }
30714  }
30715  if (_v) {
30716  {
30717  void *ptr;
30718  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Transform, 0)) {
30719  _v = 0;
30720  } else {
30721  _v = 1;
30722  }
30723  }
30724  if (_v) {
30725  return _wrap_CompoundCollisionShape_AddChildShape__SWIG_2(L);
30726  }
30727  }
30728  }
30729  }
30730  if (argc == 4) {
30731  int _v;
30732  {
30733  void *ptr;
30734  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape, 0)) {
30735  _v = 0;
30736  } else {
30737  _v = 1;
30738  }
30739  }
30740  if (_v) {
30741  {
30742  void *ptr;
30743  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
30744  _v = 0;
30745  } else {
30746  _v = 1;
30747  }
30748  }
30749  if (_v) {
30750  {
30751  void *ptr;
30752  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
30753  _v = 0;
30754  } else {
30755  _v = 1;
30756  }
30757  }
30758  if (_v) {
30759  {
30760  void *ptr;
30761  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
30762  _v = 0;
30763  } else {
30764  _v = 1;
30765  }
30766  }
30767  if (_v) {
30768  return _wrap_CompoundCollisionShape_AddChildShape__SWIG_0(L);
30769  }
30770  }
30771  }
30772  }
30773  }
30774 
30775  lua_pushstring(L,"Wrong arguments for overloaded function 'CompoundCollisionShape_AddChildShape'\n"
30776  " Possible C/C++ prototypes are:\n"
30777  " Mezzanine::Physics::CompoundCollisionShape::AddChildShape(Mezzanine::Physics::CollisionShape *,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &)\n"
30778  " Mezzanine::Physics::CompoundCollisionShape::AddChildShape(Mezzanine::Physics::CollisionShape *,Mezzanine::Physics::Vector3 const &)\n"
30779  " Mezzanine::Physics::CompoundCollisionShape::AddChildShape(Mezzanine::Physics::CollisionShape *,Transform const &)\n");
30780  lua_error(L);return 0;
30781 }
30782 
30783 
30784 static int _wrap_CompoundCollisionShape_GetNumChildren(lua_State* L) {
30785  int SWIG_arg = 0;
30787  Mezzanine::Whole result;
30788 
30789  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::GetNumChildren",1,1)
30790  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::GetNumChildren",1,"Mezzanine::Physics::CompoundCollisionShape const *");
30791 
30792  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30793  SWIG_fail_ptr("CompoundCollisionShape_GetNumChildren",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30794  }
30795 
30796  result = (Mezzanine::Whole)((Mezzanine::Physics::CompoundCollisionShape const *)arg1)->GetNumChildren();
30797  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
30798  return SWIG_arg;
30799 
30800  if(0) SWIG_fail;
30801 
30802 fail:
30803  lua_error(L);
30804  return SWIG_arg;
30805 }
30806 
30807 
30808 static int _wrap_CompoundCollisionShape_GetChild(lua_State* L) {
30809  int SWIG_arg = 0;
30811  Mezzanine::Whole arg2 ;
30813 
30814  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::GetChild",2,2)
30815  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::GetChild",1,"Mezzanine::Physics::CompoundCollisionShape const *");
30816  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::GetChild",2,"Mezzanine::Whole");
30817 
30818  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30819  SWIG_fail_ptr("CompoundCollisionShape_GetChild",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30820  }
30821 
30822  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30823  arg2 = (Mezzanine::Whole)lua_tonumber(L, 2);
30824  result = (Mezzanine::Physics::CollisionShape *)((Mezzanine::Physics::CompoundCollisionShape const *)arg1)->GetChild(arg2);
30825  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0); SWIG_arg++;
30826  return SWIG_arg;
30827 
30828  if(0) SWIG_fail;
30829 
30830 fail:
30831  lua_error(L);
30832  return SWIG_arg;
30833 }
30834 
30835 
30836 static int _wrap_CompoundCollisionShape_RemoveChildShape__SWIG_0(lua_State* L) {
30837  int SWIG_arg = 0;
30840 
30841  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape",2,2)
30842  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape",1,"Mezzanine::Physics::CompoundCollisionShape *");
30843  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape",2,"Mezzanine::Physics::CollisionShape *");
30844 
30845  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30846  SWIG_fail_ptr("CompoundCollisionShape_RemoveChildShape",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30847  }
30848 
30849 
30850  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
30851  SWIG_fail_ptr("CompoundCollisionShape_RemoveChildShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
30852  }
30853 
30854  (arg1)->RemoveChildShape(arg2);
30855 
30856  return SWIG_arg;
30857 
30858  if(0) SWIG_fail;
30859 
30860 fail:
30861  lua_error(L);
30862  return SWIG_arg;
30863 }
30864 
30865 
30866 static int _wrap_CompoundCollisionShape_RemoveChildShape__SWIG_1(lua_State* L) {
30867  int SWIG_arg = 0;
30869  Mezzanine::Whole *arg2 = 0 ;
30870  Mezzanine::Whole temp2 ;
30871 
30872  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape",2,2)
30873  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape",1,"Mezzanine::Physics::CompoundCollisionShape *");
30874  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape",2,"Mezzanine::Whole const &");
30875 
30876  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30877  SWIG_fail_ptr("CompoundCollisionShape_RemoveChildShape",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30878  }
30879 
30880  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
30881  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
30882  (arg1)->RemoveChildShape((Mezzanine::Whole const &)*arg2);
30883 
30884  return SWIG_arg;
30885 
30886  if(0) SWIG_fail;
30887 
30888 fail:
30889  lua_error(L);
30890  return SWIG_arg;
30891 }
30892 
30893 
30894 static int _wrap_CompoundCollisionShape_RemoveChildShape(lua_State* L) {
30895  int argc;
30896  int argv[3]={
30897  1,2,3
30898  };
30899 
30900  argc = lua_gettop(L);
30901  if (argc == 2) {
30902  int _v;
30903  {
30904  void *ptr;
30905  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape, 0)) {
30906  _v = 0;
30907  } else {
30908  _v = 1;
30909  }
30910  }
30911  if (_v) {
30912  {
30913  void *ptr;
30914  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
30915  _v = 0;
30916  } else {
30917  _v = 1;
30918  }
30919  }
30920  if (_v) {
30921  return _wrap_CompoundCollisionShape_RemoveChildShape__SWIG_0(L);
30922  }
30923  }
30924  }
30925  if (argc == 2) {
30926  int _v;
30927  {
30928  void *ptr;
30929  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape, 0)) {
30930  _v = 0;
30931  } else {
30932  _v = 1;
30933  }
30934  }
30935  if (_v) {
30936  {
30937  _v = lua_isnumber(L,argv[1]);
30938  }
30939  if (_v) {
30940  return _wrap_CompoundCollisionShape_RemoveChildShape__SWIG_1(L);
30941  }
30942  }
30943  }
30944 
30945  lua_pushstring(L,"Wrong arguments for overloaded function 'CompoundCollisionShape_RemoveChildShape'\n"
30946  " Possible C/C++ prototypes are:\n"
30947  " Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape(Mezzanine::Physics::CollisionShape *)\n"
30948  " Mezzanine::Physics::CompoundCollisionShape::RemoveChildShape(Mezzanine::Whole const &)\n");
30949  lua_error(L);return 0;
30950 }
30951 
30952 
30953 static int _wrap_CompoundCollisionShape_GetType(lua_State* L) {
30954  int SWIG_arg = 0;
30957 
30958  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::GetType",1,1)
30959  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::GetType",1,"Mezzanine::Physics::CompoundCollisionShape const *");
30960 
30961  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30962  SWIG_fail_ptr("CompoundCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30963  }
30964 
30966  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
30967  return SWIG_arg;
30968 
30969  if(0) SWIG_fail;
30970 
30971 fail:
30972  lua_error(L);
30973  return SWIG_arg;
30974 }
30975 
30976 
30977 static int _wrap_CompoundCollisionShape_GetBulletCompoundShape(lua_State* L) {
30978  int SWIG_arg = 0;
30980  btCompoundShape *result = 0 ;
30981 
30982  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::GetBulletCompoundShape",1,1)
30983  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::GetBulletCompoundShape",1,"Mezzanine::Physics::CompoundCollisionShape const *");
30984 
30985  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
30986  SWIG_fail_ptr("CompoundCollisionShape_GetBulletCompoundShape",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
30987  }
30988 
30989  result = (btCompoundShape *)((Mezzanine::Physics::CompoundCollisionShape const *)arg1)->GetBulletCompoundShape();
30990  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCompoundShape,0); SWIG_arg++;
30991  return SWIG_arg;
30992 
30993  if(0) SWIG_fail;
30994 
30995 fail:
30996  lua_error(L);
30997  return SWIG_arg;
30998 }
30999 
31000 
31001 static int _wrap_CompoundCollisionShape_ProtoSerialize(lua_State* L) {
31002  int SWIG_arg = 0;
31004  XML::Node *arg2 = 0 ;
31005 
31006  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::ProtoSerialize",2,2)
31007  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::CompoundCollisionShape const *");
31008  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::ProtoSerialize",2,"XML::Node &");
31009 
31010  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
31011  SWIG_fail_ptr("CompoundCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
31012  }
31013 
31014 
31015  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
31016  SWIG_fail_ptr("CompoundCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
31017  }
31018 
31019  ((Mezzanine::Physics::CompoundCollisionShape const *)arg1)->ProtoSerialize(*arg2);
31020 
31021  return SWIG_arg;
31022 
31023  if(0) SWIG_fail;
31024 
31025 fail:
31026  lua_error(L);
31027  return SWIG_arg;
31028 }
31029 
31030 
31031 static int _wrap_CompoundCollisionShape_ProtoDeSerialize(lua_State* L) {
31032  int SWIG_arg = 0;
31034  XML::Node *arg2 = 0 ;
31035 
31036  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::ProtoDeSerialize",2,2)
31037  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::CompoundCollisionShape *");
31038  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CompoundCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
31039 
31040  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,0))){
31041  SWIG_fail_ptr("CompoundCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape);
31042  }
31043 
31044 
31045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
31046  SWIG_fail_ptr("CompoundCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
31047  }
31048 
31049  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
31050 
31051  return SWIG_arg;
31052 
31053  if(0) SWIG_fail;
31054 
31055 fail:
31056  lua_error(L);
31057  return SWIG_arg;
31058 }
31059 
31060 
31061 static int _wrap_CompoundCollisionShape_SerializableName(lua_State* L) {
31062  int SWIG_arg = 0;
31063  Mezzanine::String result;
31064 
31065  SWIG_check_num_args("Mezzanine::Physics::CompoundCollisionShape::SerializableName",0,0)
31066  result = Mezzanine::Physics::CompoundCollisionShape::SerializableName();
31067  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
31068  return SWIG_arg;
31069 
31070  if(0) SWIG_fail;
31071 
31072 fail:
31073  lua_error(L);
31074  return SWIG_arg;
31075 }
31076 
31077 
31078 static void swig_delete_CompoundCollisionShape(void *obj) {
31080 delete arg1;
31081 }
31082 static swig_lua_method swig_Mezzanine_Physics_CompoundCollisionShape_methods[] = {
31083  {"AddChildShape", _wrap_CompoundCollisionShape_AddChildShape},
31084  {"GetNumChildren", _wrap_CompoundCollisionShape_GetNumChildren},
31085  {"GetChild", _wrap_CompoundCollisionShape_GetChild},
31086  {"RemoveChildShape", _wrap_CompoundCollisionShape_RemoveChildShape},
31087  {"GetType", _wrap_CompoundCollisionShape_GetType},
31088  {"GetBulletCompoundShape", _wrap_CompoundCollisionShape_GetBulletCompoundShape},
31089  {"ProtoSerialize", _wrap_CompoundCollisionShape_ProtoSerialize},
31090  {"ProtoDeSerialize", _wrap_CompoundCollisionShape_ProtoDeSerialize},
31091  {0,0}
31092 };
31093 static swig_lua_attribute swig_Mezzanine_Physics_CompoundCollisionShape_attributes[] = {
31094  {0,0,0}
31095 };
31096 static swig_lua_class *swig_Mezzanine_Physics_CompoundCollisionShape_bases[] = {0,0};
31097 static const char *swig_Mezzanine_Physics_CompoundCollisionShape_base_names[] = {"Mezzanine::Physics::CollisionShape *",0};
31098 static swig_lua_class _wrap_class_Mezzanine_Physics_CompoundCollisionShape = { "CompoundCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__CompoundCollisionShape,_wrap_new_CompoundCollisionShape, swig_delete_CompoundCollisionShape, swig_Mezzanine_Physics_CompoundCollisionShape_methods, swig_Mezzanine_Physics_CompoundCollisionShape_attributes, swig_Mezzanine_Physics_CompoundCollisionShape_bases, swig_Mezzanine_Physics_CompoundCollisionShape_base_names };
31099 
31100 static int _wrap_new_ConeCollisionShape__SWIG_0(lua_State* L) {
31101  int SWIG_arg = 0;
31102  Mezzanine::String *arg1 = 0 ;
31103  Mezzanine::Real *arg2 = 0 ;
31104  Mezzanine::Real *arg3 = 0 ;
31105  Mezzanine::Physics::Vector3 *arg4 = 0 ;
31106  Mezzanine::String temp1 ;
31107  Mezzanine::Real temp2 ;
31108  Mezzanine::Real temp3 ;
31110 
31111  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",4,4)
31112  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",1,"Mezzanine::String const &");
31113  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",2,"Mezzanine::Real const &");
31114  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",3,"Mezzanine::Real const &");
31115  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",4,"Mezzanine::Physics::Vector3 const &");
31116  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
31117  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
31118  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
31119 
31120  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
31121  SWIG_fail_ptr("new_ConeCollisionShape",4,SWIGTYPE_p_Mezzanine__Vector3);
31122  }
31123 
31125  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,1); SWIG_arg++;
31126  return SWIG_arg;
31127 
31128  if(0) SWIG_fail;
31129 
31130 fail:
31131  lua_error(L);
31132  return SWIG_arg;
31133 }
31134 
31135 
31136 static int _wrap_new_ConeCollisionShape__SWIG_1(lua_State* L) {
31137  int SWIG_arg = 0;
31138  Mezzanine::String *arg1 = 0 ;
31139  Mezzanine::Real *arg2 = 0 ;
31140  Mezzanine::Real *arg3 = 0 ;
31142  Mezzanine::String temp1 ;
31143  Mezzanine::Real temp2 ;
31144  Mezzanine::Real temp3 ;
31146 
31147  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",4,4)
31148  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",1,"Mezzanine::String const &");
31149  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",2,"Mezzanine::Real const &");
31150  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",3,"Mezzanine::Real const &");
31151  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",4,"Mezzanine::StandardAxis");
31152  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
31153  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
31154  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
31155  arg4 = (Mezzanine::StandardAxis)(int)lua_tonumber(L, 4);
31156  result = (Mezzanine::Physics::ConeCollisionShape *)new Mezzanine::Physics::ConeCollisionShape((Mezzanine::String const &)*arg1,(Mezzanine::Real const &)*arg2,(Mezzanine::Real const &)*arg3,arg4);
31157  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,1); SWIG_arg++;
31158  return SWIG_arg;
31159 
31160  if(0) SWIG_fail;
31161 
31162 fail:
31163  lua_error(L);
31164  return SWIG_arg;
31165 }
31166 
31167 
31168 static int _wrap_new_ConeCollisionShape__SWIG_2(lua_State* L) {
31169  int SWIG_arg = 0;
31170  Mezzanine::String *arg1 = 0 ;
31171  btConeShape *arg2 = (btConeShape *) 0 ;
31172  Mezzanine::String temp1 ;
31174 
31175  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",2,2)
31176  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",1,"Mezzanine::String const &");
31177  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",2,"btConeShape *");
31178  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
31179 
31180  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btConeShape,0))){
31181  SWIG_fail_ptr("new_ConeCollisionShape",2,SWIGTYPE_p_btConeShape);
31182  }
31183 
31185  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,1); SWIG_arg++;
31186  return SWIG_arg;
31187 
31188  if(0) SWIG_fail;
31189 
31190 fail:
31191  lua_error(L);
31192  return SWIG_arg;
31193 }
31194 
31195 
31196 static int _wrap_new_ConeCollisionShape__SWIG_3(lua_State* L) {
31197  int SWIG_arg = 0;
31198  XML::Node arg1 ;
31199  XML::Node *argp1 ;
31201 
31202  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",1,1)
31203  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape",1,"XML::Node");
31204 
31205  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
31206  SWIG_fail_ptr("new_ConeCollisionShape",1,SWIGTYPE_p_XML__Node);
31207  }
31208  arg1 = *argp1;
31209 
31211  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,1); SWIG_arg++;
31212  return SWIG_arg;
31213 
31214  if(0) SWIG_fail;
31215 
31216 fail:
31217  lua_error(L);
31218  return SWIG_arg;
31219 }
31220 
31221 
31222 static int _wrap_new_ConeCollisionShape(lua_State* L) {
31223  int argc;
31224  int argv[5]={
31225  1,2,3,4,5
31226  };
31227 
31228  argc = lua_gettop(L);
31229  if (argc == 1) {
31230  int _v;
31231  {
31232  void *ptr;
31233  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
31234  _v = 0;
31235  } else {
31236  _v = 1;
31237  }
31238  }
31239  if (_v) {
31240  return _wrap_new_ConeCollisionShape__SWIG_3(L);
31241  }
31242  }
31243  if (argc == 2) {
31244  int _v;
31245  {
31246  _v = lua_isstring(L,argv[0]);
31247  }
31248  if (_v) {
31249  {
31250  void *ptr;
31251  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btConeShape, 0)) {
31252  _v = 0;
31253  } else {
31254  _v = 1;
31255  }
31256  }
31257  if (_v) {
31258  return _wrap_new_ConeCollisionShape__SWIG_2(L);
31259  }
31260  }
31261  }
31262  if (argc == 4) {
31263  int _v;
31264  {
31265  _v = lua_isstring(L,argv[0]);
31266  }
31267  if (_v) {
31268  {
31269  _v = lua_isnumber(L,argv[1]);
31270  }
31271  if (_v) {
31272  {
31273  _v = lua_isnumber(L,argv[2]);
31274  }
31275  if (_v) {
31276  {
31277  void *ptr;
31278  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
31279  _v = 0;
31280  } else {
31281  _v = 1;
31282  }
31283  }
31284  if (_v) {
31285  return _wrap_new_ConeCollisionShape__SWIG_0(L);
31286  }
31287  }
31288  }
31289  }
31290  }
31291  if (argc == 4) {
31292  int _v;
31293  {
31294  _v = lua_isstring(L,argv[0]);
31295  }
31296  if (_v) {
31297  {
31298  _v = lua_isnumber(L,argv[1]);
31299  }
31300  if (_v) {
31301  {
31302  _v = lua_isnumber(L,argv[2]);
31303  }
31304  if (_v) {
31305  {
31306  _v = lua_isnumber(L,argv[3]);
31307  }
31308  if (_v) {
31309  return _wrap_new_ConeCollisionShape__SWIG_1(L);
31310  }
31311  }
31312  }
31313  }
31314  }
31315 
31316  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ConeCollisionShape'\n"
31317  " Possible C/C++ prototypes are:\n"
31318  " Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape(Mezzanine::String const &,Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::Physics::Vector3 const &)\n"
31319  " Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape(Mezzanine::String const &,Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::StandardAxis)\n"
31320  " Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape(Mezzanine::String const &,btConeShape *)\n"
31321  " Mezzanine::Physics::ConeCollisionShape::ConeCollisionShape(XML::Node)\n");
31322  lua_error(L);return 0;
31323 }
31324 
31325 
31326 static int _wrap_ConeCollisionShape_GetRadius(lua_State* L) {
31327  int SWIG_arg = 0;
31329  Mezzanine::Real result;
31330 
31331  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetRadius",1,1)
31332  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetRadius",1,"Mezzanine::Physics::ConeCollisionShape const *");
31333 
31334  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31335  SWIG_fail_ptr("ConeCollisionShape_GetRadius",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31336  }
31337 
31338  result = (Mezzanine::Real)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetRadius();
31339  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
31340  return SWIG_arg;
31341 
31342  if(0) SWIG_fail;
31343 
31344 fail:
31345  lua_error(L);
31346  return SWIG_arg;
31347 }
31348 
31349 
31350 static int _wrap_ConeCollisionShape_GetHeight(lua_State* L) {
31351  int SWIG_arg = 0;
31353  Mezzanine::Real result;
31354 
31355  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetHeight",1,1)
31356  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetHeight",1,"Mezzanine::Physics::ConeCollisionShape const *");
31357 
31358  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31359  SWIG_fail_ptr("ConeCollisionShape_GetHeight",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31360  }
31361 
31362  result = (Mezzanine::Real)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetHeight();
31363  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
31364  return SWIG_arg;
31365 
31366  if(0) SWIG_fail;
31367 
31368 fail:
31369  lua_error(L);
31370  return SWIG_arg;
31371 }
31372 
31373 
31374 static int _wrap_ConeCollisionShape_GetCleanRadius(lua_State* L) {
31375  int SWIG_arg = 0;
31377  Mezzanine::Real result;
31378 
31379  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetCleanRadius",1,1)
31380  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetCleanRadius",1,"Mezzanine::Physics::ConeCollisionShape const *");
31381 
31382  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31383  SWIG_fail_ptr("ConeCollisionShape_GetCleanRadius",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31384  }
31385 
31386  result = (Mezzanine::Real)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetCleanRadius();
31387  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
31388  return SWIG_arg;
31389 
31390  if(0) SWIG_fail;
31391 
31392 fail:
31393  lua_error(L);
31394  return SWIG_arg;
31395 }
31396 
31397 
31398 static int _wrap_ConeCollisionShape_GetCleanHeight(lua_State* L) {
31399  int SWIG_arg = 0;
31401  Mezzanine::Real result;
31402 
31403  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetCleanHeight",1,1)
31404  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetCleanHeight",1,"Mezzanine::Physics::ConeCollisionShape const *");
31405 
31406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31407  SWIG_fail_ptr("ConeCollisionShape_GetCleanHeight",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31408  }
31409 
31410  result = (Mezzanine::Real)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetCleanHeight();
31411  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
31412  return SWIG_arg;
31413 
31414  if(0) SWIG_fail;
31415 
31416 fail:
31417  lua_error(L);
31418  return SWIG_arg;
31419 }
31420 
31421 
31422 static int _wrap_ConeCollisionShape_GetRadiusScaling(lua_State* L) {
31423  int SWIG_arg = 0;
31425  Mezzanine::Real result;
31426 
31427  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetRadiusScaling",1,1)
31428  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetRadiusScaling",1,"Mezzanine::Physics::ConeCollisionShape const *");
31429 
31430  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31431  SWIG_fail_ptr("ConeCollisionShape_GetRadiusScaling",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31432  }
31433 
31434  result = (Mezzanine::Real)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetRadiusScaling();
31435  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
31436  return SWIG_arg;
31437 
31438  if(0) SWIG_fail;
31439 
31440 fail:
31441  lua_error(L);
31442  return SWIG_arg;
31443 }
31444 
31445 
31446 static int _wrap_ConeCollisionShape_GetHeightScaling(lua_State* L) {
31447  int SWIG_arg = 0;
31449  Mezzanine::Real result;
31450 
31451  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetHeightScaling",1,1)
31452  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetHeightScaling",1,"Mezzanine::Physics::ConeCollisionShape const *");
31453 
31454  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31455  SWIG_fail_ptr("ConeCollisionShape_GetHeightScaling",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31456  }
31457 
31458  result = (Mezzanine::Real)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetHeightScaling();
31459  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
31460  return SWIG_arg;
31461 
31462  if(0) SWIG_fail;
31463 
31464 fail:
31465  lua_error(L);
31466  return SWIG_arg;
31467 }
31468 
31469 
31470 static int _wrap_ConeCollisionShape_GetUpAxis(lua_State* L) {
31471  int SWIG_arg = 0;
31474 
31475  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetUpAxis",1,1)
31476  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetUpAxis",1,"Mezzanine::Physics::ConeCollisionShape const *");
31477 
31478  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31479  SWIG_fail_ptr("ConeCollisionShape_GetUpAxis",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31480  }
31481 
31482  result = ((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetUpAxis();
31483  {
31485  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
31486  }
31487  return SWIG_arg;
31488 
31489  if(0) SWIG_fail;
31490 
31491 fail:
31492  lua_error(L);
31493  return SWIG_arg;
31494 }
31495 
31496 
31497 static int _wrap_ConeCollisionShape_GetUpStandardAxis(lua_State* L) {
31498  int SWIG_arg = 0;
31500  Mezzanine::StandardAxis result;
31501 
31502  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetUpStandardAxis",1,1)
31503  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetUpStandardAxis",1,"Mezzanine::Physics::ConeCollisionShape const *");
31504 
31505  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31506  SWIG_fail_ptr("ConeCollisionShape_GetUpStandardAxis",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31507  }
31508 
31509  result = (Mezzanine::StandardAxis)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetUpStandardAxis();
31510  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
31511  return SWIG_arg;
31512 
31513  if(0) SWIG_fail;
31514 
31515 fail:
31516  lua_error(L);
31517  return SWIG_arg;
31518 }
31519 
31520 
31521 static int _wrap_ConeCollisionShape_GetType(lua_State* L) {
31522  int SWIG_arg = 0;
31525 
31526  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetType",1,1)
31527  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetType",1,"Mezzanine::Physics::ConeCollisionShape const *");
31528 
31529  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31530  SWIG_fail_ptr("ConeCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31531  }
31532 
31534  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
31535  return SWIG_arg;
31536 
31537  if(0) SWIG_fail;
31538 
31539 fail:
31540  lua_error(L);
31541  return SWIG_arg;
31542 }
31543 
31544 
31545 static int _wrap_ConeCollisionShape_GetBulletConeShape(lua_State* L) {
31546  int SWIG_arg = 0;
31548  btConeShape *result = 0 ;
31549 
31550  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::GetBulletConeShape",1,1)
31551  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::GetBulletConeShape",1,"Mezzanine::Physics::ConeCollisionShape const *");
31552 
31553  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31554  SWIG_fail_ptr("ConeCollisionShape_GetBulletConeShape",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31555  }
31556 
31557  result = (btConeShape *)((Mezzanine::Physics::ConeCollisionShape const *)arg1)->GetBulletConeShape();
31558  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btConeShape,0); SWIG_arg++;
31559  return SWIG_arg;
31560 
31561  if(0) SWIG_fail;
31562 
31563 fail:
31564  lua_error(L);
31565  return SWIG_arg;
31566 }
31567 
31568 
31569 static int _wrap_ConeCollisionShape_ProtoSerialize(lua_State* L) {
31570  int SWIG_arg = 0;
31572  XML::Node *arg2 = 0 ;
31573 
31574  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::ProtoSerialize",2,2)
31575  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::ConeCollisionShape const *");
31576  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ProtoSerialize",2,"XML::Node &");
31577 
31578  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31579  SWIG_fail_ptr("ConeCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31580  }
31581 
31582 
31583  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
31584  SWIG_fail_ptr("ConeCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
31585  }
31586 
31587  ((Mezzanine::Physics::ConeCollisionShape const *)arg1)->ProtoSerialize(*arg2);
31588 
31589  return SWIG_arg;
31590 
31591  if(0) SWIG_fail;
31592 
31593 fail:
31594  lua_error(L);
31595  return SWIG_arg;
31596 }
31597 
31598 
31599 static int _wrap_ConeCollisionShape_ProtoDeSerialize(lua_State* L) {
31600  int SWIG_arg = 0;
31602  XML::Node *arg2 = 0 ;
31603 
31604  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::ProtoDeSerialize",2,2)
31605  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::ConeCollisionShape *");
31606  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConeCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
31607 
31608  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,0))){
31609  SWIG_fail_ptr("ConeCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape);
31610  }
31611 
31612 
31613  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
31614  SWIG_fail_ptr("ConeCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
31615  }
31616 
31617  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
31618 
31619  return SWIG_arg;
31620 
31621  if(0) SWIG_fail;
31622 
31623 fail:
31624  lua_error(L);
31625  return SWIG_arg;
31626 }
31627 
31628 
31629 static int _wrap_ConeCollisionShape_SerializableName(lua_State* L) {
31630  int SWIG_arg = 0;
31631  Mezzanine::String result;
31632 
31633  SWIG_check_num_args("Mezzanine::Physics::ConeCollisionShape::SerializableName",0,0)
31634  result = Mezzanine::Physics::ConeCollisionShape::SerializableName();
31635  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
31636  return SWIG_arg;
31637 
31638  if(0) SWIG_fail;
31639 
31640 fail:
31641  lua_error(L);
31642  return SWIG_arg;
31643 }
31644 
31645 
31646 static void swig_delete_ConeCollisionShape(void *obj) {
31648 delete arg1;
31649 }
31650 static swig_lua_method swig_Mezzanine_Physics_ConeCollisionShape_methods[] = {
31651  {"GetRadius", _wrap_ConeCollisionShape_GetRadius},
31652  {"GetHeight", _wrap_ConeCollisionShape_GetHeight},
31653  {"GetCleanRadius", _wrap_ConeCollisionShape_GetCleanRadius},
31654  {"GetCleanHeight", _wrap_ConeCollisionShape_GetCleanHeight},
31655  {"GetRadiusScaling", _wrap_ConeCollisionShape_GetRadiusScaling},
31656  {"GetHeightScaling", _wrap_ConeCollisionShape_GetHeightScaling},
31657  {"GetUpAxis", _wrap_ConeCollisionShape_GetUpAxis},
31658  {"GetUpStandardAxis", _wrap_ConeCollisionShape_GetUpStandardAxis},
31659  {"GetType", _wrap_ConeCollisionShape_GetType},
31660  {"GetBulletConeShape", _wrap_ConeCollisionShape_GetBulletConeShape},
31661  {"ProtoSerialize", _wrap_ConeCollisionShape_ProtoSerialize},
31662  {"ProtoDeSerialize", _wrap_ConeCollisionShape_ProtoDeSerialize},
31663  {0,0}
31664 };
31665 static swig_lua_attribute swig_Mezzanine_Physics_ConeCollisionShape_attributes[] = {
31666  {0,0,0}
31667 };
31668 static swig_lua_class *swig_Mezzanine_Physics_ConeCollisionShape_bases[] = {0,0};
31669 static const char *swig_Mezzanine_Physics_ConeCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
31670 static swig_lua_class _wrap_class_Mezzanine_Physics_ConeCollisionShape = { "ConeCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__ConeCollisionShape,_wrap_new_ConeCollisionShape, swig_delete_ConeCollisionShape, swig_Mezzanine_Physics_ConeCollisionShape_methods, swig_Mezzanine_Physics_ConeCollisionShape_attributes, swig_Mezzanine_Physics_ConeCollisionShape_bases, swig_Mezzanine_Physics_ConeCollisionShape_base_names };
31671 
31672 static int _wrap_Transform_Location_set(lua_State* L) {
31673  int SWIG_arg = 0;
31675  Mezzanine::Vector3 *arg2 = (Mezzanine::Vector3 *) 0 ;
31676 
31677  SWIG_check_num_args("Mezzanine::Transform::Location",2,2)
31678  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::Location",1,"Mezzanine::Transform *");
31679  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Transform::Location",2,"Mezzanine::Vector3 *");
31680 
31681  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
31682  SWIG_fail_ptr("Transform_Location_set",1,SWIGTYPE_p_Mezzanine__Transform);
31683  }
31684 
31685 
31686  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
31687  SWIG_fail_ptr("Transform_Location_set",2,SWIGTYPE_p_Mezzanine__Vector3);
31688  }
31689 
31690  if (arg1) (arg1)->Location = *arg2;
31691 
31692  return SWIG_arg;
31693 
31694  if(0) SWIG_fail;
31695 
31696 fail:
31697  lua_error(L);
31698  return SWIG_arg;
31699 }
31700 
31701 
31702 static int _wrap_Transform_Location_get(lua_State* L) {
31703  int SWIG_arg = 0;
31705  Mezzanine::Vector3 *result = 0 ;
31706 
31707  SWIG_check_num_args("Mezzanine::Transform::Location",1,1)
31708  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::Location",1,"Mezzanine::Transform *");
31709 
31710  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
31711  SWIG_fail_ptr("Transform_Location_get",1,SWIGTYPE_p_Mezzanine__Transform);
31712  }
31713 
31714  result = (Mezzanine::Vector3 *)& ((arg1)->Location);
31715  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
31716  return SWIG_arg;
31717 
31718  if(0) SWIG_fail;
31719 
31720 fail:
31721  lua_error(L);
31722  return SWIG_arg;
31723 }
31724 
31725 
31726 static int _wrap_Transform_Rotation_set(lua_State* L) {
31727  int SWIG_arg = 0;
31730 
31731  SWIG_check_num_args("Mezzanine::Transform::Rotation",2,2)
31732  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::Rotation",1,"Mezzanine::Transform *");
31733  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Transform::Rotation",2,"Mezzanine::Quaternion *");
31734 
31735  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
31736  SWIG_fail_ptr("Transform_Rotation_set",1,SWIGTYPE_p_Mezzanine__Transform);
31737  }
31738 
31739 
31740  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
31741  SWIG_fail_ptr("Transform_Rotation_set",2,SWIGTYPE_p_Mezzanine__Quaternion);
31742  }
31743 
31744  if (arg1) (arg1)->Rotation = *arg2;
31745 
31746  return SWIG_arg;
31747 
31748  if(0) SWIG_fail;
31749 
31750 fail:
31751  lua_error(L);
31752  return SWIG_arg;
31753 }
31754 
31755 
31756 static int _wrap_Transform_Rotation_get(lua_State* L) {
31757  int SWIG_arg = 0;
31759  Mezzanine::Quaternion *result = 0 ;
31760 
31761  SWIG_check_num_args("Mezzanine::Transform::Rotation",1,1)
31762  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::Rotation",1,"Mezzanine::Transform *");
31763 
31764  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
31765  SWIG_fail_ptr("Transform_Rotation_get",1,SWIGTYPE_p_Mezzanine__Transform);
31766  }
31767 
31768  result = (Mezzanine::Quaternion *)& ((arg1)->Rotation);
31769  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Quaternion,0); SWIG_arg++;
31770  return SWIG_arg;
31771 
31772  if(0) SWIG_fail;
31773 
31774 fail:
31775  lua_error(L);
31776  return SWIG_arg;
31777 }
31778 
31779 
31780 static int _wrap_new_Transform__SWIG_0(lua_State* L) {
31781  int SWIG_arg = 0;
31782  Mezzanine::Vector3 *arg1 = 0 ;
31783  Mezzanine::Quaternion *arg2 = 0 ;
31784  Mezzanine::Transform *result = 0 ;
31785 
31786  SWIG_check_num_args("Mezzanine::Transform::Transform",2,2)
31787  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Transform::Transform",1,"Mezzanine::Vector3 const &");
31788  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::Transform",2,"Mezzanine::Quaternion const &");
31789 
31790  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
31791  SWIG_fail_ptr("new_Transform",1,SWIGTYPE_p_Mezzanine__Vector3);
31792  }
31793 
31794 
31795  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
31796  SWIG_fail_ptr("new_Transform",2,SWIGTYPE_p_Mezzanine__Quaternion);
31797  }
31798 
31799  result = (Mezzanine::Transform *)new Mezzanine::Transform((Mezzanine::Vector3 const &)*arg1,(Mezzanine::Quaternion const &)*arg2);
31800  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
31801  return SWIG_arg;
31802 
31803  if(0) SWIG_fail;
31804 
31805 fail:
31806  lua_error(L);
31807  return SWIG_arg;
31808 }
31809 
31810 
31811 static int _wrap_new_Transform__SWIG_1(lua_State* L) {
31812  int SWIG_arg = 0;
31813  Mezzanine::Vector3 *arg1 = 0 ;
31814  Mezzanine::Transform *result = 0 ;
31815 
31816  SWIG_check_num_args("Mezzanine::Transform::Transform",1,1)
31817  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Transform::Transform",1,"Mezzanine::Vector3 const &");
31818 
31819  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
31820  SWIG_fail_ptr("new_Transform",1,SWIGTYPE_p_Mezzanine__Vector3);
31821  }
31822 
31823  result = (Mezzanine::Transform *)new Mezzanine::Transform((Mezzanine::Vector3 const &)*arg1);
31824  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
31825  return SWIG_arg;
31826 
31827  if(0) SWIG_fail;
31828 
31829 fail:
31830  lua_error(L);
31831  return SWIG_arg;
31832 }
31833 
31834 
31835 static int _wrap_new_Transform__SWIG_2(lua_State* L) {
31836  int SWIG_arg = 0;
31837  Mezzanine::Transform *result = 0 ;
31838 
31839  SWIG_check_num_args("Mezzanine::Transform::Transform",0,0)
31840  result = (Mezzanine::Transform *)new Mezzanine::Transform();
31841  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
31842  return SWIG_arg;
31843 
31844  if(0) SWIG_fail;
31845 
31846 fail:
31847  lua_error(L);
31848  return SWIG_arg;
31849 }
31850 
31851 
31852 static int _wrap_new_Transform__SWIG_3(lua_State* L) {
31853  int SWIG_arg = 0;
31854  btTransform *arg1 = 0 ;
31855  Mezzanine::Transform *result = 0 ;
31856 
31857  SWIG_check_num_args("Mezzanine::Transform::Transform",1,1)
31858  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Transform::Transform",1,"btTransform const &");
31859 
31860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_btTransform,0))){
31861  SWIG_fail_ptr("new_Transform",1,SWIGTYPE_p_btTransform);
31862  }
31863 
31864  result = (Mezzanine::Transform *)new Mezzanine::Transform((btTransform const &)*arg1);
31865  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
31866  return SWIG_arg;
31867 
31868  if(0) SWIG_fail;
31869 
31870 fail:
31871  lua_error(L);
31872  return SWIG_arg;
31873 }
31874 
31875 
31876 static int _wrap_new_Transform__SWIG_4(lua_State* L) {
31877  int SWIG_arg = 0;
31878  Mezzanine::Transform *arg1 = 0 ;
31879  Mezzanine::Transform *result = 0 ;
31880 
31881  SWIG_check_num_args("Mezzanine::Transform::Transform",1,1)
31882  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Transform::Transform",1,"Mezzanine::Transform const &");
31883 
31884  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
31885  SWIG_fail_ptr("new_Transform",1,SWIGTYPE_p_Mezzanine__Transform);
31886  }
31887 
31888  result = (Mezzanine::Transform *)new Mezzanine::Transform((Mezzanine::Transform const &)*arg1);
31889  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
31890  return SWIG_arg;
31891 
31892  if(0) SWIG_fail;
31893 
31894 fail:
31895  lua_error(L);
31896  return SWIG_arg;
31897 }
31898 
31899 
31900 static int _wrap_new_Transform(lua_State* L) {
31901  int argc;
31902  int argv[3]={
31903  1,2,3
31904  };
31905 
31906  argc = lua_gettop(L);
31907  if (argc == 0) {
31908  return _wrap_new_Transform__SWIG_2(L);
31909  }
31910  if (argc == 1) {
31911  int _v;
31912  {
31913  void *ptr;
31914  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
31915  _v = 0;
31916  } else {
31917  _v = 1;
31918  }
31919  }
31920  if (_v) {
31921  return _wrap_new_Transform__SWIG_1(L);
31922  }
31923  }
31924  if (argc == 1) {
31925  int _v;
31926  {
31927  void *ptr;
31928  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_btTransform, 0)) {
31929  _v = 0;
31930  } else {
31931  _v = 1;
31932  }
31933  }
31934  if (_v) {
31935  return _wrap_new_Transform__SWIG_3(L);
31936  }
31937  }
31938  if (argc == 1) {
31939  int _v;
31940  {
31941  void *ptr;
31942  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
31943  _v = 0;
31944  } else {
31945  _v = 1;
31946  }
31947  }
31948  if (_v) {
31949  return _wrap_new_Transform__SWIG_4(L);
31950  }
31951  }
31952  if (argc == 2) {
31953  int _v;
31954  {
31955  void *ptr;
31956  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
31957  _v = 0;
31958  } else {
31959  _v = 1;
31960  }
31961  }
31962  if (_v) {
31963  {
31964  void *ptr;
31965  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
31966  _v = 0;
31967  } else {
31968  _v = 1;
31969  }
31970  }
31971  if (_v) {
31972  return _wrap_new_Transform__SWIG_0(L);
31973  }
31974  }
31975  }
31976 
31977  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Transform'\n"
31978  " Possible C/C++ prototypes are:\n"
31979  " Mezzanine::Transform::Transform(Mezzanine::Vector3 const &,Mezzanine::Quaternion const &)\n"
31980  " Mezzanine::Transform::Transform(Mezzanine::Vector3 const &)\n"
31981  " Mezzanine::Transform::Transform()\n"
31982  " Mezzanine::Transform::Transform(btTransform const &)\n"
31983  " Mezzanine::Transform::Transform(Mezzanine::Transform const &)\n");
31984  lua_error(L);return 0;
31985 }
31986 
31987 
31988 static int _wrap_Transform_SetIdentity(lua_State* L) {
31989  int SWIG_arg = 0;
31991 
31992  SWIG_check_num_args("Mezzanine::Transform::SetIdentity",1,1)
31993  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::SetIdentity",1,"Mezzanine::Transform *");
31994 
31995  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
31996  SWIG_fail_ptr("Transform_SetIdentity",1,SWIGTYPE_p_Mezzanine__Transform);
31997  }
31998 
31999  (arg1)->SetIdentity();
32000 
32001  return SWIG_arg;
32002 
32003  if(0) SWIG_fail;
32004 
32005 fail:
32006  lua_error(L);
32007  return SWIG_arg;
32008 }
32009 
32010 
32011 static int _wrap_Transform_GetBulletTransform(lua_State* L) {
32012  int SWIG_arg = 0;
32014  btTransform result;
32015 
32016  SWIG_check_num_args("Mezzanine::Transform::GetBulletTransform",1,1)
32017  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::GetBulletTransform",1,"Mezzanine::Transform const *");
32018 
32019  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32020  SWIG_fail_ptr("Transform_GetBulletTransform",1,SWIGTYPE_p_Mezzanine__Transform);
32021  }
32022 
32023  result = ((Mezzanine::Transform const *)arg1)->GetBulletTransform();
32024  {
32025  btTransform * resultptr = new btTransform((const btTransform &) result);
32026  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_btTransform,1); SWIG_arg++;
32027  }
32028  return SWIG_arg;
32029 
32030  if(0) SWIG_fail;
32031 
32032 fail:
32033  lua_error(L);
32034  return SWIG_arg;
32035 }
32036 
32037 
32038 static int _wrap_Transform_ExtractBulletTransform(lua_State* L) {
32039  int SWIG_arg = 0;
32041  btTransform *arg2 = 0 ;
32042 
32043  SWIG_check_num_args("Mezzanine::Transform::ExtractBulletTransform",2,2)
32044  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::ExtractBulletTransform",1,"Mezzanine::Transform *");
32045  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::ExtractBulletTransform",2,"btTransform const &");
32046 
32047  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32048  SWIG_fail_ptr("Transform_ExtractBulletTransform",1,SWIGTYPE_p_Mezzanine__Transform);
32049  }
32050 
32051 
32052  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btTransform,0))){
32053  SWIG_fail_ptr("Transform_ExtractBulletTransform",2,SWIGTYPE_p_btTransform);
32054  }
32055 
32056  (arg1)->ExtractBulletTransform((btTransform const &)*arg2);
32057 
32058  return SWIG_arg;
32059 
32060  if(0) SWIG_fail;
32061 
32062 fail:
32063  lua_error(L);
32064  return SWIG_arg;
32065 }
32066 
32067 
32068 static int _wrap_Transform_ProtoSerialize(lua_State* L) {
32069  int SWIG_arg = 0;
32071  XML::Node *arg2 = 0 ;
32072 
32073  SWIG_check_num_args("Mezzanine::Transform::ProtoSerialize",2,2)
32074  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::ProtoSerialize",1,"Mezzanine::Transform const *");
32075  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::ProtoSerialize",2,"XML::Node &");
32076 
32077  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32078  SWIG_fail_ptr("Transform_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Transform);
32079  }
32080 
32081 
32082  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
32083  SWIG_fail_ptr("Transform_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
32084  }
32085 
32086  ((Mezzanine::Transform const *)arg1)->ProtoSerialize(*arg2);
32087 
32088  return SWIG_arg;
32089 
32090  if(0) SWIG_fail;
32091 
32092 fail:
32093  lua_error(L);
32094  return SWIG_arg;
32095 }
32096 
32097 
32098 static int _wrap_Transform_ProtoDeSerialize(lua_State* L) {
32099  int SWIG_arg = 0;
32101  XML::Node *arg2 = 0 ;
32102 
32103  SWIG_check_num_args("Mezzanine::Transform::ProtoDeSerialize",2,2)
32104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::ProtoDeSerialize",1,"Mezzanine::Transform *");
32105  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::ProtoDeSerialize",2,"XML::Node const &");
32106 
32107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32108  SWIG_fail_ptr("Transform_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Transform);
32109  }
32110 
32111 
32112  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
32113  SWIG_fail_ptr("Transform_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
32114  }
32115 
32116  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
32117 
32118  return SWIG_arg;
32119 
32120  if(0) SWIG_fail;
32121 
32122 fail:
32123  lua_error(L);
32124  return SWIG_arg;
32125 }
32126 
32127 
32128 static int _wrap_Transform_SerializableName(lua_State* L) {
32129  int SWIG_arg = 0;
32130  Mezzanine::String result;
32131 
32132  SWIG_check_num_args("Mezzanine::Transform::SerializableName",0,0)
32133  result = Mezzanine::Transform::SerializableName();
32134  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
32135  return SWIG_arg;
32136 
32137  if(0) SWIG_fail;
32138 
32139 fail:
32140  lua_error(L);
32141  return SWIG_arg;
32142 }
32143 
32144 
32145 static int _wrap_Transform___sub(lua_State* L) {
32146  int SWIG_arg = 0;
32148  Mezzanine::Transform *arg2 = 0 ;
32149  Mezzanine::Transform result;
32150 
32151  SWIG_check_num_args("Mezzanine::Transform::operator -",2,2)
32152  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::operator -",1,"Mezzanine::Transform const *");
32153  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::operator -",2,"Mezzanine::Transform const &");
32154 
32155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32156  SWIG_fail_ptr("Transform___sub",1,SWIGTYPE_p_Mezzanine__Transform);
32157  }
32158 
32159 
32160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
32161  SWIG_fail_ptr("Transform___sub",2,SWIGTYPE_p_Mezzanine__Transform);
32162  }
32163 
32164  result = ((Mezzanine::Transform const *)arg1)->operator -((Mezzanine::Transform const &)*arg2);
32165  {
32166  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
32167  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
32168  }
32169  return SWIG_arg;
32170 
32171  if(0) SWIG_fail;
32172 
32173 fail:
32174  lua_error(L);
32175  return SWIG_arg;
32176 }
32177 
32178 
32179 static int _wrap_Transform___add(lua_State* L) {
32180  int SWIG_arg = 0;
32182  Mezzanine::Transform *arg2 = 0 ;
32183  Mezzanine::Transform result;
32184 
32185  SWIG_check_num_args("Mezzanine::Transform::operator +",2,2)
32186  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::operator +",1,"Mezzanine::Transform const *");
32187  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::operator +",2,"Mezzanine::Transform const &");
32188 
32189  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32190  SWIG_fail_ptr("Transform___add",1,SWIGTYPE_p_Mezzanine__Transform);
32191  }
32192 
32193 
32194  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
32195  SWIG_fail_ptr("Transform___add",2,SWIGTYPE_p_Mezzanine__Transform);
32196  }
32197 
32198  result = ((Mezzanine::Transform const *)arg1)->operator +((Mezzanine::Transform const &)*arg2);
32199  {
32200  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
32201  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
32202  }
32203  return SWIG_arg;
32204 
32205  if(0) SWIG_fail;
32206 
32207 fail:
32208  lua_error(L);
32209  return SWIG_arg;
32210 }
32211 
32212 
32213 static int _wrap_Transform___mul(lua_State* L) {
32214  int SWIG_arg = 0;
32216  Mezzanine::Real arg2 ;
32217  Mezzanine::Transform result;
32218 
32219  SWIG_check_num_args("Mezzanine::Transform::operator *",2,2)
32220  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::operator *",1,"Mezzanine::Transform const *");
32221  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Transform::operator *",2,"Mezzanine::Real");
32222 
32223  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32224  SWIG_fail_ptr("Transform___mul",1,SWIGTYPE_p_Mezzanine__Transform);
32225  }
32226 
32227  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
32228  result = ((Mezzanine::Transform const *)arg1)->operator *(arg2);
32229  {
32230  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
32231  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
32232  }
32233  return SWIG_arg;
32234 
32235  if(0) SWIG_fail;
32236 
32237 fail:
32238  lua_error(L);
32239  return SWIG_arg;
32240 }
32241 
32242 
32243 static int _wrap_Transform___div(lua_State* L) {
32244  int SWIG_arg = 0;
32246  Mezzanine::Real arg2 ;
32247  Mezzanine::Transform result;
32248 
32249  SWIG_check_num_args("Mezzanine::Transform::operator /",2,2)
32250  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::operator /",1,"Mezzanine::Transform const *");
32251  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Transform::operator /",2,"Mezzanine::Real");
32252 
32253  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32254  SWIG_fail_ptr("Transform___div",1,SWIGTYPE_p_Mezzanine__Transform);
32255  }
32256 
32257  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
32258  result = ((Mezzanine::Transform const *)arg1)->operator /(arg2);
32259  {
32260  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
32261  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
32262  }
32263  return SWIG_arg;
32264 
32265  if(0) SWIG_fail;
32266 
32267 fail:
32268  lua_error(L);
32269  return SWIG_arg;
32270 }
32271 
32272 
32273 static int _wrap_Transform___le(lua_State* L) {
32274  int SWIG_arg = 0;
32276  Mezzanine::Transform *arg2 = 0 ;
32277  Mezzanine::Boole result;
32278 
32279  SWIG_check_num_args("Mezzanine::Transform::operator <=",2,2)
32280  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Transform::operator <=",1,"Mezzanine::Transform const *");
32281  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Transform::operator <=",2,"Mezzanine::Transform const &");
32282 
32283  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Transform,0))){
32284  SWIG_fail_ptr("Transform___le",1,SWIGTYPE_p_Mezzanine__Transform);
32285  }
32286 
32287 
32288  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
32289  SWIG_fail_ptr("Transform___le",2,SWIGTYPE_p_Mezzanine__Transform);
32290  }
32291 
32292  result = (Mezzanine::Boole)((Mezzanine::Transform const *)arg1)->operator <=((Mezzanine::Transform const &)*arg2);
32293  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32294  return SWIG_arg;
32295 
32296  if(0) SWIG_fail;
32297 
32298 fail:
32299  lua_error(L);
32300  return SWIG_arg;
32301 }
32302 
32303 
32304 static void swig_delete_Transform(void *obj) {
32306 delete arg1;
32307 }
32308 static swig_lua_method swig_Mezzanine_Transform_methods[] = {
32309  {"SetIdentity", _wrap_Transform_SetIdentity},
32310  {"GetBulletTransform", _wrap_Transform_GetBulletTransform},
32311  {"ExtractBulletTransform", _wrap_Transform_ExtractBulletTransform},
32312  {"ProtoSerialize", _wrap_Transform_ProtoSerialize},
32313  {"ProtoDeSerialize", _wrap_Transform_ProtoDeSerialize},
32314  {"__sub", _wrap_Transform___sub},
32315  {"__add", _wrap_Transform___add},
32316  {"__mul", _wrap_Transform___mul},
32317  {"__div", _wrap_Transform___div},
32318  {"__le", _wrap_Transform___le},
32319  {0,0}
32320 };
32321 static swig_lua_attribute swig_Mezzanine_Transform_attributes[] = {
32322  { "Location", _wrap_Transform_Location_get, _wrap_Transform_Location_set},
32323  { "Rotation", _wrap_Transform_Rotation_get, _wrap_Transform_Rotation_set},
32324  {0,0,0}
32325 };
32326 static swig_lua_class *swig_Mezzanine_Transform_bases[] = {0};
32327 static const char *swig_Mezzanine_Transform_base_names[] = {0};
32328 static swig_lua_class _wrap_class_Mezzanine_Transform = { "Transform", &SWIGTYPE_p_Mezzanine__Transform,_wrap_new_Transform, swig_delete_Transform, swig_Mezzanine_Transform_methods, swig_Mezzanine_Transform_attributes, swig_Mezzanine_Transform_bases, swig_Mezzanine_Transform_base_names };
32329 
32330 static int _wrap_ConstraintParamAsString(lua_State* L) {
32331  int SWIG_arg = 0;
32333  Mezzanine::String result;
32334 
32335  SWIG_check_num_args("Mezzanine::Physics::ConstraintParamAsString",1,1)
32336  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConstraintParamAsString",1,"Mezzanine::Physics::ConstraintParam");
32337  arg1 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 1);
32338  result = Mezzanine::Physics::ConstraintParamAsString(arg1);
32339  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
32340  return SWIG_arg;
32341 
32342  if(0) SWIG_fail;
32343 
32344 fail:
32345  lua_error(L);
32346  return SWIG_arg;
32347 }
32348 
32349 
32350 static int _wrap_StringAsConstraintParam(lua_State* L) {
32351  int SWIG_arg = 0;
32352  Mezzanine::String arg1 ;
32354 
32355  SWIG_check_num_args("Mezzanine::Physics::StringAsConstraintParam",1,1)
32356  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::StringAsConstraintParam",1,"Mezzanine::String");
32357  (&arg1)->assign(lua_tostring(L,1),lua_rawlen(L,1));
32358  result = (Mezzanine::Physics::ConstraintParam)Mezzanine::Physics::StringAsConstraintParam(arg1);
32359  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
32360  return SWIG_arg;
32361 
32362  if(0) SWIG_fail;
32363 
32364 fail:
32365  lua_error(L);
32366  return SWIG_arg;
32367 }
32368 
32369 
32370 static int _wrap_ConstraintParamCount_get(lua_State* L) {
32371  int SWIG_arg = 0;
32372  int result;
32373 
32374  SWIG_check_num_args("Mezzanine::Physics::ConstraintParamCount",0,0)
32375  result = (int)(int)Mezzanine::Physics::ConstraintParamCount;
32376  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
32377  return SWIG_arg;
32378 
32379  if(0) SWIG_fail;
32380 
32381 fail:
32382  lua_error(L);
32383  return SWIG_arg;
32384 }
32385 
32386 
32387 static int _wrap_char4ToAxis(lua_State* L) {
32388  int SWIG_arg = 0;
32389  char arg1 ;
32390  int result;
32391 
32392  SWIG_check_num_args("Mezzanine::Physics::char4ToAxis",1,1)
32393  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::char4ToAxis",1,"char");
32394  arg1 = (lua_tostring(L, 1))[0];
32395  result = (int)Mezzanine::Physics::char4ToAxis(arg1);
32396  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
32397  return SWIG_arg;
32398 
32399  if(0) SWIG_fail;
32400 
32401 fail:
32402  lua_error(L);
32403  return SWIG_arg;
32404 }
32405 
32406 
32407 static int _wrap_Constraint_GetProxyA(lua_State* L) {
32408  int SWIG_arg = 0;
32410  Mezzanine::Physics::RigidProxy *result = 0 ;
32411 
32412  SWIG_check_num_args("Mezzanine::Physics::Constraint::GetProxyA",1,1)
32413  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetProxyA",1,"Mezzanine::Physics::Constraint const *");
32414 
32415  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32416  SWIG_fail_ptr("Constraint_GetProxyA",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32417  }
32418 
32419  result = (Mezzanine::Physics::RigidProxy *)((Mezzanine::Physics::Constraint const *)arg1)->GetProxyA();
32420  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
32421  return SWIG_arg;
32422 
32423  if(0) SWIG_fail;
32424 
32425 fail:
32426  lua_error(L);
32427  return SWIG_arg;
32428 }
32429 
32430 
32431 static int _wrap_Constraint_GetProxyB(lua_State* L) {
32432  int SWIG_arg = 0;
32434  Mezzanine::Physics::RigidProxy *result = 0 ;
32435 
32436  SWIG_check_num_args("Mezzanine::Physics::Constraint::GetProxyB",1,1)
32437  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetProxyB",1,"Mezzanine::Physics::Constraint const *");
32438 
32439  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32440  SWIG_fail_ptr("Constraint_GetProxyB",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32441  }
32442 
32443  result = (Mezzanine::Physics::RigidProxy *)((Mezzanine::Physics::Constraint const *)arg1)->GetProxyB();
32444  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
32445  return SWIG_arg;
32446 
32447  if(0) SWIG_fail;
32448 
32449 fail:
32450  lua_error(L);
32451  return SWIG_arg;
32452 }
32453 
32454 
32455 static int _wrap_Constraint_ValidParamOnAxis(lua_State* L) {
32456  int SWIG_arg = 0;
32458  int arg2 ;
32459  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
32460 
32461  SWIG_check_num_args("Mezzanine::Physics::Constraint::ValidParamOnAxis",2,2)
32462  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ValidParamOnAxis",1,"Mezzanine::Physics::Constraint const *");
32463  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ValidParamOnAxis",2,"int");
32464 
32465  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32466  SWIG_fail_ptr("Constraint_ValidParamOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32467  }
32468 
32469  arg2 = (int)lua_tonumber(L, 2);
32470  result = ((Mezzanine::Physics::Constraint const *)arg1)->ValidParamOnAxis(arg2);
32471  {
32473  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
32474  }
32475  return SWIG_arg;
32476 
32477  if(0) SWIG_fail;
32478 
32479 fail:
32480  lua_error(L);
32481  return SWIG_arg;
32482 }
32483 
32484 
32485 static int _wrap_Constraint_ValidLinearAxis(lua_State* L) {
32486  int SWIG_arg = 0;
32488  SwigValueWrapper< std::vector< int > > result;
32489 
32490  SWIG_check_num_args("Mezzanine::Physics::Constraint::ValidLinearAxis",1,1)
32491  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ValidLinearAxis",1,"Mezzanine::Physics::Constraint const *");
32492 
32493  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32494  SWIG_fail_ptr("Constraint_ValidLinearAxis",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32495  }
32496 
32497  result = ((Mezzanine::Physics::Constraint const *)arg1)->ValidLinearAxis();
32498  {
32500  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
32501  }
32502  return SWIG_arg;
32503 
32504  if(0) SWIG_fail;
32505 
32506 fail:
32507  lua_error(L);
32508  return SWIG_arg;
32509 }
32510 
32511 
32512 static int _wrap_Constraint_ValidAngularAxis(lua_State* L) {
32513  int SWIG_arg = 0;
32515  SwigValueWrapper< std::vector< int > > result;
32516 
32517  SWIG_check_num_args("Mezzanine::Physics::Constraint::ValidAngularAxis",1,1)
32518  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ValidAngularAxis",1,"Mezzanine::Physics::Constraint const *");
32519 
32520  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32521  SWIG_fail_ptr("Constraint_ValidAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32522  }
32523 
32524  result = ((Mezzanine::Physics::Constraint const *)arg1)->ValidAngularAxis();
32525  {
32527  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
32528  }
32529  return SWIG_arg;
32530 
32531  if(0) SWIG_fail;
32532 
32533 fail:
32534  lua_error(L);
32535  return SWIG_arg;
32536 }
32537 
32538 
32539 static int _wrap_Constraint_HasParamBeenSet(lua_State* L) {
32540  int SWIG_arg = 0;
32543  int arg3 ;
32544  Mezzanine::Boole result;
32545 
32546  SWIG_check_num_args("Mezzanine::Physics::Constraint::HasParamBeenSet",3,3)
32547  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::HasParamBeenSet",1,"Mezzanine::Physics::Constraint const *");
32548  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::HasParamBeenSet",2,"Mezzanine::Physics::ConstraintParam");
32549  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Constraint::HasParamBeenSet",3,"int");
32550 
32551  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32552  SWIG_fail_ptr("Constraint_HasParamBeenSet",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32553  }
32554 
32555  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
32556  arg3 = (int)lua_tonumber(L, 3);
32557  result = (Mezzanine::Boole)((Mezzanine::Physics::Constraint const *)arg1)->HasParamBeenSet(arg2,arg3);
32558  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32559  return SWIG_arg;
32560 
32561  if(0) SWIG_fail;
32562 
32563 fail:
32564  lua_error(L);
32565  return SWIG_arg;
32566 }
32567 
32568 
32569 static int _wrap_Constraint_ValidAxis(lua_State* L) {
32570  int SWIG_arg = 0;
32572  SwigValueWrapper< std::vector< int > > result;
32573 
32574  SWIG_check_num_args("Mezzanine::Physics::Constraint::ValidAxis",1,1)
32575  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ValidAxis",1,"Mezzanine::Physics::Constraint const *");
32576 
32577  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32578  SWIG_fail_ptr("Constraint_ValidAxis",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32579  }
32580 
32581  result = ((Mezzanine::Physics::Constraint const *)arg1)->ValidAxis();
32582  {
32584  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
32585  }
32586  return SWIG_arg;
32587 
32588  if(0) SWIG_fail;
32589 
32590 fail:
32591  lua_error(L);
32592  return SWIG_arg;
32593 }
32594 
32595 
32596 static int _wrap_Constraint_IsParamValidOnAxis(lua_State* L) {
32597  int SWIG_arg = 0;
32600  int arg3 ;
32601  Mezzanine::Boole result;
32602 
32603  SWIG_check_num_args("Mezzanine::Physics::Constraint::IsParamValidOnAxis",3,3)
32604  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::IsParamValidOnAxis",1,"Mezzanine::Physics::Constraint const *");
32605  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::IsParamValidOnAxis",2,"Mezzanine::Physics::ConstraintParam");
32606  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Constraint::IsParamValidOnAxis",3,"int");
32607 
32608  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32609  SWIG_fail_ptr("Constraint_IsParamValidOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32610  }
32611 
32612  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
32613  arg3 = (int)lua_tonumber(L, 3);
32614  result = (Mezzanine::Boole)((Mezzanine::Physics::Constraint const *)arg1)->IsParamValidOnAxis(arg2,arg3);
32615  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
32616  return SWIG_arg;
32617 
32618  if(0) SWIG_fail;
32619 
32620 fail:
32621  lua_error(L);
32622  return SWIG_arg;
32623 }
32624 
32625 
32626 static int _wrap_Constraint_ValidParams(lua_State* L) {
32627  int SWIG_arg = 0;
32629  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
32630 
32631  SWIG_check_num_args("Mezzanine::Physics::Constraint::ValidParams",1,1)
32632  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ValidParams",1,"Mezzanine::Physics::Constraint const *");
32633 
32634  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32635  SWIG_fail_ptr("Constraint_ValidParams",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32636  }
32637 
32638  result = ((Mezzanine::Physics::Constraint const *)arg1)->ValidParams();
32639  {
32641  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
32642  }
32643  return SWIG_arg;
32644 
32645  if(0) SWIG_fail;
32646 
32647 fail:
32648  lua_error(L);
32649  return SWIG_arg;
32650 }
32651 
32652 
32653 static int _wrap_Constraint_SetParam__SWIG_0(lua_State* L) {
32654  int SWIG_arg = 0;
32657  Mezzanine::Real arg3 ;
32658  int arg4 ;
32659 
32660  SWIG_check_num_args("Mezzanine::Physics::Constraint::SetParam",4,4)
32661  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",1,"Mezzanine::Physics::Constraint *");
32662  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",2,"Mezzanine::Physics::ConstraintParam");
32663  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",3,"Mezzanine::Real");
32664  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",4,"int");
32665 
32666  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32667  SWIG_fail_ptr("Constraint_SetParam",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32668  }
32669 
32670  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
32671  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
32672  arg4 = (int)lua_tonumber(L, 4);
32673  (arg1)->SetParam(arg2,arg3,arg4);
32674 
32675  return SWIG_arg;
32676 
32677  if(0) SWIG_fail;
32678 
32679 fail:
32680  lua_error(L);
32681  return SWIG_arg;
32682 }
32683 
32684 
32685 static int _wrap_Constraint_SetParam__SWIG_1(lua_State* L) {
32686  int SWIG_arg = 0;
32689  Mezzanine::Real arg3 ;
32690 
32691  SWIG_check_num_args("Mezzanine::Physics::Constraint::SetParam",3,3)
32692  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",1,"Mezzanine::Physics::Constraint *");
32693  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",2,"Mezzanine::Physics::ConstraintParam");
32694  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Constraint::SetParam",3,"Mezzanine::Real");
32695 
32696  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32697  SWIG_fail_ptr("Constraint_SetParam",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32698  }
32699 
32700  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
32701  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
32702  (arg1)->SetParam(arg2,arg3);
32703 
32704  return SWIG_arg;
32705 
32706  if(0) SWIG_fail;
32707 
32708 fail:
32709  lua_error(L);
32710  return SWIG_arg;
32711 }
32712 
32713 
32714 static int _wrap_Constraint_SetParam(lua_State* L) {
32715  int argc;
32716  int argv[5]={
32717  1,2,3,4,5
32718  };
32719 
32720  argc = lua_gettop(L);
32721  if (argc == 3) {
32722  int _v;
32723  {
32724  void *ptr;
32725  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Constraint, 0)) {
32726  _v = 0;
32727  } else {
32728  _v = 1;
32729  }
32730  }
32731  if (_v) {
32732  {
32733  _v = lua_isnumber(L,argv[1]);
32734  }
32735  if (_v) {
32736  {
32737  _v = lua_isnumber(L,argv[2]);
32738  }
32739  if (_v) {
32740  return _wrap_Constraint_SetParam__SWIG_1(L);
32741  }
32742  }
32743  }
32744  }
32745  if (argc == 4) {
32746  int _v;
32747  {
32748  void *ptr;
32749  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Constraint, 0)) {
32750  _v = 0;
32751  } else {
32752  _v = 1;
32753  }
32754  }
32755  if (_v) {
32756  {
32757  _v = lua_isnumber(L,argv[1]);
32758  }
32759  if (_v) {
32760  {
32761  _v = lua_isnumber(L,argv[2]);
32762  }
32763  if (_v) {
32764  {
32765  _v = lua_isnumber(L,argv[3]);
32766  }
32767  if (_v) {
32768  return _wrap_Constraint_SetParam__SWIG_0(L);
32769  }
32770  }
32771  }
32772  }
32773  }
32774 
32775  lua_pushstring(L,"Wrong arguments for overloaded function 'Constraint_SetParam'\n"
32776  " Possible C/C++ prototypes are:\n"
32777  " Mezzanine::Physics::Constraint::SetParam(Mezzanine::Physics::ConstraintParam,Mezzanine::Real,int)\n"
32778  " Mezzanine::Physics::Constraint::SetParam(Mezzanine::Physics::ConstraintParam,Mezzanine::Real)\n");
32779  lua_error(L);return 0;
32780 }
32781 
32782 
32783 static int _wrap_Constraint_GetParam__SWIG_0(lua_State* L) {
32784  int SWIG_arg = 0;
32787  int arg3 ;
32788  Mezzanine::Real result;
32789 
32790  SWIG_check_num_args("Mezzanine::Physics::Constraint::GetParam",3,3)
32791  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetParam",1,"Mezzanine::Physics::Constraint const *");
32792  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetParam",2,"Mezzanine::Physics::ConstraintParam");
32793  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetParam",3,"int");
32794 
32795  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32796  SWIG_fail_ptr("Constraint_GetParam",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32797  }
32798 
32799  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
32800  arg3 = (int)lua_tonumber(L, 3);
32801  result = (Mezzanine::Real)((Mezzanine::Physics::Constraint const *)arg1)->GetParam(arg2,arg3);
32802  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
32803  return SWIG_arg;
32804 
32805  if(0) SWIG_fail;
32806 
32807 fail:
32808  lua_error(L);
32809  return SWIG_arg;
32810 }
32811 
32812 
32813 static int _wrap_Constraint_GetParam__SWIG_1(lua_State* L) {
32814  int SWIG_arg = 0;
32817  Mezzanine::Real result;
32818 
32819  SWIG_check_num_args("Mezzanine::Physics::Constraint::GetParam",2,2)
32820  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetParam",1,"Mezzanine::Physics::Constraint const *");
32821  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetParam",2,"Mezzanine::Physics::ConstraintParam");
32822 
32823  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32824  SWIG_fail_ptr("Constraint_GetParam",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32825  }
32826 
32827  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
32828  result = (Mezzanine::Real)((Mezzanine::Physics::Constraint const *)arg1)->GetParam(arg2);
32829  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
32830  return SWIG_arg;
32831 
32832  if(0) SWIG_fail;
32833 
32834 fail:
32835  lua_error(L);
32836  return SWIG_arg;
32837 }
32838 
32839 
32840 static int _wrap_Constraint_GetParam(lua_State* L) {
32841  int argc;
32842  int argv[4]={
32843  1,2,3,4
32844  };
32845 
32846  argc = lua_gettop(L);
32847  if (argc == 2) {
32848  int _v;
32849  {
32850  void *ptr;
32851  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Constraint, 0)) {
32852  _v = 0;
32853  } else {
32854  _v = 1;
32855  }
32856  }
32857  if (_v) {
32858  {
32859  _v = lua_isnumber(L,argv[1]);
32860  }
32861  if (_v) {
32862  return _wrap_Constraint_GetParam__SWIG_1(L);
32863  }
32864  }
32865  }
32866  if (argc == 3) {
32867  int _v;
32868  {
32869  void *ptr;
32870  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__Constraint, 0)) {
32871  _v = 0;
32872  } else {
32873  _v = 1;
32874  }
32875  }
32876  if (_v) {
32877  {
32878  _v = lua_isnumber(L,argv[1]);
32879  }
32880  if (_v) {
32881  {
32882  _v = lua_isnumber(L,argv[2]);
32883  }
32884  if (_v) {
32885  return _wrap_Constraint_GetParam__SWIG_0(L);
32886  }
32887  }
32888  }
32889  }
32890 
32891  lua_pushstring(L,"Wrong arguments for overloaded function 'Constraint_GetParam'\n"
32892  " Possible C/C++ prototypes are:\n"
32893  " Mezzanine::Physics::Constraint::GetParam(Mezzanine::Physics::ConstraintParam,int) const\n"
32894  " Mezzanine::Physics::Constraint::GetParam(Mezzanine::Physics::ConstraintParam) const\n");
32895  lua_error(L);return 0;
32896 }
32897 
32898 
32899 static int _wrap_Constraint_GetConstraintBase(lua_State* L) {
32900  int SWIG_arg = 0;
32902  btTypedConstraint *result = 0 ;
32903 
32904  SWIG_check_num_args("Mezzanine::Physics::Constraint::GetConstraintBase",1,1)
32905  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::GetConstraintBase",1,"Mezzanine::Physics::Constraint const *");
32906 
32907  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32908  SWIG_fail_ptr("Constraint_GetConstraintBase",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32909  }
32910 
32911  result = (btTypedConstraint *)((Mezzanine::Physics::Constraint const *)arg1)->GetConstraintBase();
32912  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btTypedConstraint,0); SWIG_arg++;
32913  return SWIG_arg;
32914 
32915  if(0) SWIG_fail;
32916 
32917 fail:
32918  lua_error(L);
32919  return SWIG_arg;
32920 }
32921 
32922 
32923 static int _wrap_Constraint_ProtoSerialize(lua_State* L) {
32924  int SWIG_arg = 0;
32926  XML::Node *arg2 = 0 ;
32927 
32928  SWIG_check_num_args("Mezzanine::Physics::Constraint::ProtoSerialize",2,2)
32929  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ProtoSerialize",1,"Mezzanine::Physics::Constraint const *");
32930  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ProtoSerialize",2,"XML::Node &");
32931 
32932  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32933  SWIG_fail_ptr("Constraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32934  }
32935 
32936 
32937  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
32938  SWIG_fail_ptr("Constraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
32939  }
32940 
32941  ((Mezzanine::Physics::Constraint const *)arg1)->ProtoSerialize(*arg2);
32942 
32943  return SWIG_arg;
32944 
32945  if(0) SWIG_fail;
32946 
32947 fail:
32948  lua_error(L);
32949  return SWIG_arg;
32950 }
32951 
32952 
32953 static int _wrap_Constraint_ProtoDeSerialize(lua_State* L) {
32954  int SWIG_arg = 0;
32956  XML::Node *arg2 = 0 ;
32957 
32958  SWIG_check_num_args("Mezzanine::Physics::Constraint::ProtoDeSerialize",2,2)
32959  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ProtoDeSerialize",1,"Mezzanine::Physics::Constraint *");
32960  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Constraint::ProtoDeSerialize",2,"XML::Node const &");
32961 
32962  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Constraint,0))){
32963  SWIG_fail_ptr("Constraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Constraint);
32964  }
32965 
32966 
32967  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
32968  SWIG_fail_ptr("Constraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
32969  }
32970 
32971  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
32972 
32973  return SWIG_arg;
32974 
32975  if(0) SWIG_fail;
32976 
32977 fail:
32978  lua_error(L);
32979  return SWIG_arg;
32980 }
32981 
32982 
32983 static int _wrap_Constraint_SerializableName(lua_State* L) {
32984  int SWIG_arg = 0;
32985  Mezzanine::String result;
32986 
32987  SWIG_check_num_args("Mezzanine::Physics::Constraint::SerializableName",0,0)
32988  result = Mezzanine::Physics::Constraint::SerializableName();
32989  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
32990  return SWIG_arg;
32991 
32992  if(0) SWIG_fail;
32993 
32994 fail:
32995  lua_error(L);
32996  return SWIG_arg;
32997 }
32998 
32999 
33000 static void swig_delete_Constraint(void *obj) {
33002 delete arg1;
33003 }
33004 static swig_lua_method swig_Mezzanine_Physics_Constraint_methods[] = {
33005  {"GetProxyA", _wrap_Constraint_GetProxyA},
33006  {"GetProxyB", _wrap_Constraint_GetProxyB},
33007  {"ValidParamOnAxis", _wrap_Constraint_ValidParamOnAxis},
33008  {"ValidLinearAxis", _wrap_Constraint_ValidLinearAxis},
33009  {"ValidAngularAxis", _wrap_Constraint_ValidAngularAxis},
33010  {"HasParamBeenSet", _wrap_Constraint_HasParamBeenSet},
33011  {"ValidAxis", _wrap_Constraint_ValidAxis},
33012  {"IsParamValidOnAxis", _wrap_Constraint_IsParamValidOnAxis},
33013  {"ValidParams", _wrap_Constraint_ValidParams},
33014  {"SetParam", _wrap_Constraint_SetParam},
33015  {"GetParam", _wrap_Constraint_GetParam},
33016  {"GetConstraintBase", _wrap_Constraint_GetConstraintBase},
33017  {"ProtoSerialize", _wrap_Constraint_ProtoSerialize},
33018  {"ProtoDeSerialize", _wrap_Constraint_ProtoDeSerialize},
33019  {0,0}
33020 };
33021 static swig_lua_attribute swig_Mezzanine_Physics_Constraint_attributes[] = {
33022  {0,0,0}
33023 };
33024 static swig_lua_class *swig_Mezzanine_Physics_Constraint_bases[] = {0};
33025 static const char *swig_Mezzanine_Physics_Constraint_base_names[] = {0};
33026 static swig_lua_class _wrap_class_Mezzanine_Physics_Constraint = { "Constraint", &SWIGTYPE_p_Mezzanine__Physics__Constraint,0, swig_delete_Constraint, swig_Mezzanine_Physics_Constraint_methods, swig_Mezzanine_Physics_Constraint_attributes, swig_Mezzanine_Physics_Constraint_bases, swig_Mezzanine_Physics_Constraint_base_names };
33027 
33028 static int _wrap_new_ConvexHullCollisionShape__SWIG_0(lua_State* L) {
33029  int SWIG_arg = 0;
33030  Mezzanine::String *arg1 = 0 ;
33031  std::vector< Mezzanine::Physics::Vector3 > *arg2 = 0 ;
33032  Mezzanine::String temp1 ;
33034 
33035  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",2,2)
33036  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",1,"Mezzanine::String const &");
33037  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",2,"std::vector< Mezzanine::Physics::Vector3 > const &");
33038  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33039 
33040  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t,0))){
33041  SWIG_fail_ptr("new_ConvexHullCollisionShape",2,SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t);
33042  }
33043 
33044  result = (Mezzanine::Physics::ConvexHullCollisionShape *)new Mezzanine::Physics::ConvexHullCollisionShape((Mezzanine::String const &)*arg1,(std::vector< Mezzanine::Physics::Vector3 > const &)*arg2);
33045  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,1); SWIG_arg++;
33046  return SWIG_arg;
33047 
33048  if(0) SWIG_fail;
33049 
33050 fail:
33051  lua_error(L);
33052  return SWIG_arg;
33053 }
33054 
33055 
33056 static int _wrap_new_ConvexHullCollisionShape__SWIG_1(lua_State* L) {
33057  int SWIG_arg = 0;
33058  Mezzanine::String *arg1 = 0 ;
33059  btConvexHullShape *arg2 = (btConvexHullShape *) 0 ;
33060  Mezzanine::String temp1 ;
33062 
33063  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",2,2)
33064  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",1,"Mezzanine::String const &");
33065  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",2,"btConvexHullShape *");
33066  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33067 
33068  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btConvexHullShape,0))){
33069  SWIG_fail_ptr("new_ConvexHullCollisionShape",2,SWIGTYPE_p_btConvexHullShape);
33070  }
33071 
33073  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,1); SWIG_arg++;
33074  return SWIG_arg;
33075 
33076  if(0) SWIG_fail;
33077 
33078 fail:
33079  lua_error(L);
33080  return SWIG_arg;
33081 }
33082 
33083 
33084 static int _wrap_new_ConvexHullCollisionShape__SWIG_2(lua_State* L) {
33085  int SWIG_arg = 0;
33086  XML::Node arg1 ;
33087  XML::Node *argp1 ;
33089 
33090  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",1,1)
33091  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape",1,"XML::Node");
33092 
33093  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
33094  SWIG_fail_ptr("new_ConvexHullCollisionShape",1,SWIGTYPE_p_XML__Node);
33095  }
33096  arg1 = *argp1;
33097 
33099  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,1); SWIG_arg++;
33100  return SWIG_arg;
33101 
33102  if(0) SWIG_fail;
33103 
33104 fail:
33105  lua_error(L);
33106  return SWIG_arg;
33107 }
33108 
33109 
33110 static int _wrap_new_ConvexHullCollisionShape(lua_State* L) {
33111  int argc;
33112  int argv[3]={
33113  1,2,3
33114  };
33115 
33116  argc = lua_gettop(L);
33117  if (argc == 1) {
33118  int _v;
33119  {
33120  void *ptr;
33121  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
33122  _v = 0;
33123  } else {
33124  _v = 1;
33125  }
33126  }
33127  if (_v) {
33128  return _wrap_new_ConvexHullCollisionShape__SWIG_2(L);
33129  }
33130  }
33131  if (argc == 2) {
33132  int _v;
33133  {
33134  _v = lua_isstring(L,argv[0]);
33135  }
33136  if (_v) {
33137  {
33138  void *ptr;
33139  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btConvexHullShape, 0)) {
33140  _v = 0;
33141  } else {
33142  _v = 1;
33143  }
33144  }
33145  if (_v) {
33146  return _wrap_new_ConvexHullCollisionShape__SWIG_1(L);
33147  }
33148  }
33149  }
33150  if (argc == 2) {
33151  int _v;
33152  {
33153  _v = lua_isstring(L,argv[0]);
33154  }
33155  if (_v) {
33156  {
33157  void *ptr;
33158  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t, 0)) {
33159  _v = 0;
33160  } else {
33161  _v = 1;
33162  }
33163  }
33164  if (_v) {
33165  return _wrap_new_ConvexHullCollisionShape__SWIG_0(L);
33166  }
33167  }
33168  }
33169 
33170  lua_pushstring(L,"Wrong arguments for overloaded function 'new_ConvexHullCollisionShape'\n"
33171  " Possible C/C++ prototypes are:\n"
33172  " Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape(Mezzanine::String const &,std::vector< Mezzanine::Physics::Vector3 > const &)\n"
33173  " Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape(Mezzanine::String const &,btConvexHullShape *)\n"
33174  " Mezzanine::Physics::ConvexHullCollisionShape::ConvexHullCollisionShape(XML::Node)\n");
33175  lua_error(L);return 0;
33176 }
33177 
33178 
33179 static int _wrap_ConvexHullCollisionShape_AddPoint(lua_State* L) {
33180  int SWIG_arg = 0;
33182  Mezzanine::Physics::Vector3 *arg2 = 0 ;
33183 
33184  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::AddPoint",2,2)
33185  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::AddPoint",1,"Mezzanine::Physics::ConvexHullCollisionShape *");
33186  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::AddPoint",2,"Mezzanine::Physics::Vector3 const &");
33187 
33188  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33189  SWIG_fail_ptr("ConvexHullCollisionShape_AddPoint",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33190  }
33191 
33192 
33193  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
33194  SWIG_fail_ptr("ConvexHullCollisionShape_AddPoint",2,SWIGTYPE_p_Mezzanine__Vector3);
33195  }
33196 
33197  (arg1)->AddPoint((Mezzanine::Physics::Vector3 const &)*arg2);
33198 
33199  return SWIG_arg;
33200 
33201  if(0) SWIG_fail;
33202 
33203 fail:
33204  lua_error(L);
33205  return SWIG_arg;
33206 }
33207 
33208 
33209 static int _wrap_ConvexHullCollisionShape_GetUnscaledPoint(lua_State* L) {
33210  int SWIG_arg = 0;
33212  Mezzanine::Whole *arg2 = 0 ;
33213  Mezzanine::Whole temp2 ;
33215 
33216  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::GetUnscaledPoint",2,2)
33217  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetUnscaledPoint",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33218  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetUnscaledPoint",2,"Mezzanine::Whole const &");
33219 
33220  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33221  SWIG_fail_ptr("ConvexHullCollisionShape_GetUnscaledPoint",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33222  }
33223 
33224  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
33225  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
33226  result = ((Mezzanine::Physics::ConvexHullCollisionShape const *)arg1)->GetUnscaledPoint((Mezzanine::Whole const &)*arg2);
33227  {
33229  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
33230  }
33231  return SWIG_arg;
33232 
33233  if(0) SWIG_fail;
33234 
33235 fail:
33236  lua_error(L);
33237  return SWIG_arg;
33238 }
33239 
33240 
33241 static int _wrap_ConvexHullCollisionShape_GetPoint(lua_State* L) {
33242  int SWIG_arg = 0;
33244  Mezzanine::Whole *arg2 = 0 ;
33245  Mezzanine::Whole temp2 ;
33247 
33248  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::GetPoint",2,2)
33249  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetPoint",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33250  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetPoint",2,"Mezzanine::Whole const &");
33251 
33252  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33253  SWIG_fail_ptr("ConvexHullCollisionShape_GetPoint",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33254  }
33255 
33256  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
33257  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
33258  result = ((Mezzanine::Physics::ConvexHullCollisionShape const *)arg1)->GetPoint((Mezzanine::Whole const &)*arg2);
33259  {
33261  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
33262  }
33263  return SWIG_arg;
33264 
33265  if(0) SWIG_fail;
33266 
33267 fail:
33268  lua_error(L);
33269  return SWIG_arg;
33270 }
33271 
33272 
33273 static int _wrap_ConvexHullCollisionShape_GetNumPoints(lua_State* L) {
33274  int SWIG_arg = 0;
33276  Mezzanine::Whole result;
33277 
33278  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::GetNumPoints",1,1)
33279  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetNumPoints",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33280 
33281  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33282  SWIG_fail_ptr("ConvexHullCollisionShape_GetNumPoints",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33283  }
33284 
33285  result = (Mezzanine::Whole)((Mezzanine::Physics::ConvexHullCollisionShape const *)arg1)->GetNumPoints();
33286  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
33287  return SWIG_arg;
33288 
33289  if(0) SWIG_fail;
33290 
33291 fail:
33292  lua_error(L);
33293  return SWIG_arg;
33294 }
33295 
33296 
33297 static int _wrap_ConvexHullCollisionShape_IsInside(lua_State* L) {
33298  int SWIG_arg = 0;
33300  Mezzanine::Physics::Vector3 *arg2 = 0 ;
33301  Mezzanine::Real *arg3 = 0 ;
33302  Mezzanine::Real temp3 ;
33303  Mezzanine::Boole result;
33304 
33305  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::IsInside",3,3)
33306  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::IsInside",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33307  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::IsInside",2,"Mezzanine::Physics::Vector3 const &");
33308  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::IsInside",3,"Mezzanine::Real const &");
33309 
33310  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33311  SWIG_fail_ptr("ConvexHullCollisionShape_IsInside",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33312  }
33313 
33314 
33315  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
33316  SWIG_fail_ptr("ConvexHullCollisionShape_IsInside",2,SWIGTYPE_p_Mezzanine__Vector3);
33317  }
33318 
33319  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
33321  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
33322  return SWIG_arg;
33323 
33324  if(0) SWIG_fail;
33325 
33326 fail:
33327  lua_error(L);
33328  return SWIG_arg;
33329 }
33330 
33331 
33332 static int _wrap_ConvexHullCollisionShape_GetType(lua_State* L) {
33333  int SWIG_arg = 0;
33336 
33337  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::GetType",1,1)
33338  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetType",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33339 
33340  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33341  SWIG_fail_ptr("ConvexHullCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33342  }
33343 
33345  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
33346  return SWIG_arg;
33347 
33348  if(0) SWIG_fail;
33349 
33350 fail:
33351  lua_error(L);
33352  return SWIG_arg;
33353 }
33354 
33355 
33356 static int _wrap_ConvexHullCollisionShape_GetBulletHullShape(lua_State* L) {
33357  int SWIG_arg = 0;
33359  btConvexHullShape *result = 0 ;
33360 
33361  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::GetBulletHullShape",1,1)
33362  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::GetBulletHullShape",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33363 
33364  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33365  SWIG_fail_ptr("ConvexHullCollisionShape_GetBulletHullShape",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33366  }
33367 
33368  result = (btConvexHullShape *)((Mezzanine::Physics::ConvexHullCollisionShape const *)arg1)->GetBulletHullShape();
33369  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btConvexHullShape,0); SWIG_arg++;
33370  return SWIG_arg;
33371 
33372  if(0) SWIG_fail;
33373 
33374 fail:
33375  lua_error(L);
33376  return SWIG_arg;
33377 }
33378 
33379 
33380 static int _wrap_ConvexHullCollisionShape_ProtoSerialize(lua_State* L) {
33381  int SWIG_arg = 0;
33383  XML::Node *arg2 = 0 ;
33384 
33385  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::ProtoSerialize",2,2)
33386  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::ConvexHullCollisionShape const *");
33387  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ProtoSerialize",2,"XML::Node &");
33388 
33389  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33390  SWIG_fail_ptr("ConvexHullCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33391  }
33392 
33393 
33394  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
33395  SWIG_fail_ptr("ConvexHullCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
33396  }
33397 
33398  ((Mezzanine::Physics::ConvexHullCollisionShape const *)arg1)->ProtoSerialize(*arg2);
33399 
33400  return SWIG_arg;
33401 
33402  if(0) SWIG_fail;
33403 
33404 fail:
33405  lua_error(L);
33406  return SWIG_arg;
33407 }
33408 
33409 
33410 static int _wrap_ConvexHullCollisionShape_ProtoDeSerialize(lua_State* L) {
33411  int SWIG_arg = 0;
33413  XML::Node *arg2 = 0 ;
33414 
33415  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::ProtoDeSerialize",2,2)
33416  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::ConvexHullCollisionShape *");
33417  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::ConvexHullCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
33418 
33419  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,0))){
33420  SWIG_fail_ptr("ConvexHullCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape);
33421  }
33422 
33423 
33424  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
33425  SWIG_fail_ptr("ConvexHullCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
33426  }
33427 
33428  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
33429 
33430  return SWIG_arg;
33431 
33432  if(0) SWIG_fail;
33433 
33434 fail:
33435  lua_error(L);
33436  return SWIG_arg;
33437 }
33438 
33439 
33440 static int _wrap_ConvexHullCollisionShape_SerializableName(lua_State* L) {
33441  int SWIG_arg = 0;
33442  Mezzanine::String result;
33443 
33444  SWIG_check_num_args("Mezzanine::Physics::ConvexHullCollisionShape::SerializableName",0,0)
33445  result = Mezzanine::Physics::ConvexHullCollisionShape::SerializableName();
33446  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
33447  return SWIG_arg;
33448 
33449  if(0) SWIG_fail;
33450 
33451 fail:
33452  lua_error(L);
33453  return SWIG_arg;
33454 }
33455 
33456 
33457 static void swig_delete_ConvexHullCollisionShape(void *obj) {
33459 delete arg1;
33460 }
33461 static swig_lua_method swig_Mezzanine_Physics_ConvexHullCollisionShape_methods[] = {
33462  {"AddPoint", _wrap_ConvexHullCollisionShape_AddPoint},
33463  {"GetUnscaledPoint", _wrap_ConvexHullCollisionShape_GetUnscaledPoint},
33464  {"GetPoint", _wrap_ConvexHullCollisionShape_GetPoint},
33465  {"GetNumPoints", _wrap_ConvexHullCollisionShape_GetNumPoints},
33466  {"IsInside", _wrap_ConvexHullCollisionShape_IsInside},
33467  {"GetType", _wrap_ConvexHullCollisionShape_GetType},
33468  {"GetBulletHullShape", _wrap_ConvexHullCollisionShape_GetBulletHullShape},
33469  {"ProtoSerialize", _wrap_ConvexHullCollisionShape_ProtoSerialize},
33470  {"ProtoDeSerialize", _wrap_ConvexHullCollisionShape_ProtoDeSerialize},
33471  {0,0}
33472 };
33473 static swig_lua_attribute swig_Mezzanine_Physics_ConvexHullCollisionShape_attributes[] = {
33474  {0,0,0}
33475 };
33476 static swig_lua_class *swig_Mezzanine_Physics_ConvexHullCollisionShape_bases[] = {0,0};
33477 static const char *swig_Mezzanine_Physics_ConvexHullCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
33478 static swig_lua_class _wrap_class_Mezzanine_Physics_ConvexHullCollisionShape = { "ConvexHullCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__ConvexHullCollisionShape,_wrap_new_ConvexHullCollisionShape, swig_delete_ConvexHullCollisionShape, swig_Mezzanine_Physics_ConvexHullCollisionShape_methods, swig_Mezzanine_Physics_ConvexHullCollisionShape_attributes, swig_Mezzanine_Physics_ConvexHullCollisionShape_bases, swig_Mezzanine_Physics_ConvexHullCollisionShape_base_names };
33479 
33480 static int _wrap_new_CylinderCollisionShape__SWIG_0(lua_State* L) {
33481  int SWIG_arg = 0;
33482  Mezzanine::String *arg1 = 0 ;
33483  Mezzanine::Real *arg2 = 0 ;
33484  Mezzanine::Real *arg3 = 0 ;
33485  Mezzanine::Physics::Vector3 *arg4 = 0 ;
33486  Mezzanine::String temp1 ;
33487  Mezzanine::Real temp2 ;
33488  Mezzanine::Real temp3 ;
33490 
33491  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",4,4)
33492  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,"Mezzanine::String const &");
33493  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",2,"Mezzanine::Real const &");
33494  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",3,"Mezzanine::Real const &");
33495  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",4,"Mezzanine::Physics::Vector3 const &");
33496  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33497  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
33498  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
33499 
33500  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
33501  SWIG_fail_ptr("new_CylinderCollisionShape",4,SWIGTYPE_p_Mezzanine__Vector3);
33502  }
33503 
33505  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,1); SWIG_arg++;
33506  return SWIG_arg;
33507 
33508  if(0) SWIG_fail;
33509 
33510 fail:
33511  lua_error(L);
33512  return SWIG_arg;
33513 }
33514 
33515 
33516 static int _wrap_new_CylinderCollisionShape__SWIG_1(lua_State* L) {
33517  int SWIG_arg = 0;
33518  Mezzanine::String *arg1 = 0 ;
33519  Mezzanine::Real *arg2 = 0 ;
33520  Mezzanine::Real *arg3 = 0 ;
33522  Mezzanine::String temp1 ;
33523  Mezzanine::Real temp2 ;
33524  Mezzanine::Real temp3 ;
33526 
33527  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",4,4)
33528  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,"Mezzanine::String const &");
33529  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",2,"Mezzanine::Real const &");
33530  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",3,"Mezzanine::Real const &");
33531  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",4,"Mezzanine::StandardAxis");
33532  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33533  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
33534  temp3=(Mezzanine::Real)lua_tonumber(L,3); arg3=&temp3;
33535  arg4 = (Mezzanine::StandardAxis)(int)lua_tonumber(L, 4);
33536  result = (Mezzanine::Physics::CylinderCollisionShape *)new Mezzanine::Physics::CylinderCollisionShape((Mezzanine::String const &)*arg1,(Mezzanine::Real const &)*arg2,(Mezzanine::Real const &)*arg3,arg4);
33537  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,1); SWIG_arg++;
33538  return SWIG_arg;
33539 
33540  if(0) SWIG_fail;
33541 
33542 fail:
33543  lua_error(L);
33544  return SWIG_arg;
33545 }
33546 
33547 
33548 static int _wrap_new_CylinderCollisionShape__SWIG_2(lua_State* L) {
33549  int SWIG_arg = 0;
33550  Mezzanine::String *arg1 = 0 ;
33551  Mezzanine::Physics::Vector3 *arg2 = 0 ;
33552  Mezzanine::Physics::Vector3 *arg3 = 0 ;
33553  Mezzanine::String temp1 ;
33555 
33556  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",3,3)
33557  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,"Mezzanine::String const &");
33558  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",2,"Mezzanine::Physics::Vector3 const &");
33559  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",3,"Mezzanine::Physics::Vector3 const &");
33560  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33561 
33562  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
33563  SWIG_fail_ptr("new_CylinderCollisionShape",2,SWIGTYPE_p_Mezzanine__Vector3);
33564  }
33565 
33566 
33567  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
33568  SWIG_fail_ptr("new_CylinderCollisionShape",3,SWIGTYPE_p_Mezzanine__Vector3);
33569  }
33570 
33572  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,1); SWIG_arg++;
33573  return SWIG_arg;
33574 
33575  if(0) SWIG_fail;
33576 
33577 fail:
33578  lua_error(L);
33579  return SWIG_arg;
33580 }
33581 
33582 
33583 static int _wrap_new_CylinderCollisionShape__SWIG_3(lua_State* L) {
33584  int SWIG_arg = 0;
33585  Mezzanine::String *arg1 = 0 ;
33586  Mezzanine::Physics::Vector3 *arg2 = 0 ;
33588  Mezzanine::String temp1 ;
33590 
33591  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",3,3)
33592  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,"Mezzanine::String const &");
33593  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",2,"Mezzanine::Physics::Vector3 const &");
33594  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",3,"Mezzanine::StandardAxis");
33595  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33596 
33597  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
33598  SWIG_fail_ptr("new_CylinderCollisionShape",2,SWIGTYPE_p_Mezzanine__Vector3);
33599  }
33600 
33601  arg3 = (Mezzanine::StandardAxis)(int)lua_tonumber(L, 3);
33603  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,1); SWIG_arg++;
33604  return SWIG_arg;
33605 
33606  if(0) SWIG_fail;
33607 
33608 fail:
33609  lua_error(L);
33610  return SWIG_arg;
33611 }
33612 
33613 
33614 static int _wrap_new_CylinderCollisionShape__SWIG_4(lua_State* L) {
33615  int SWIG_arg = 0;
33616  Mezzanine::String *arg1 = 0 ;
33617  btCylinderShape *arg2 = (btCylinderShape *) 0 ;
33618  Mezzanine::String temp1 ;
33620 
33621  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",2,2)
33622  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,"Mezzanine::String const &");
33623  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",2,"btCylinderShape *");
33624  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
33625 
33626  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btCylinderShape,0))){
33627  SWIG_fail_ptr("new_CylinderCollisionShape",2,SWIGTYPE_p_btCylinderShape);
33628  }
33629 
33631  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,1); SWIG_arg++;
33632  return SWIG_arg;
33633 
33634  if(0) SWIG_fail;
33635 
33636 fail:
33637  lua_error(L);
33638  return SWIG_arg;
33639 }
33640 
33641 
33642 static int _wrap_new_CylinderCollisionShape__SWIG_5(lua_State* L) {
33643  int SWIG_arg = 0;
33644  XML::Node arg1 ;
33645  XML::Node *argp1 ;
33647 
33648  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,1)
33649  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape",1,"XML::Node");
33650 
33651  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
33652  SWIG_fail_ptr("new_CylinderCollisionShape",1,SWIGTYPE_p_XML__Node);
33653  }
33654  arg1 = *argp1;
33655 
33657  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,1); SWIG_arg++;
33658  return SWIG_arg;
33659 
33660  if(0) SWIG_fail;
33661 
33662 fail:
33663  lua_error(L);
33664  return SWIG_arg;
33665 }
33666 
33667 
33668 static int _wrap_new_CylinderCollisionShape(lua_State* L) {
33669  int argc;
33670  int argv[5]={
33671  1,2,3,4,5
33672  };
33673 
33674  argc = lua_gettop(L);
33675  if (argc == 1) {
33676  int _v;
33677  {
33678  void *ptr;
33679  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
33680  _v = 0;
33681  } else {
33682  _v = 1;
33683  }
33684  }
33685  if (_v) {
33686  return _wrap_new_CylinderCollisionShape__SWIG_5(L);
33687  }
33688  }
33689  if (argc == 2) {
33690  int _v;
33691  {
33692  _v = lua_isstring(L,argv[0]);
33693  }
33694  if (_v) {
33695  {
33696  void *ptr;
33697  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btCylinderShape, 0)) {
33698  _v = 0;
33699  } else {
33700  _v = 1;
33701  }
33702  }
33703  if (_v) {
33704  return _wrap_new_CylinderCollisionShape__SWIG_4(L);
33705  }
33706  }
33707  }
33708  if (argc == 3) {
33709  int _v;
33710  {
33711  _v = lua_isstring(L,argv[0]);
33712  }
33713  if (_v) {
33714  {
33715  void *ptr;
33716  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
33717  _v = 0;
33718  } else {
33719  _v = 1;
33720  }
33721  }
33722  if (_v) {
33723  {
33724  void *ptr;
33725  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
33726  _v = 0;
33727  } else {
33728  _v = 1;
33729  }
33730  }
33731  if (_v) {
33732  return _wrap_new_CylinderCollisionShape__SWIG_2(L);
33733  }
33734  }
33735  }
33736  }
33737  if (argc == 3) {
33738  int _v;
33739  {
33740  _v = lua_isstring(L,argv[0]);
33741  }
33742  if (_v) {
33743  {
33744  void *ptr;
33745  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
33746  _v = 0;
33747  } else {
33748  _v = 1;
33749  }
33750  }
33751  if (_v) {
33752  {
33753  _v = lua_isnumber(L,argv[2]);
33754  }
33755  if (_v) {
33756  return _wrap_new_CylinderCollisionShape__SWIG_3(L);
33757  }
33758  }
33759  }
33760  }
33761  if (argc == 4) {
33762  int _v;
33763  {
33764  _v = lua_isstring(L,argv[0]);
33765  }
33766  if (_v) {
33767  {
33768  _v = lua_isnumber(L,argv[1]);
33769  }
33770  if (_v) {
33771  {
33772  _v = lua_isnumber(L,argv[2]);
33773  }
33774  if (_v) {
33775  {
33776  void *ptr;
33777  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
33778  _v = 0;
33779  } else {
33780  _v = 1;
33781  }
33782  }
33783  if (_v) {
33784  return _wrap_new_CylinderCollisionShape__SWIG_0(L);
33785  }
33786  }
33787  }
33788  }
33789  }
33790  if (argc == 4) {
33791  int _v;
33792  {
33793  _v = lua_isstring(L,argv[0]);
33794  }
33795  if (_v) {
33796  {
33797  _v = lua_isnumber(L,argv[1]);
33798  }
33799  if (_v) {
33800  {
33801  _v = lua_isnumber(L,argv[2]);
33802  }
33803  if (_v) {
33804  {
33805  _v = lua_isnumber(L,argv[3]);
33806  }
33807  if (_v) {
33808  return _wrap_new_CylinderCollisionShape__SWIG_1(L);
33809  }
33810  }
33811  }
33812  }
33813  }
33814 
33815  lua_pushstring(L,"Wrong arguments for overloaded function 'new_CylinderCollisionShape'\n"
33816  " Possible C/C++ prototypes are:\n"
33817  " Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape(Mezzanine::String const &,Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::Physics::Vector3 const &)\n"
33818  " Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape(Mezzanine::String const &,Mezzanine::Real const &,Mezzanine::Real const &,Mezzanine::StandardAxis)\n"
33819  " Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape(Mezzanine::String const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &)\n"
33820  " Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape(Mezzanine::String const &,Mezzanine::Physics::Vector3 const &,Mezzanine::StandardAxis)\n"
33821  " Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape(Mezzanine::String const &,btCylinderShape *)\n"
33822  " Mezzanine::Physics::CylinderCollisionShape::CylinderCollisionShape(XML::Node)\n");
33823  lua_error(L);return 0;
33824 }
33825 
33826 
33827 static int _wrap_CylinderCollisionShape_CreateHalfExtents(lua_State* L) {
33828  int SWIG_arg = 0;
33829  Mezzanine::Real *arg1 = 0 ;
33830  Mezzanine::Real *arg2 = 0 ;
33832  Mezzanine::Real temp1 ;
33833  Mezzanine::Real temp2 ;
33835 
33836  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::CreateHalfExtents",3,3)
33837  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CreateHalfExtents",1,"Mezzanine::Real const &");
33838  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CreateHalfExtents",2,"Mezzanine::Real const &");
33839  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::CreateHalfExtents",3,"Mezzanine::StandardAxis");
33840  temp1=(Mezzanine::Real)lua_tonumber(L,1); arg1=&temp1;
33841  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
33842  arg3 = (Mezzanine::StandardAxis)(int)lua_tonumber(L, 3);
33843  result = Mezzanine::Physics::CylinderCollisionShape::CreateHalfExtents((float const &)*arg1,(float const &)*arg2,arg3);
33844  {
33846  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
33847  }
33848  return SWIG_arg;
33849 
33850  if(0) SWIG_fail;
33851 
33852 fail:
33853  lua_error(L);
33854  return SWIG_arg;
33855 }
33856 
33857 
33858 static int _wrap_CylinderCollisionShape_GetHalfExtents(lua_State* L) {
33859  int SWIG_arg = 0;
33862 
33863  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::GetHalfExtents",1,1)
33864  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::GetHalfExtents",1,"Mezzanine::Physics::CylinderCollisionShape const *");
33865 
33866  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
33867  SWIG_fail_ptr("CylinderCollisionShape_GetHalfExtents",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
33868  }
33869 
33870  result = ((Mezzanine::Physics::CylinderCollisionShape const *)arg1)->GetHalfExtents();
33871  {
33873  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
33874  }
33875  return SWIG_arg;
33876 
33877  if(0) SWIG_fail;
33878 
33879 fail:
33880  lua_error(L);
33881  return SWIG_arg;
33882 }
33883 
33884 
33885 static int _wrap_CylinderCollisionShape_GetHalfExtentsWithMargin(lua_State* L) {
33886  int SWIG_arg = 0;
33889 
33890  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::GetHalfExtentsWithMargin",1,1)
33891  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::GetHalfExtentsWithMargin",1,"Mezzanine::Physics::CylinderCollisionShape const *");
33892 
33893  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
33894  SWIG_fail_ptr("CylinderCollisionShape_GetHalfExtentsWithMargin",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
33895  }
33896 
33897  result = ((Mezzanine::Physics::CylinderCollisionShape const *)arg1)->GetHalfExtentsWithMargin();
33898  {
33900  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
33901  }
33902  return SWIG_arg;
33903 
33904  if(0) SWIG_fail;
33905 
33906 fail:
33907  lua_error(L);
33908  return SWIG_arg;
33909 }
33910 
33911 
33912 static int _wrap_CylinderCollisionShape_GetRadius(lua_State* L) {
33913  int SWIG_arg = 0;
33915  Mezzanine::Real result;
33916 
33917  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::GetRadius",1,1)
33918  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::GetRadius",1,"Mezzanine::Physics::CylinderCollisionShape const *");
33919 
33920  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
33921  SWIG_fail_ptr("CylinderCollisionShape_GetRadius",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
33922  }
33923 
33924  result = (Mezzanine::Real)((Mezzanine::Physics::CylinderCollisionShape const *)arg1)->GetRadius();
33925  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
33926  return SWIG_arg;
33927 
33928  if(0) SWIG_fail;
33929 
33930 fail:
33931  lua_error(L);
33932  return SWIG_arg;
33933 }
33934 
33935 
33936 static int _wrap_CylinderCollisionShape_GetUpAxis(lua_State* L) {
33937  int SWIG_arg = 0;
33940 
33941  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::GetUpAxis",1,1)
33942  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::GetUpAxis",1,"Mezzanine::Physics::CylinderCollisionShape const *");
33943 
33944  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
33945  SWIG_fail_ptr("CylinderCollisionShape_GetUpAxis",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
33946  }
33947 
33948  result = ((Mezzanine::Physics::CylinderCollisionShape const *)arg1)->GetUpAxis();
33949  {
33951  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
33952  }
33953  return SWIG_arg;
33954 
33955  if(0) SWIG_fail;
33956 
33957 fail:
33958  lua_error(L);
33959  return SWIG_arg;
33960 }
33961 
33962 
33963 static int _wrap_CylinderCollisionShape_GetType(lua_State* L) {
33964  int SWIG_arg = 0;
33967 
33968  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::GetType",1,1)
33969  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::GetType",1,"Mezzanine::Physics::CylinderCollisionShape const *");
33970 
33971  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
33972  SWIG_fail_ptr("CylinderCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
33973  }
33974 
33976  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
33977  return SWIG_arg;
33978 
33979  if(0) SWIG_fail;
33980 
33981 fail:
33982  lua_error(L);
33983  return SWIG_arg;
33984 }
33985 
33986 
33987 static int _wrap_CylinderCollisionShape_GetBulletCylinderShape(lua_State* L) {
33988  int SWIG_arg = 0;
33990  btCylinderShape *result = 0 ;
33991 
33992  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::GetBulletCylinderShape",1,1)
33993  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::GetBulletCylinderShape",1,"Mezzanine::Physics::CylinderCollisionShape const *");
33994 
33995  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
33996  SWIG_fail_ptr("CylinderCollisionShape_GetBulletCylinderShape",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
33997  }
33998 
33999  result = (btCylinderShape *)((Mezzanine::Physics::CylinderCollisionShape const *)arg1)->GetBulletCylinderShape();
34000  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCylinderShape,0); SWIG_arg++;
34001  return SWIG_arg;
34002 
34003  if(0) SWIG_fail;
34004 
34005 fail:
34006  lua_error(L);
34007  return SWIG_arg;
34008 }
34009 
34010 
34011 static int _wrap_CylinderCollisionShape_ProtoSerialize(lua_State* L) {
34012  int SWIG_arg = 0;
34014  XML::Node *arg2 = 0 ;
34015 
34016  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::ProtoSerialize",2,2)
34017  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::CylinderCollisionShape const *");
34018  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::ProtoSerialize",2,"XML::Node &");
34019 
34020  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
34021  SWIG_fail_ptr("CylinderCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
34022  }
34023 
34024 
34025  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34026  SWIG_fail_ptr("CylinderCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
34027  }
34028 
34029  ((Mezzanine::Physics::CylinderCollisionShape const *)arg1)->ProtoSerialize(*arg2);
34030 
34031  return SWIG_arg;
34032 
34033  if(0) SWIG_fail;
34034 
34035 fail:
34036  lua_error(L);
34037  return SWIG_arg;
34038 }
34039 
34040 
34041 static int _wrap_CylinderCollisionShape_ProtoDeSerialize(lua_State* L) {
34042  int SWIG_arg = 0;
34044  XML::Node *arg2 = 0 ;
34045 
34046  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::ProtoDeSerialize",2,2)
34047  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::CylinderCollisionShape *");
34048  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::CylinderCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
34049 
34050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,0))){
34051  SWIG_fail_ptr("CylinderCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape);
34052  }
34053 
34054 
34055  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34056  SWIG_fail_ptr("CylinderCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
34057  }
34058 
34059  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
34060 
34061  return SWIG_arg;
34062 
34063  if(0) SWIG_fail;
34064 
34065 fail:
34066  lua_error(L);
34067  return SWIG_arg;
34068 }
34069 
34070 
34071 static int _wrap_CylinderCollisionShape_SerializableName(lua_State* L) {
34072  int SWIG_arg = 0;
34073  Mezzanine::String result;
34074 
34075  SWIG_check_num_args("Mezzanine::Physics::CylinderCollisionShape::SerializableName",0,0)
34076  result = Mezzanine::Physics::CylinderCollisionShape::SerializableName();
34077  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
34078  return SWIG_arg;
34079 
34080  if(0) SWIG_fail;
34081 
34082 fail:
34083  lua_error(L);
34084  return SWIG_arg;
34085 }
34086 
34087 
34088 static void swig_delete_CylinderCollisionShape(void *obj) {
34090 delete arg1;
34091 }
34092 static swig_lua_method swig_Mezzanine_Physics_CylinderCollisionShape_methods[] = {
34093  {"GetHalfExtents", _wrap_CylinderCollisionShape_GetHalfExtents},
34094  {"GetHalfExtentsWithMargin", _wrap_CylinderCollisionShape_GetHalfExtentsWithMargin},
34095  {"GetRadius", _wrap_CylinderCollisionShape_GetRadius},
34096  {"GetUpAxis", _wrap_CylinderCollisionShape_GetUpAxis},
34097  {"GetType", _wrap_CylinderCollisionShape_GetType},
34098  {"GetBulletCylinderShape", _wrap_CylinderCollisionShape_GetBulletCylinderShape},
34099  {"ProtoSerialize", _wrap_CylinderCollisionShape_ProtoSerialize},
34100  {"ProtoDeSerialize", _wrap_CylinderCollisionShape_ProtoDeSerialize},
34101  {0,0}
34102 };
34103 static swig_lua_attribute swig_Mezzanine_Physics_CylinderCollisionShape_attributes[] = {
34104  {0,0,0}
34105 };
34106 static swig_lua_class *swig_Mezzanine_Physics_CylinderCollisionShape_bases[] = {0,0};
34107 static const char *swig_Mezzanine_Physics_CylinderCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
34108 static swig_lua_class _wrap_class_Mezzanine_Physics_CylinderCollisionShape = { "CylinderCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__CylinderCollisionShape,_wrap_new_CylinderCollisionShape, swig_delete_CylinderCollisionShape, swig_Mezzanine_Physics_CylinderCollisionShape_methods, swig_Mezzanine_Physics_CylinderCollisionShape_attributes, swig_Mezzanine_Physics_CylinderCollisionShape_bases, swig_Mezzanine_Physics_CylinderCollisionShape_base_names };
34109 
34110 static int _wrap_DualTransformConstraint_SetPivotATransform(lua_State* L) {
34111  int SWIG_arg = 0;
34113  Mezzanine::Transform *arg2 = 0 ;
34114 
34115  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SetPivotATransform",2,2)
34116  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotATransform",1,"Mezzanine::Physics::DualTransformConstraint *");
34117  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotATransform",2,"Mezzanine::Transform const &");
34118 
34119  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34120  SWIG_fail_ptr("DualTransformConstraint_SetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34121  }
34122 
34123 
34124  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
34125  SWIG_fail_ptr("DualTransformConstraint_SetPivotATransform",2,SWIGTYPE_p_Mezzanine__Transform);
34126  }
34127 
34128  (arg1)->SetPivotATransform((Mezzanine::Transform const &)*arg2);
34129 
34130  return SWIG_arg;
34131 
34132  if(0) SWIG_fail;
34133 
34134 fail:
34135  lua_error(L);
34136  return SWIG_arg;
34137 }
34138 
34139 
34140 static int _wrap_DualTransformConstraint_SetPivotBTransform(lua_State* L) {
34141  int SWIG_arg = 0;
34143  Mezzanine::Transform *arg2 = 0 ;
34144 
34145  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SetPivotBTransform",2,2)
34146  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotBTransform",1,"Mezzanine::Physics::DualTransformConstraint *");
34147  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotBTransform",2,"Mezzanine::Transform const &");
34148 
34149  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34150  SWIG_fail_ptr("DualTransformConstraint_SetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34151  }
34152 
34153 
34154  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
34155  SWIG_fail_ptr("DualTransformConstraint_SetPivotBTransform",2,SWIGTYPE_p_Mezzanine__Transform);
34156  }
34157 
34158  (arg1)->SetPivotBTransform((Mezzanine::Transform const &)*arg2);
34159 
34160  return SWIG_arg;
34161 
34162  if(0) SWIG_fail;
34163 
34164 fail:
34165  lua_error(L);
34166  return SWIG_arg;
34167 }
34168 
34169 
34170 static int _wrap_DualTransformConstraint_GetPivotATransform(lua_State* L) {
34171  int SWIG_arg = 0;
34173  Mezzanine::Transform result;
34174 
34175  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::GetPivotATransform",1,1)
34176  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::GetPivotATransform",1,"Mezzanine::Physics::DualTransformConstraint const *");
34177 
34178  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34179  SWIG_fail_ptr("DualTransformConstraint_GetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34180  }
34181 
34182  result = ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->GetPivotATransform();
34183  {
34184  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
34185  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
34186  }
34187  return SWIG_arg;
34188 
34189  if(0) SWIG_fail;
34190 
34191 fail:
34192  lua_error(L);
34193  return SWIG_arg;
34194 }
34195 
34196 
34197 static int _wrap_DualTransformConstraint_GetPivotBTransform(lua_State* L) {
34198  int SWIG_arg = 0;
34200  Mezzanine::Transform result;
34201 
34202  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::GetPivotBTransform",1,1)
34203  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::GetPivotBTransform",1,"Mezzanine::Physics::DualTransformConstraint const *");
34204 
34205  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34206  SWIG_fail_ptr("DualTransformConstraint_GetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34207  }
34208 
34209  result = ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->GetPivotBTransform();
34210  {
34211  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
34212  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
34213  }
34214  return SWIG_arg;
34215 
34216  if(0) SWIG_fail;
34217 
34218 fail:
34219  lua_error(L);
34220  return SWIG_arg;
34221 }
34222 
34223 
34224 static int _wrap_DualTransformConstraint_SetPivotALocation(lua_State* L) {
34225  int SWIG_arg = 0;
34227  Mezzanine::Physics::Vector3 *arg2 = 0 ;
34228 
34229  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SetPivotALocation",2,2)
34230  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotALocation",1,"Mezzanine::Physics::DualTransformConstraint *");
34231  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotALocation",2,"Mezzanine::Physics::Vector3 const &");
34232 
34233  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34234  SWIG_fail_ptr("DualTransformConstraint_SetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34235  }
34236 
34237 
34238  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
34239  SWIG_fail_ptr("DualTransformConstraint_SetPivotALocation",2,SWIGTYPE_p_Mezzanine__Vector3);
34240  }
34241 
34242  (arg1)->SetPivotALocation((Mezzanine::Physics::Vector3 const &)*arg2);
34243 
34244  return SWIG_arg;
34245 
34246  if(0) SWIG_fail;
34247 
34248 fail:
34249  lua_error(L);
34250  return SWIG_arg;
34251 }
34252 
34253 
34254 static int _wrap_DualTransformConstraint_SetPivotBLocation(lua_State* L) {
34255  int SWIG_arg = 0;
34257  Mezzanine::Physics::Vector3 *arg2 = 0 ;
34258 
34259  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SetPivotBLocation",2,2)
34260  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotBLocation",1,"Mezzanine::Physics::DualTransformConstraint *");
34261  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotBLocation",2,"Mezzanine::Physics::Vector3 const &");
34262 
34263  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34264  SWIG_fail_ptr("DualTransformConstraint_SetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34265  }
34266 
34267 
34268  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
34269  SWIG_fail_ptr("DualTransformConstraint_SetPivotBLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
34270  }
34271 
34272  (arg1)->SetPivotBLocation((Mezzanine::Physics::Vector3 const &)*arg2);
34273 
34274  return SWIG_arg;
34275 
34276  if(0) SWIG_fail;
34277 
34278 fail:
34279  lua_error(L);
34280  return SWIG_arg;
34281 }
34282 
34283 
34284 static int _wrap_DualTransformConstraint_GetPivotALocation(lua_State* L) {
34285  int SWIG_arg = 0;
34288 
34289  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::GetPivotALocation",1,1)
34290  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::GetPivotALocation",1,"Mezzanine::Physics::DualTransformConstraint const *");
34291 
34292  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34293  SWIG_fail_ptr("DualTransformConstraint_GetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34294  }
34295 
34296  result = ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->GetPivotALocation();
34297  {
34299  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
34300  }
34301  return SWIG_arg;
34302 
34303  if(0) SWIG_fail;
34304 
34305 fail:
34306  lua_error(L);
34307  return SWIG_arg;
34308 }
34309 
34310 
34311 static int _wrap_DualTransformConstraint_GetPivotBLocation(lua_State* L) {
34312  int SWIG_arg = 0;
34315 
34316  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::GetPivotBLocation",1,1)
34317  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::GetPivotBLocation",1,"Mezzanine::Physics::DualTransformConstraint const *");
34318 
34319  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34320  SWIG_fail_ptr("DualTransformConstraint_GetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34321  }
34322 
34323  result = ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->GetPivotBLocation();
34324  {
34326  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
34327  }
34328  return SWIG_arg;
34329 
34330  if(0) SWIG_fail;
34331 
34332 fail:
34333  lua_error(L);
34334  return SWIG_arg;
34335 }
34336 
34337 
34338 static int _wrap_DualTransformConstraint_SetPivotARotation(lua_State* L) {
34339  int SWIG_arg = 0;
34341  Mezzanine::Quaternion *arg2 = 0 ;
34342 
34343  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SetPivotARotation",2,2)
34344  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotARotation",1,"Mezzanine::Physics::DualTransformConstraint *");
34345  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotARotation",2,"Mezzanine::Quaternion const &");
34346 
34347  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34348  SWIG_fail_ptr("DualTransformConstraint_SetPivotARotation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34349  }
34350 
34351 
34352  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
34353  SWIG_fail_ptr("DualTransformConstraint_SetPivotARotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
34354  }
34355 
34356  (arg1)->SetPivotARotation((Mezzanine::Quaternion const &)*arg2);
34357 
34358  return SWIG_arg;
34359 
34360  if(0) SWIG_fail;
34361 
34362 fail:
34363  lua_error(L);
34364  return SWIG_arg;
34365 }
34366 
34367 
34368 static int _wrap_DualTransformConstraint_SetPivotBRotation(lua_State* L) {
34369  int SWIG_arg = 0;
34371  Mezzanine::Quaternion *arg2 = 0 ;
34372 
34373  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SetPivotBRotation",2,2)
34374  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotBRotation",1,"Mezzanine::Physics::DualTransformConstraint *");
34375  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::SetPivotBRotation",2,"Mezzanine::Quaternion const &");
34376 
34377  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34378  SWIG_fail_ptr("DualTransformConstraint_SetPivotBRotation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34379  }
34380 
34381 
34382  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
34383  SWIG_fail_ptr("DualTransformConstraint_SetPivotBRotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
34384  }
34385 
34386  (arg1)->SetPivotBRotation((Mezzanine::Quaternion const &)*arg2);
34387 
34388  return SWIG_arg;
34389 
34390  if(0) SWIG_fail;
34391 
34392 fail:
34393  lua_error(L);
34394  return SWIG_arg;
34395 }
34396 
34397 
34398 static int _wrap_DualTransformConstraint_GetPivotARotation(lua_State* L) {
34399  int SWIG_arg = 0;
34401  Mezzanine::Quaternion result;
34402 
34403  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::GetPivotARotation",1,1)
34404  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::GetPivotARotation",1,"Mezzanine::Physics::DualTransformConstraint const *");
34405 
34406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34407  SWIG_fail_ptr("DualTransformConstraint_GetPivotARotation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34408  }
34409 
34410  result = ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->GetPivotARotation();
34411  {
34412  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
34413  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
34414  }
34415  return SWIG_arg;
34416 
34417  if(0) SWIG_fail;
34418 
34419 fail:
34420  lua_error(L);
34421  return SWIG_arg;
34422 }
34423 
34424 
34425 static int _wrap_DualTransformConstraint_GetPivotBRotation(lua_State* L) {
34426  int SWIG_arg = 0;
34428  Mezzanine::Quaternion result;
34429 
34430  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::GetPivotBRotation",1,1)
34431  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::GetPivotBRotation",1,"Mezzanine::Physics::DualTransformConstraint const *");
34432 
34433  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34434  SWIG_fail_ptr("DualTransformConstraint_GetPivotBRotation",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34435  }
34436 
34437  result = ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->GetPivotBRotation();
34438  {
34439  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
34440  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
34441  }
34442  return SWIG_arg;
34443 
34444  if(0) SWIG_fail;
34445 
34446 fail:
34447  lua_error(L);
34448  return SWIG_arg;
34449 }
34450 
34451 
34452 static int _wrap_DualTransformConstraint_ProtoSerialize(lua_State* L) {
34453  int SWIG_arg = 0;
34455  XML::Node *arg2 = 0 ;
34456 
34457  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::ProtoSerialize",2,2)
34458  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::ProtoSerialize",1,"Mezzanine::Physics::DualTransformConstraint const *");
34459  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::ProtoSerialize",2,"XML::Node &");
34460 
34461  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34462  SWIG_fail_ptr("DualTransformConstraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34463  }
34464 
34465 
34466  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34467  SWIG_fail_ptr("DualTransformConstraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
34468  }
34469 
34470  ((Mezzanine::Physics::DualTransformConstraint const *)arg1)->ProtoSerialize(*arg2);
34471 
34472  return SWIG_arg;
34473 
34474  if(0) SWIG_fail;
34475 
34476 fail:
34477  lua_error(L);
34478  return SWIG_arg;
34479 }
34480 
34481 
34482 static int _wrap_DualTransformConstraint_ProtoDeSerialize(lua_State* L) {
34483  int SWIG_arg = 0;
34485  XML::Node *arg2 = 0 ;
34486 
34487  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::ProtoDeSerialize",2,2)
34488  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::ProtoDeSerialize",1,"Mezzanine::Physics::DualTransformConstraint *");
34489  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::DualTransformConstraint::ProtoDeSerialize",2,"XML::Node const &");
34490 
34491  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0))){
34492  SWIG_fail_ptr("DualTransformConstraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint);
34493  }
34494 
34495 
34496  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34497  SWIG_fail_ptr("DualTransformConstraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
34498  }
34499 
34500  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
34501 
34502  return SWIG_arg;
34503 
34504  if(0) SWIG_fail;
34505 
34506 fail:
34507  lua_error(L);
34508  return SWIG_arg;
34509 }
34510 
34511 
34512 static int _wrap_DualTransformConstraint_SerializableName(lua_State* L) {
34513  int SWIG_arg = 0;
34514  Mezzanine::String result;
34515 
34516  SWIG_check_num_args("Mezzanine::Physics::DualTransformConstraint::SerializableName",0,0)
34517  result = Mezzanine::Physics::DualTransformConstraint::SerializableName();
34518  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
34519  return SWIG_arg;
34520 
34521  if(0) SWIG_fail;
34522 
34523 fail:
34524  lua_error(L);
34525  return SWIG_arg;
34526 }
34527 
34528 
34529 static void swig_delete_DualTransformConstraint(void *obj) {
34531 delete arg1;
34532 }
34533 static swig_lua_method swig_Mezzanine_Physics_DualTransformConstraint_methods[] = {
34534  {"SetPivotATransform", _wrap_DualTransformConstraint_SetPivotATransform},
34535  {"SetPivotBTransform", _wrap_DualTransformConstraint_SetPivotBTransform},
34536  {"GetPivotATransform", _wrap_DualTransformConstraint_GetPivotATransform},
34537  {"GetPivotBTransform", _wrap_DualTransformConstraint_GetPivotBTransform},
34538  {"SetPivotALocation", _wrap_DualTransformConstraint_SetPivotALocation},
34539  {"SetPivotBLocation", _wrap_DualTransformConstraint_SetPivotBLocation},
34540  {"GetPivotALocation", _wrap_DualTransformConstraint_GetPivotALocation},
34541  {"GetPivotBLocation", _wrap_DualTransformConstraint_GetPivotBLocation},
34542  {"SetPivotARotation", _wrap_DualTransformConstraint_SetPivotARotation},
34543  {"SetPivotBRotation", _wrap_DualTransformConstraint_SetPivotBRotation},
34544  {"GetPivotARotation", _wrap_DualTransformConstraint_GetPivotARotation},
34545  {"GetPivotBRotation", _wrap_DualTransformConstraint_GetPivotBRotation},
34546  {"ProtoSerialize", _wrap_DualTransformConstraint_ProtoSerialize},
34547  {"ProtoDeSerialize", _wrap_DualTransformConstraint_ProtoDeSerialize},
34548  {0,0}
34549 };
34550 static swig_lua_attribute swig_Mezzanine_Physics_DualTransformConstraint_attributes[] = {
34551  {0,0,0}
34552 };
34553 static swig_lua_class *swig_Mezzanine_Physics_DualTransformConstraint_bases[] = {0,0};
34554 static const char *swig_Mezzanine_Physics_DualTransformConstraint_base_names[] = {"Mezzanine::Physics::Constraint *",0};
34555 static swig_lua_class _wrap_class_Mezzanine_Physics_DualTransformConstraint = { "DualTransformConstraint", &SWIGTYPE_p_Mezzanine__Physics__DualTransformConstraint,0, swig_delete_DualTransformConstraint, swig_Mezzanine_Physics_DualTransformConstraint_methods, swig_Mezzanine_Physics_DualTransformConstraint_attributes, swig_Mezzanine_Physics_DualTransformConstraint_bases, swig_Mezzanine_Physics_DualTransformConstraint_base_names };
34556 
34557 static int _wrap_MeshCollisionShape_GetType(lua_State* L) {
34558  int SWIG_arg = 0;
34561 
34562  SWIG_check_num_args("Mezzanine::Physics::MeshCollisionShape::GetType",1,1)
34563  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MeshCollisionShape::GetType",1,"Mezzanine::Physics::MeshCollisionShape const *");
34564 
34565  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape,0))){
34566  SWIG_fail_ptr("MeshCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape);
34567  }
34568 
34570  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
34571  return SWIG_arg;
34572 
34573  if(0) SWIG_fail;
34574 
34575 fail:
34576  lua_error(L);
34577  return SWIG_arg;
34578 }
34579 
34580 
34581 static int _wrap_MeshCollisionShape_GetBulletConcaveShape(lua_State* L) {
34582  int SWIG_arg = 0;
34584  btConcaveShape *result = 0 ;
34585 
34586  SWIG_check_num_args("Mezzanine::Physics::MeshCollisionShape::GetBulletConcaveShape",1,1)
34587  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MeshCollisionShape::GetBulletConcaveShape",1,"Mezzanine::Physics::MeshCollisionShape const *");
34588 
34589  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape,0))){
34590  SWIG_fail_ptr("MeshCollisionShape_GetBulletConcaveShape",1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape);
34591  }
34592 
34593  result = (btConcaveShape *)((Mezzanine::Physics::MeshCollisionShape const *)arg1)->GetBulletConcaveShape();
34594  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btConcaveShape,0); SWIG_arg++;
34595  return SWIG_arg;
34596 
34597  if(0) SWIG_fail;
34598 
34599 fail:
34600  lua_error(L);
34601  return SWIG_arg;
34602 }
34603 
34604 
34605 static int _wrap_MeshCollisionShape_ProtoSerialize(lua_State* L) {
34606  int SWIG_arg = 0;
34608  XML::Node *arg2 = 0 ;
34609 
34610  SWIG_check_num_args("Mezzanine::Physics::MeshCollisionShape::ProtoSerialize",2,2)
34611  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MeshCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::MeshCollisionShape const *");
34612  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::MeshCollisionShape::ProtoSerialize",2,"XML::Node &");
34613 
34614  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape,0))){
34615  SWIG_fail_ptr("MeshCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape);
34616  }
34617 
34618 
34619  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34620  SWIG_fail_ptr("MeshCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
34621  }
34622 
34623  ((Mezzanine::Physics::MeshCollisionShape const *)arg1)->ProtoSerialize(*arg2);
34624 
34625  return SWIG_arg;
34626 
34627  if(0) SWIG_fail;
34628 
34629 fail:
34630  lua_error(L);
34631  return SWIG_arg;
34632 }
34633 
34634 
34635 static int _wrap_MeshCollisionShape_ProtoDeSerialize(lua_State* L) {
34636  int SWIG_arg = 0;
34638  XML::Node *arg2 = 0 ;
34639 
34640  SWIG_check_num_args("Mezzanine::Physics::MeshCollisionShape::ProtoDeSerialize",2,2)
34641  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MeshCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::MeshCollisionShape *");
34642  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::MeshCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
34643 
34644  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape,0))){
34645  SWIG_fail_ptr("MeshCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape);
34646  }
34647 
34648 
34649  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34650  SWIG_fail_ptr("MeshCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
34651  }
34652 
34653  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
34654 
34655  return SWIG_arg;
34656 
34657  if(0) SWIG_fail;
34658 
34659 fail:
34660  lua_error(L);
34661  return SWIG_arg;
34662 }
34663 
34664 
34665 static int _wrap_MeshCollisionShape_SerializableName(lua_State* L) {
34666  int SWIG_arg = 0;
34667  Mezzanine::String result;
34668 
34669  SWIG_check_num_args("Mezzanine::Physics::MeshCollisionShape::SerializableName",0,0)
34670  result = Mezzanine::Physics::MeshCollisionShape::SerializableName();
34671  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
34672  return SWIG_arg;
34673 
34674  if(0) SWIG_fail;
34675 
34676 fail:
34677  lua_error(L);
34678  return SWIG_arg;
34679 }
34680 
34681 
34682 static void swig_delete_MeshCollisionShape(void *obj) {
34684 delete arg1;
34685 }
34686 static swig_lua_method swig_Mezzanine_Physics_MeshCollisionShape_methods[] = {
34687  {"GetType", _wrap_MeshCollisionShape_GetType},
34688  {"GetBulletConcaveShape", _wrap_MeshCollisionShape_GetBulletConcaveShape},
34689  {"ProtoSerialize", _wrap_MeshCollisionShape_ProtoSerialize},
34690  {"ProtoDeSerialize", _wrap_MeshCollisionShape_ProtoDeSerialize},
34691  {0,0}
34692 };
34693 static swig_lua_attribute swig_Mezzanine_Physics_MeshCollisionShape_attributes[] = {
34694  {0,0,0}
34695 };
34696 static swig_lua_class *swig_Mezzanine_Physics_MeshCollisionShape_bases[] = {0,0};
34697 static const char *swig_Mezzanine_Physics_MeshCollisionShape_base_names[] = {"Mezzanine::Physics::CollisionShape *",0};
34698 static swig_lua_class _wrap_class_Mezzanine_Physics_MeshCollisionShape = { "MeshCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__MeshCollisionShape,0, swig_delete_MeshCollisionShape, swig_Mezzanine_Physics_MeshCollisionShape_methods, swig_Mezzanine_Physics_MeshCollisionShape_attributes, swig_Mezzanine_Physics_MeshCollisionShape_bases, swig_Mezzanine_Physics_MeshCollisionShape_base_names };
34699 
34700 static int _wrap_new_DynamicMeshCollisionShape(lua_State* L) {
34701  int SWIG_arg = 0;
34702  Mezzanine::String *arg1 = 0 ;
34703  btGImpactMeshShape *arg2 = (btGImpactMeshShape *) 0 ;
34704  Mezzanine::String temp1 ;
34706 
34707  SWIG_check_num_args("Mezzanine::Physics::DynamicMeshCollisionShape::DynamicMeshCollisionShape",2,2)
34708  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::DynamicMeshCollisionShape::DynamicMeshCollisionShape",1,"Mezzanine::String const &");
34709  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::DynamicMeshCollisionShape::DynamicMeshCollisionShape",2,"btGImpactMeshShape *");
34710  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
34711 
34712  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btGImpactMeshShape,0))){
34713  SWIG_fail_ptr("new_DynamicMeshCollisionShape",2,SWIGTYPE_p_btGImpactMeshShape);
34714  }
34715 
34717  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,1); SWIG_arg++;
34718  return SWIG_arg;
34719 
34720  if(0) SWIG_fail;
34721 
34722 fail:
34723  lua_error(L);
34724  return SWIG_arg;
34725 }
34726 
34727 
34728 static int _wrap_DynamicMeshCollisionShape_GetType(lua_State* L) {
34729  int SWIG_arg = 0;
34732 
34733  SWIG_check_num_args("Mezzanine::Physics::DynamicMeshCollisionShape::GetType",1,1)
34734  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::DynamicMeshCollisionShape::GetType",1,"Mezzanine::Physics::DynamicMeshCollisionShape const *");
34735 
34736  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,0))){
34737  SWIG_fail_ptr("DynamicMeshCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape);
34738  }
34739 
34741  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
34742  return SWIG_arg;
34743 
34744  if(0) SWIG_fail;
34745 
34746 fail:
34747  lua_error(L);
34748  return SWIG_arg;
34749 }
34750 
34751 
34752 static void swig_delete_DynamicMeshCollisionShape(void *obj) {
34754 delete arg1;
34755 }
34756 static swig_lua_method swig_Mezzanine_Physics_DynamicMeshCollisionShape_methods[] = {
34757  {"GetType", _wrap_DynamicMeshCollisionShape_GetType},
34758  {0,0}
34759 };
34760 static swig_lua_attribute swig_Mezzanine_Physics_DynamicMeshCollisionShape_attributes[] = {
34761  {0,0,0}
34762 };
34763 static swig_lua_class *swig_Mezzanine_Physics_DynamicMeshCollisionShape_bases[] = {0,0};
34764 static const char *swig_Mezzanine_Physics_DynamicMeshCollisionShape_base_names[] = {"Mezzanine::Physics::MeshCollisionShape *",0};
34765 static swig_lua_class _wrap_class_Mezzanine_Physics_DynamicMeshCollisionShape = { "DynamicMeshCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__DynamicMeshCollisionShape,_wrap_new_DynamicMeshCollisionShape, swig_delete_DynamicMeshCollisionShape, swig_Mezzanine_Physics_DynamicMeshCollisionShape_methods, swig_Mezzanine_Physics_DynamicMeshCollisionShape_attributes, swig_Mezzanine_Physics_DynamicMeshCollisionShape_bases, swig_Mezzanine_Physics_DynamicMeshCollisionShape_base_names };
34766 
34767 static int _wrap_FieldCollisionShape_GetType(lua_State* L) {
34768  int SWIG_arg = 0;
34771 
34772  SWIG_check_num_args("Mezzanine::Physics::FieldCollisionShape::GetType",1,1)
34773  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::FieldCollisionShape::GetType",1,"Mezzanine::Physics::FieldCollisionShape const *");
34774 
34775  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape,0))){
34776  SWIG_fail_ptr("FieldCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape);
34777  }
34778 
34780  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
34781  return SWIG_arg;
34782 
34783  if(0) SWIG_fail;
34784 
34785 fail:
34786  lua_error(L);
34787  return SWIG_arg;
34788 }
34789 
34790 
34791 static int _wrap_FieldCollisionShape_GetBulletConcaveShape(lua_State* L) {
34792  int SWIG_arg = 0;
34794  btConcaveShape *result = 0 ;
34795 
34796  SWIG_check_num_args("Mezzanine::Physics::FieldCollisionShape::GetBulletConcaveShape",1,1)
34797  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::FieldCollisionShape::GetBulletConcaveShape",1,"Mezzanine::Physics::FieldCollisionShape const *");
34798 
34799  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape,0))){
34800  SWIG_fail_ptr("FieldCollisionShape_GetBulletConcaveShape",1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape);
34801  }
34802 
34803  result = (btConcaveShape *)((Mezzanine::Physics::FieldCollisionShape const *)arg1)->GetBulletConcaveShape();
34804  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btConcaveShape,0); SWIG_arg++;
34805  return SWIG_arg;
34806 
34807  if(0) SWIG_fail;
34808 
34809 fail:
34810  lua_error(L);
34811  return SWIG_arg;
34812 }
34813 
34814 
34815 static int _wrap_FieldCollisionShape_ProtoSerialize(lua_State* L) {
34816  int SWIG_arg = 0;
34818  XML::Node *arg2 = 0 ;
34819 
34820  SWIG_check_num_args("Mezzanine::Physics::FieldCollisionShape::ProtoSerialize",2,2)
34821  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::FieldCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::FieldCollisionShape const *");
34822  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::FieldCollisionShape::ProtoSerialize",2,"XML::Node &");
34823 
34824  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape,0))){
34825  SWIG_fail_ptr("FieldCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape);
34826  }
34827 
34828 
34829  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34830  SWIG_fail_ptr("FieldCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
34831  }
34832 
34833  ((Mezzanine::Physics::FieldCollisionShape const *)arg1)->ProtoSerialize(*arg2);
34834 
34835  return SWIG_arg;
34836 
34837  if(0) SWIG_fail;
34838 
34839 fail:
34840  lua_error(L);
34841  return SWIG_arg;
34842 }
34843 
34844 
34845 static int _wrap_FieldCollisionShape_ProtoDeSerialize(lua_State* L) {
34846  int SWIG_arg = 0;
34848  XML::Node *arg2 = 0 ;
34849 
34850  SWIG_check_num_args("Mezzanine::Physics::FieldCollisionShape::ProtoDeSerialize",2,2)
34851  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::FieldCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::FieldCollisionShape *");
34852  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::FieldCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
34853 
34854  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape,0))){
34855  SWIG_fail_ptr("FieldCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape);
34856  }
34857 
34858 
34859  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
34860  SWIG_fail_ptr("FieldCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
34861  }
34862 
34863  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
34864 
34865  return SWIG_arg;
34866 
34867  if(0) SWIG_fail;
34868 
34869 fail:
34870  lua_error(L);
34871  return SWIG_arg;
34872 }
34873 
34874 
34875 static int _wrap_FieldCollisionShape_SerializableName(lua_State* L) {
34876  int SWIG_arg = 0;
34877  Mezzanine::String result;
34878 
34879  SWIG_check_num_args("Mezzanine::Physics::FieldCollisionShape::SerializableName",0,0)
34880  result = Mezzanine::Physics::FieldCollisionShape::SerializableName();
34881  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
34882  return SWIG_arg;
34883 
34884  if(0) SWIG_fail;
34885 
34886 fail:
34887  lua_error(L);
34888  return SWIG_arg;
34889 }
34890 
34891 
34892 static void swig_delete_FieldCollisionShape(void *obj) {
34894 delete arg1;
34895 }
34896 static swig_lua_method swig_Mezzanine_Physics_FieldCollisionShape_methods[] = {
34897  {"GetType", _wrap_FieldCollisionShape_GetType},
34898  {"GetBulletConcaveShape", _wrap_FieldCollisionShape_GetBulletConcaveShape},
34899  {"ProtoSerialize", _wrap_FieldCollisionShape_ProtoSerialize},
34900  {"ProtoDeSerialize", _wrap_FieldCollisionShape_ProtoDeSerialize},
34901  {0,0}
34902 };
34903 static swig_lua_attribute swig_Mezzanine_Physics_FieldCollisionShape_attributes[] = {
34904  {0,0,0}
34905 };
34906 static swig_lua_class *swig_Mezzanine_Physics_FieldCollisionShape_bases[] = {0,0};
34907 static const char *swig_Mezzanine_Physics_FieldCollisionShape_base_names[] = {"Mezzanine::Physics::CollisionShape *",0};
34908 static swig_lua_class _wrap_class_Mezzanine_Physics_FieldCollisionShape = { "FieldCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__FieldCollisionShape,0, swig_delete_FieldCollisionShape, swig_Mezzanine_Physics_FieldCollisionShape_methods, swig_Mezzanine_Physics_FieldCollisionShape_attributes, swig_Mezzanine_Physics_FieldCollisionShape_bases, swig_Mezzanine_Physics_FieldCollisionShape_base_names };
34909 
34910 static int _wrap_new_GearConstraint(lua_State* L) {
34911  int SWIG_arg = 0;
34914  Mezzanine::Physics::Vector3 *arg3 = 0 ;
34915  Mezzanine::Physics::Vector3 *arg4 = 0 ;
34916  Mezzanine::Real arg5 ;
34918 
34919  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::GearConstraint",5,5)
34920  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GearConstraint",1,"Mezzanine::Physics::RigidProxy *");
34921  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GearConstraint",2,"Mezzanine::Physics::RigidProxy *");
34922  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GearConstraint",3,"Mezzanine::Physics::Vector3 const &");
34923  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GearConstraint",4,"Mezzanine::Physics::Vector3 const &");
34924  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GearConstraint",5,"Mezzanine::Real const");
34925 
34926  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
34927  SWIG_fail_ptr("new_GearConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
34928  }
34929 
34930 
34931  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
34932  SWIG_fail_ptr("new_GearConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
34933  }
34934 
34935 
34936  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
34937  SWIG_fail_ptr("new_GearConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
34938  }
34939 
34940 
34941  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
34942  SWIG_fail_ptr("new_GearConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
34943  }
34944 
34945  arg5 = (Mezzanine::Real const)lua_tonumber(L, 5);
34947  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,1); SWIG_arg++;
34948  return SWIG_arg;
34949 
34950  if(0) SWIG_fail;
34951 
34952 fail:
34953  lua_error(L);
34954  return SWIG_arg;
34955 }
34956 
34957 
34958 static int _wrap_GearConstraint_SetAxisA(lua_State* L) {
34959  int SWIG_arg = 0;
34961  Mezzanine::Physics::Vector3 *arg2 = 0 ;
34962 
34963  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::SetAxisA",2,2)
34964  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::SetAxisA",1,"Mezzanine::Physics::GearConstraint *");
34965  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::SetAxisA",2,"Mezzanine::Physics::Vector3 const &");
34966 
34967  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
34968  SWIG_fail_ptr("GearConstraint_SetAxisA",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
34969  }
34970 
34971 
34972  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
34973  SWIG_fail_ptr("GearConstraint_SetAxisA",2,SWIGTYPE_p_Mezzanine__Vector3);
34974  }
34975 
34976  (arg1)->SetAxisA((Mezzanine::Physics::Vector3 const &)*arg2);
34977 
34978  return SWIG_arg;
34979 
34980  if(0) SWIG_fail;
34981 
34982 fail:
34983  lua_error(L);
34984  return SWIG_arg;
34985 }
34986 
34987 
34988 static int _wrap_GearConstraint_SetAxisB(lua_State* L) {
34989  int SWIG_arg = 0;
34991  Mezzanine::Physics::Vector3 *arg2 = 0 ;
34992 
34993  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::SetAxisB",2,2)
34994  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::SetAxisB",1,"Mezzanine::Physics::GearConstraint *");
34995  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::SetAxisB",2,"Mezzanine::Physics::Vector3 const &");
34996 
34997  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
34998  SWIG_fail_ptr("GearConstraint_SetAxisB",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
34999  }
35000 
35001 
35002  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
35003  SWIG_fail_ptr("GearConstraint_SetAxisB",2,SWIGTYPE_p_Mezzanine__Vector3);
35004  }
35005 
35006  (arg1)->SetAxisB((Mezzanine::Physics::Vector3 const &)*arg2);
35007 
35008  return SWIG_arg;
35009 
35010  if(0) SWIG_fail;
35011 
35012 fail:
35013  lua_error(L);
35014  return SWIG_arg;
35015 }
35016 
35017 
35018 static int _wrap_GearConstraint_GetAxisA(lua_State* L) {
35019  int SWIG_arg = 0;
35022 
35023  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::GetAxisA",1,1)
35024  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GetAxisA",1,"Mezzanine::Physics::GearConstraint const *");
35025 
35026  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35027  SWIG_fail_ptr("GearConstraint_GetAxisA",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35028  }
35029 
35030  result = ((Mezzanine::Physics::GearConstraint const *)arg1)->GetAxisA();
35031  {
35033  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
35034  }
35035  return SWIG_arg;
35036 
35037  if(0) SWIG_fail;
35038 
35039 fail:
35040  lua_error(L);
35041  return SWIG_arg;
35042 }
35043 
35044 
35045 static int _wrap_GearConstraint_GetAxisB(lua_State* L) {
35046  int SWIG_arg = 0;
35049 
35050  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::GetAxisB",1,1)
35051  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GetAxisB",1,"Mezzanine::Physics::GearConstraint const *");
35052 
35053  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35054  SWIG_fail_ptr("GearConstraint_GetAxisB",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35055  }
35056 
35057  result = ((Mezzanine::Physics::GearConstraint const *)arg1)->GetAxisB();
35058  {
35060  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
35061  }
35062  return SWIG_arg;
35063 
35064  if(0) SWIG_fail;
35065 
35066 fail:
35067  lua_error(L);
35068  return SWIG_arg;
35069 }
35070 
35071 
35072 static int _wrap_GearConstraint_SetRotationRatio(lua_State* L) {
35073  int SWIG_arg = 0;
35075  Mezzanine::Real arg2 ;
35076 
35077  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::SetRotationRatio",2,2)
35078  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::SetRotationRatio",1,"Mezzanine::Physics::GearConstraint *");
35079  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::SetRotationRatio",2,"Mezzanine::Real const");
35080 
35081  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35082  SWIG_fail_ptr("GearConstraint_SetRotationRatio",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35083  }
35084 
35085  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
35086  (arg1)->SetRotationRatio(arg2);
35087 
35088  return SWIG_arg;
35089 
35090  if(0) SWIG_fail;
35091 
35092 fail:
35093  lua_error(L);
35094  return SWIG_arg;
35095 }
35096 
35097 
35098 static int _wrap_GearConstraint_GetRotationRatio(lua_State* L) {
35099  int SWIG_arg = 0;
35101  Mezzanine::Real result;
35102 
35103  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::GetRotationRatio",1,1)
35104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GetRotationRatio",1,"Mezzanine::Physics::GearConstraint const *");
35105 
35106  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35107  SWIG_fail_ptr("GearConstraint_GetRotationRatio",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35108  }
35109 
35110  result = (Mezzanine::Real)((Mezzanine::Physics::GearConstraint const *)arg1)->GetRotationRatio();
35111  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
35112  return SWIG_arg;
35113 
35114  if(0) SWIG_fail;
35115 
35116 fail:
35117  lua_error(L);
35118  return SWIG_arg;
35119 }
35120 
35121 
35122 static int _wrap_GearConstraint_ValidParamOnAxis(lua_State* L) {
35123  int SWIG_arg = 0;
35125  int arg2 ;
35126  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
35127 
35128  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::ValidParamOnAxis",2,2)
35129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ValidParamOnAxis",1,"Mezzanine::Physics::GearConstraint const *");
35130  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ValidParamOnAxis",2,"int");
35131 
35132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35133  SWIG_fail_ptr("GearConstraint_ValidParamOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35134  }
35135 
35136  arg2 = (int)lua_tonumber(L, 2);
35137  result = ((Mezzanine::Physics::GearConstraint const *)arg1)->ValidParamOnAxis(arg2);
35138  {
35140  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
35141  }
35142  return SWIG_arg;
35143 
35144  if(0) SWIG_fail;
35145 
35146 fail:
35147  lua_error(L);
35148  return SWIG_arg;
35149 }
35150 
35151 
35152 static int _wrap_GearConstraint_ValidLinearAxis(lua_State* L) {
35153  int SWIG_arg = 0;
35155  SwigValueWrapper< std::vector< int > > result;
35156 
35157  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::ValidLinearAxis",1,1)
35158  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ValidLinearAxis",1,"Mezzanine::Physics::GearConstraint const *");
35159 
35160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35161  SWIG_fail_ptr("GearConstraint_ValidLinearAxis",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35162  }
35163 
35164  result = ((Mezzanine::Physics::GearConstraint const *)arg1)->ValidLinearAxis();
35165  {
35167  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
35168  }
35169  return SWIG_arg;
35170 
35171  if(0) SWIG_fail;
35172 
35173 fail:
35174  lua_error(L);
35175  return SWIG_arg;
35176 }
35177 
35178 
35179 static int _wrap_GearConstraint_ValidAngularAxis(lua_State* L) {
35180  int SWIG_arg = 0;
35182  SwigValueWrapper< std::vector< int > > result;
35183 
35184  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::ValidAngularAxis",1,1)
35185  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ValidAngularAxis",1,"Mezzanine::Physics::GearConstraint const *");
35186 
35187  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35188  SWIG_fail_ptr("GearConstraint_ValidAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35189  }
35190 
35191  result = ((Mezzanine::Physics::GearConstraint const *)arg1)->ValidAngularAxis();
35192  {
35194  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
35195  }
35196  return SWIG_arg;
35197 
35198  if(0) SWIG_fail;
35199 
35200 fail:
35201  lua_error(L);
35202  return SWIG_arg;
35203 }
35204 
35205 
35206 static int _wrap_GearConstraint_HasParamBeenSet(lua_State* L) {
35207  int SWIG_arg = 0;
35210  int arg3 ;
35211  Mezzanine::Boole result;
35212 
35213  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::HasParamBeenSet",3,3)
35214  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::HasParamBeenSet",1,"Mezzanine::Physics::GearConstraint const *");
35215  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::HasParamBeenSet",2,"Mezzanine::Physics::ConstraintParam");
35216  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::HasParamBeenSet",3,"int");
35217 
35218  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35219  SWIG_fail_ptr("GearConstraint_HasParamBeenSet",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35220  }
35221 
35222  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
35223  arg3 = (int)lua_tonumber(L, 3);
35224  result = (Mezzanine::Boole)((Mezzanine::Physics::GearConstraint const *)arg1)->HasParamBeenSet(arg2,arg3);
35225  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
35226  return SWIG_arg;
35227 
35228  if(0) SWIG_fail;
35229 
35230 fail:
35231  lua_error(L);
35232  return SWIG_arg;
35233 }
35234 
35235 
35236 static int _wrap_GearConstraint_ProtoSerialize(lua_State* L) {
35237  int SWIG_arg = 0;
35239  XML::Node *arg2 = 0 ;
35240 
35241  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::ProtoSerialize",2,2)
35242  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ProtoSerialize",1,"Mezzanine::Physics::GearConstraint const *");
35243  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ProtoSerialize",2,"XML::Node &");
35244 
35245  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35246  SWIG_fail_ptr("GearConstraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35247  }
35248 
35249 
35250  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
35251  SWIG_fail_ptr("GearConstraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
35252  }
35253 
35254  ((Mezzanine::Physics::GearConstraint const *)arg1)->ProtoSerialize(*arg2);
35255 
35256  return SWIG_arg;
35257 
35258  if(0) SWIG_fail;
35259 
35260 fail:
35261  lua_error(L);
35262  return SWIG_arg;
35263 }
35264 
35265 
35266 static int _wrap_GearConstraint_ProtoDeSerialize(lua_State* L) {
35267  int SWIG_arg = 0;
35269  XML::Node *arg2 = 0 ;
35270 
35271  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::ProtoDeSerialize",2,2)
35272  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ProtoDeSerialize",1,"Mezzanine::Physics::GearConstraint *");
35273  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::ProtoDeSerialize",2,"XML::Node const &");
35274 
35275  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35276  SWIG_fail_ptr("GearConstraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35277  }
35278 
35279 
35280  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
35281  SWIG_fail_ptr("GearConstraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
35282  }
35283 
35284  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
35285 
35286  return SWIG_arg;
35287 
35288  if(0) SWIG_fail;
35289 
35290 fail:
35291  lua_error(L);
35292  return SWIG_arg;
35293 }
35294 
35295 
35296 static int _wrap_GearConstraint_SerializableName(lua_State* L) {
35297  int SWIG_arg = 0;
35298  Mezzanine::String result;
35299 
35300  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::SerializableName",0,0)
35301  result = Mezzanine::Physics::GearConstraint::SerializableName();
35302  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
35303  return SWIG_arg;
35304 
35305  if(0) SWIG_fail;
35306 
35307 fail:
35308  lua_error(L);
35309  return SWIG_arg;
35310 }
35311 
35312 
35313 static int _wrap_GearConstraint_GetConstraintBase(lua_State* L) {
35314  int SWIG_arg = 0;
35316  btTypedConstraint *result = 0 ;
35317 
35318  SWIG_check_num_args("Mezzanine::Physics::GearConstraint::GetConstraintBase",1,1)
35319  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GearConstraint::GetConstraintBase",1,"Mezzanine::Physics::GearConstraint const *");
35320 
35321  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint,0))){
35322  SWIG_fail_ptr("GearConstraint_GetConstraintBase",1,SWIGTYPE_p_Mezzanine__Physics__GearConstraint);
35323  }
35324 
35325  result = (btTypedConstraint *)((Mezzanine::Physics::GearConstraint const *)arg1)->GetConstraintBase();
35326  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btTypedConstraint,0); SWIG_arg++;
35327  return SWIG_arg;
35328 
35329  if(0) SWIG_fail;
35330 
35331 fail:
35332  lua_error(L);
35333  return SWIG_arg;
35334 }
35335 
35336 
35337 static void swig_delete_GearConstraint(void *obj) {
35339 delete arg1;
35340 }
35341 static swig_lua_method swig_Mezzanine_Physics_GearConstraint_methods[] = {
35342  {"SetAxisA", _wrap_GearConstraint_SetAxisA},
35343  {"SetAxisB", _wrap_GearConstraint_SetAxisB},
35344  {"GetAxisA", _wrap_GearConstraint_GetAxisA},
35345  {"GetAxisB", _wrap_GearConstraint_GetAxisB},
35346  {"SetRotationRatio", _wrap_GearConstraint_SetRotationRatio},
35347  {"GetRotationRatio", _wrap_GearConstraint_GetRotationRatio},
35348  {"ValidParamOnAxis", _wrap_GearConstraint_ValidParamOnAxis},
35349  {"ValidLinearAxis", _wrap_GearConstraint_ValidLinearAxis},
35350  {"ValidAngularAxis", _wrap_GearConstraint_ValidAngularAxis},
35351  {"HasParamBeenSet", _wrap_GearConstraint_HasParamBeenSet},
35352  {"ProtoSerialize", _wrap_GearConstraint_ProtoSerialize},
35353  {"ProtoDeSerialize", _wrap_GearConstraint_ProtoDeSerialize},
35354  {"GetConstraintBase", _wrap_GearConstraint_GetConstraintBase},
35355  {0,0}
35356 };
35357 static swig_lua_attribute swig_Mezzanine_Physics_GearConstraint_attributes[] = {
35358  {0,0,0}
35359 };
35360 static swig_lua_class *swig_Mezzanine_Physics_GearConstraint_bases[] = {0,0};
35361 static const char *swig_Mezzanine_Physics_GearConstraint_base_names[] = {"Mezzanine::Physics::Constraint *",0};
35362 static swig_lua_class _wrap_class_Mezzanine_Physics_GearConstraint = { "GearConstraint", &SWIGTYPE_p_Mezzanine__Physics__GearConstraint,_wrap_new_GearConstraint, swig_delete_GearConstraint, swig_Mezzanine_Physics_GearConstraint_methods, swig_Mezzanine_Physics_GearConstraint_attributes, swig_Mezzanine_Physics_GearConstraint_bases, swig_Mezzanine_Physics_GearConstraint_base_names };
35363 
35364 static int _wrap_new_Generic6DofConstraint__SWIG_1(lua_State* L) {
35365  int SWIG_arg = 0;
35368  Mezzanine::Physics::Vector3 *arg3 = 0 ;
35369  Mezzanine::Physics::Vector3 *arg4 = 0 ;
35370  Mezzanine::Quaternion *arg5 = 0 ;
35371  Mezzanine::Quaternion *arg6 = 0 ;
35372  Mezzanine::Boole arg7 ;
35374 
35375  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",7,7)
35376  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35377  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Physics::RigidProxy *");
35378  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Physics::Vector3 const &");
35379  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,"Mezzanine::Physics::Vector3 const &");
35380  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",5,"Mezzanine::Quaternion const &");
35381  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",6,"Mezzanine::Quaternion const &");
35382  if(!lua_isboolean(L,7)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",7,"Mezzanine::Boole");
35383 
35384  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35385  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35386  }
35387 
35388 
35389  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35390  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35391  }
35392 
35393 
35394  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
35395  SWIG_fail_ptr("new_Generic6DofConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
35396  }
35397 
35398 
35399  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
35400  SWIG_fail_ptr("new_Generic6DofConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
35401  }
35402 
35403 
35404  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
35405  SWIG_fail_ptr("new_Generic6DofConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
35406  }
35407 
35408 
35409  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
35410  SWIG_fail_ptr("new_Generic6DofConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
35411  }
35412 
35413  arg7 = (lua_toboolean(L, 7)!=0);
35415  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35416  return SWIG_arg;
35417 
35418  if(0) SWIG_fail;
35419 
35420 fail:
35421  lua_error(L);
35422  return SWIG_arg;
35423 }
35424 
35425 
35426 static int _wrap_new_Generic6DofConstraint__SWIG_2(lua_State* L) {
35427  int SWIG_arg = 0;
35430  Mezzanine::Physics::Vector3 *arg3 = 0 ;
35431  Mezzanine::Physics::Vector3 *arg4 = 0 ;
35432  Mezzanine::Quaternion *arg5 = 0 ;
35433  Mezzanine::Quaternion *arg6 = 0 ;
35435 
35436  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",6,6)
35437  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35438  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Physics::RigidProxy *");
35439  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Physics::Vector3 const &");
35440  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,"Mezzanine::Physics::Vector3 const &");
35441  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",5,"Mezzanine::Quaternion const &");
35442  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",6,"Mezzanine::Quaternion const &");
35443 
35444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35445  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35446  }
35447 
35448 
35449  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35450  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35451  }
35452 
35453 
35454  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
35455  SWIG_fail_ptr("new_Generic6DofConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
35456  }
35457 
35458 
35459  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
35460  SWIG_fail_ptr("new_Generic6DofConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
35461  }
35462 
35463 
35464  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
35465  SWIG_fail_ptr("new_Generic6DofConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
35466  }
35467 
35468 
35469  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
35470  SWIG_fail_ptr("new_Generic6DofConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
35471  }
35472 
35474  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35475  return SWIG_arg;
35476 
35477  if(0) SWIG_fail;
35478 
35479 fail:
35480  lua_error(L);
35481  return SWIG_arg;
35482 }
35483 
35484 
35485 static int _wrap_new_Generic6DofConstraint__SWIG_3(lua_State* L) {
35486  int SWIG_arg = 0;
35489  Mezzanine::Transform *arg3 = 0 ;
35490  Mezzanine::Transform *arg4 = 0 ;
35491  Mezzanine::Boole arg5 ;
35493 
35494  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",5,5)
35495  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35496  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Physics::RigidProxy *");
35497  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Transform const &");
35498  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,"Mezzanine::Transform const &");
35499  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",5,"Mezzanine::Boole");
35500 
35501  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35502  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35503  }
35504 
35505 
35506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35507  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35508  }
35509 
35510 
35511  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
35512  SWIG_fail_ptr("new_Generic6DofConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
35513  }
35514 
35515 
35516  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
35517  SWIG_fail_ptr("new_Generic6DofConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
35518  }
35519 
35520  arg5 = (lua_toboolean(L, 5)!=0);
35522  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35523  return SWIG_arg;
35524 
35525  if(0) SWIG_fail;
35526 
35527 fail:
35528  lua_error(L);
35529  return SWIG_arg;
35530 }
35531 
35532 
35533 static int _wrap_new_Generic6DofConstraint__SWIG_4(lua_State* L) {
35534  int SWIG_arg = 0;
35537  Mezzanine::Transform *arg3 = 0 ;
35538  Mezzanine::Transform *arg4 = 0 ;
35540 
35541  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,4)
35542  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35543  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Physics::RigidProxy *");
35544  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Transform const &");
35545  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,"Mezzanine::Transform const &");
35546 
35547  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35548  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35549  }
35550 
35551 
35552  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35553  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35554  }
35555 
35556 
35557  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
35558  SWIG_fail_ptr("new_Generic6DofConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
35559  }
35560 
35561 
35562  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
35563  SWIG_fail_ptr("new_Generic6DofConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
35564  }
35565 
35567  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35568  return SWIG_arg;
35569 
35570  if(0) SWIG_fail;
35571 
35572 fail:
35573  lua_error(L);
35574  return SWIG_arg;
35575 }
35576 
35577 
35578 static int _wrap_new_Generic6DofConstraint__SWIG_5(lua_State* L) {
35579  int SWIG_arg = 0;
35581  Mezzanine::Physics::Vector3 *arg2 = 0 ;
35582  Mezzanine::Quaternion *arg3 = 0 ;
35583  Mezzanine::Boole arg4 ;
35585 
35586  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,4)
35587  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35588  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Physics::Vector3 const &");
35589  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Quaternion const &");
35590  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",4,"Mezzanine::Boole");
35591 
35592  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35593  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35594  }
35595 
35596 
35597  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
35598  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Vector3);
35599  }
35600 
35601 
35602  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Quaternion,0))){
35603  SWIG_fail_ptr("new_Generic6DofConstraint",3,SWIGTYPE_p_Mezzanine__Quaternion);
35604  }
35605 
35606  arg4 = (lua_toboolean(L, 4)!=0);
35608  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35609  return SWIG_arg;
35610 
35611  if(0) SWIG_fail;
35612 
35613 fail:
35614  lua_error(L);
35615  return SWIG_arg;
35616 }
35617 
35618 
35619 static int _wrap_new_Generic6DofConstraint__SWIG_6(lua_State* L) {
35620  int SWIG_arg = 0;
35622  Mezzanine::Physics::Vector3 *arg2 = 0 ;
35623  Mezzanine::Quaternion *arg3 = 0 ;
35625 
35626  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,3)
35627  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35628  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Physics::Vector3 const &");
35629  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Quaternion const &");
35630 
35631  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35632  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35633  }
35634 
35635 
35636  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
35637  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Vector3);
35638  }
35639 
35640 
35641  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Quaternion,0))){
35642  SWIG_fail_ptr("new_Generic6DofConstraint",3,SWIGTYPE_p_Mezzanine__Quaternion);
35643  }
35644 
35646  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35647  return SWIG_arg;
35648 
35649  if(0) SWIG_fail;
35650 
35651 fail:
35652  lua_error(L);
35653  return SWIG_arg;
35654 }
35655 
35656 
35657 static int _wrap_new_Generic6DofConstraint__SWIG_7(lua_State* L) {
35658  int SWIG_arg = 0;
35660  Mezzanine::Transform *arg2 = 0 ;
35661  Mezzanine::Boole arg3 ;
35663 
35664  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,3)
35665  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35666  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Transform const &");
35667  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",3,"Mezzanine::Boole");
35668 
35669  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35670  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35671  }
35672 
35673 
35674  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
35675  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Transform);
35676  }
35677 
35678  arg3 = (lua_toboolean(L, 3)!=0);
35680  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35681  return SWIG_arg;
35682 
35683  if(0) SWIG_fail;
35684 
35685 fail:
35686  lua_error(L);
35687  return SWIG_arg;
35688 }
35689 
35690 
35691 static int _wrap_new_Generic6DofConstraint__SWIG_8(lua_State* L) {
35692  int SWIG_arg = 0;
35694  Mezzanine::Transform *arg2 = 0 ;
35696 
35697  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,2)
35698  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",1,"Mezzanine::Physics::RigidProxy *");
35699  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint",2,"Mezzanine::Transform const &");
35700 
35701  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
35702  SWIG_fail_ptr("new_Generic6DofConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
35703  }
35704 
35705 
35706  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
35707  SWIG_fail_ptr("new_Generic6DofConstraint",2,SWIGTYPE_p_Mezzanine__Transform);
35708  }
35709 
35711  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,1); SWIG_arg++;
35712  return SWIG_arg;
35713 
35714  if(0) SWIG_fail;
35715 
35716 fail:
35717  lua_error(L);
35718  return SWIG_arg;
35719 }
35720 
35721 
35722 static int _wrap_new_Generic6DofConstraint(lua_State* L) {
35723  int argc;
35724  int argv[8]={
35725  1,2,3,4,5,6,7,8
35726  };
35727 
35728  argc = lua_gettop(L);
35729  if (argc == 2) {
35730  int _v;
35731  {
35732  void *ptr;
35733  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35734  _v = 0;
35735  } else {
35736  _v = 1;
35737  }
35738  }
35739  if (_v) {
35740  {
35741  void *ptr;
35742  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
35743  _v = 0;
35744  } else {
35745  _v = 1;
35746  }
35747  }
35748  if (_v) {
35749  return _wrap_new_Generic6DofConstraint__SWIG_8(L);
35750  }
35751  }
35752  }
35753  if (argc == 3) {
35754  int _v;
35755  {
35756  void *ptr;
35757  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35758  _v = 0;
35759  } else {
35760  _v = 1;
35761  }
35762  }
35763  if (_v) {
35764  {
35765  void *ptr;
35766  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
35767  _v = 0;
35768  } else {
35769  _v = 1;
35770  }
35771  }
35772  if (_v) {
35773  {
35774  _v = lua_isboolean(L,argv[2]);
35775  }
35776  if (_v) {
35777  return _wrap_new_Generic6DofConstraint__SWIG_7(L);
35778  }
35779  }
35780  }
35781  }
35782  if (argc == 3) {
35783  int _v;
35784  {
35785  void *ptr;
35786  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35787  _v = 0;
35788  } else {
35789  _v = 1;
35790  }
35791  }
35792  if (_v) {
35793  {
35794  void *ptr;
35795  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
35796  _v = 0;
35797  } else {
35798  _v = 1;
35799  }
35800  }
35801  if (_v) {
35802  {
35803  void *ptr;
35804  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
35805  _v = 0;
35806  } else {
35807  _v = 1;
35808  }
35809  }
35810  if (_v) {
35811  return _wrap_new_Generic6DofConstraint__SWIG_6(L);
35812  }
35813  }
35814  }
35815  }
35816  if (argc == 4) {
35817  int _v;
35818  {
35819  void *ptr;
35820  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35821  _v = 0;
35822  } else {
35823  _v = 1;
35824  }
35825  }
35826  if (_v) {
35827  {
35828  void *ptr;
35829  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
35830  _v = 0;
35831  } else {
35832  _v = 1;
35833  }
35834  }
35835  if (_v) {
35836  {
35837  void *ptr;
35838  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
35839  _v = 0;
35840  } else {
35841  _v = 1;
35842  }
35843  }
35844  if (_v) {
35845  {
35846  _v = lua_isboolean(L,argv[3]);
35847  }
35848  if (_v) {
35849  return _wrap_new_Generic6DofConstraint__SWIG_5(L);
35850  }
35851  }
35852  }
35853  }
35854  }
35855  if (argc == 4) {
35856  int _v;
35857  {
35858  void *ptr;
35859  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35860  _v = 0;
35861  } else {
35862  _v = 1;
35863  }
35864  }
35865  if (_v) {
35866  {
35867  void *ptr;
35868  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35869  _v = 0;
35870  } else {
35871  _v = 1;
35872  }
35873  }
35874  if (_v) {
35875  {
35876  void *ptr;
35877  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
35878  _v = 0;
35879  } else {
35880  _v = 1;
35881  }
35882  }
35883  if (_v) {
35884  {
35885  void *ptr;
35886  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
35887  _v = 0;
35888  } else {
35889  _v = 1;
35890  }
35891  }
35892  if (_v) {
35893  return _wrap_new_Generic6DofConstraint__SWIG_4(L);
35894  }
35895  }
35896  }
35897  }
35898  }
35899  if (argc == 5) {
35900  int _v;
35901  {
35902  void *ptr;
35903  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35904  _v = 0;
35905  } else {
35906  _v = 1;
35907  }
35908  }
35909  if (_v) {
35910  {
35911  void *ptr;
35912  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35913  _v = 0;
35914  } else {
35915  _v = 1;
35916  }
35917  }
35918  if (_v) {
35919  {
35920  void *ptr;
35921  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
35922  _v = 0;
35923  } else {
35924  _v = 1;
35925  }
35926  }
35927  if (_v) {
35928  {
35929  void *ptr;
35930  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
35931  _v = 0;
35932  } else {
35933  _v = 1;
35934  }
35935  }
35936  if (_v) {
35937  {
35938  _v = lua_isboolean(L,argv[4]);
35939  }
35940  if (_v) {
35941  return _wrap_new_Generic6DofConstraint__SWIG_3(L);
35942  }
35943  }
35944  }
35945  }
35946  }
35947  }
35948  if (argc == 6) {
35949  int _v;
35950  {
35951  void *ptr;
35952  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35953  _v = 0;
35954  } else {
35955  _v = 1;
35956  }
35957  }
35958  if (_v) {
35959  {
35960  void *ptr;
35961  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
35962  _v = 0;
35963  } else {
35964  _v = 1;
35965  }
35966  }
35967  if (_v) {
35968  {
35969  void *ptr;
35970  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
35971  _v = 0;
35972  } else {
35973  _v = 1;
35974  }
35975  }
35976  if (_v) {
35977  {
35978  void *ptr;
35979  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
35980  _v = 0;
35981  } else {
35982  _v = 1;
35983  }
35984  }
35985  if (_v) {
35986  {
35987  void *ptr;
35988  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
35989  _v = 0;
35990  } else {
35991  _v = 1;
35992  }
35993  }
35994  if (_v) {
35995  {
35996  void *ptr;
35997  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
35998  _v = 0;
35999  } else {
36000  _v = 1;
36001  }
36002  }
36003  if (_v) {
36004  return _wrap_new_Generic6DofConstraint__SWIG_2(L);
36005  }
36006  }
36007  }
36008  }
36009  }
36010  }
36011  }
36012  if (argc == 7) {
36013  int _v;
36014  {
36015  void *ptr;
36016  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
36017  _v = 0;
36018  } else {
36019  _v = 1;
36020  }
36021  }
36022  if (_v) {
36023  {
36024  void *ptr;
36025  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
36026  _v = 0;
36027  } else {
36028  _v = 1;
36029  }
36030  }
36031  if (_v) {
36032  {
36033  void *ptr;
36034  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
36035  _v = 0;
36036  } else {
36037  _v = 1;
36038  }
36039  }
36040  if (_v) {
36041  {
36042  void *ptr;
36043  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
36044  _v = 0;
36045  } else {
36046  _v = 1;
36047  }
36048  }
36049  if (_v) {
36050  {
36051  void *ptr;
36052  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
36053  _v = 0;
36054  } else {
36055  _v = 1;
36056  }
36057  }
36058  if (_v) {
36059  {
36060  void *ptr;
36061  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
36062  _v = 0;
36063  } else {
36064  _v = 1;
36065  }
36066  }
36067  if (_v) {
36068  {
36069  _v = lua_isboolean(L,argv[6]);
36070  }
36071  if (_v) {
36072  return _wrap_new_Generic6DofConstraint__SWIG_1(L);
36073  }
36074  }
36075  }
36076  }
36077  }
36078  }
36079  }
36080  }
36081 
36082  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Generic6DofConstraint'\n"
36083  " Possible C/C++ prototypes are:\n"
36084  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &,Mezzanine::Boole)\n"
36085  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &)\n"
36086  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &,Mezzanine::Boole)\n"
36087  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &)\n"
36088  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Boole)\n"
36089  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &)\n"
36090  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Boole)\n"
36091  " Mezzanine::Physics::Generic6DofConstraint::Generic6DofConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &)\n");
36092  lua_error(L);return 0;
36093 }
36094 
36095 
36096 static int _wrap_Generic6DofConstraint_SetPivotATransform(lua_State* L) {
36097  int SWIG_arg = 0;
36099  Mezzanine::Transform *arg2 = 0 ;
36100 
36101  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetPivotATransform",2,2)
36102  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotATransform",1,"Mezzanine::Physics::Generic6DofConstraint *");
36103  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotATransform",2,"Mezzanine::Transform const &");
36104 
36105  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36106  SWIG_fail_ptr("Generic6DofConstraint_SetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36107  }
36108 
36109 
36110  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
36111  SWIG_fail_ptr("Generic6DofConstraint_SetPivotATransform",2,SWIGTYPE_p_Mezzanine__Transform);
36112  }
36113 
36114  (arg1)->SetPivotATransform((Mezzanine::Transform const &)*arg2);
36115 
36116  return SWIG_arg;
36117 
36118  if(0) SWIG_fail;
36119 
36120 fail:
36121  lua_error(L);
36122  return SWIG_arg;
36123 }
36124 
36125 
36126 static int _wrap_Generic6DofConstraint_SetPivotBTransform(lua_State* L) {
36127  int SWIG_arg = 0;
36129  Mezzanine::Transform *arg2 = 0 ;
36130 
36131  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetPivotBTransform",2,2)
36132  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotBTransform",1,"Mezzanine::Physics::Generic6DofConstraint *");
36133  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotBTransform",2,"Mezzanine::Transform const &");
36134 
36135  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36136  SWIG_fail_ptr("Generic6DofConstraint_SetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36137  }
36138 
36139 
36140  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
36141  SWIG_fail_ptr("Generic6DofConstraint_SetPivotBTransform",2,SWIGTYPE_p_Mezzanine__Transform);
36142  }
36143 
36144  (arg1)->SetPivotBTransform((Mezzanine::Transform const &)*arg2);
36145 
36146  return SWIG_arg;
36147 
36148  if(0) SWIG_fail;
36149 
36150 fail:
36151  lua_error(L);
36152  return SWIG_arg;
36153 }
36154 
36155 
36156 static int _wrap_Generic6DofConstraint_GetPivotATransform(lua_State* L) {
36157  int SWIG_arg = 0;
36159  Mezzanine::Transform result;
36160 
36161  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetPivotATransform",1,1)
36162  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetPivotATransform",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36163 
36164  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36165  SWIG_fail_ptr("Generic6DofConstraint_GetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36166  }
36167 
36168  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetPivotATransform();
36169  {
36170  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
36171  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
36172  }
36173  return SWIG_arg;
36174 
36175  if(0) SWIG_fail;
36176 
36177 fail:
36178  lua_error(L);
36179  return SWIG_arg;
36180 }
36181 
36182 
36183 static int _wrap_Generic6DofConstraint_GetPivotBTransform(lua_State* L) {
36184  int SWIG_arg = 0;
36186  Mezzanine::Transform result;
36187 
36188  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetPivotBTransform",1,1)
36189  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetPivotBTransform",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36190 
36191  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36192  SWIG_fail_ptr("Generic6DofConstraint_GetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36193  }
36194 
36195  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetPivotBTransform();
36196  {
36197  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
36198  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
36199  }
36200  return SWIG_arg;
36201 
36202  if(0) SWIG_fail;
36203 
36204 fail:
36205  lua_error(L);
36206  return SWIG_arg;
36207 }
36208 
36209 
36210 static int _wrap_Generic6DofConstraint_SetPivotALocation(lua_State* L) {
36211  int SWIG_arg = 0;
36213  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36214 
36215  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetPivotALocation",2,2)
36216  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotALocation",1,"Mezzanine::Physics::Generic6DofConstraint *");
36217  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotALocation",2,"Mezzanine::Physics::Vector3 const &");
36218 
36219  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36220  SWIG_fail_ptr("Generic6DofConstraint_SetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36221  }
36222 
36223 
36224  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36225  SWIG_fail_ptr("Generic6DofConstraint_SetPivotALocation",2,SWIGTYPE_p_Mezzanine__Vector3);
36226  }
36227 
36228  (arg1)->SetPivotALocation((Mezzanine::Physics::Vector3 const &)*arg2);
36229 
36230  return SWIG_arg;
36231 
36232  if(0) SWIG_fail;
36233 
36234 fail:
36235  lua_error(L);
36236  return SWIG_arg;
36237 }
36238 
36239 
36240 static int _wrap_Generic6DofConstraint_SetPivotBLocation(lua_State* L) {
36241  int SWIG_arg = 0;
36243  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36244 
36245  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetPivotBLocation",2,2)
36246  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotBLocation",1,"Mezzanine::Physics::Generic6DofConstraint *");
36247  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotBLocation",2,"Mezzanine::Physics::Vector3 const &");
36248 
36249  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36250  SWIG_fail_ptr("Generic6DofConstraint_SetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36251  }
36252 
36253 
36254  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36255  SWIG_fail_ptr("Generic6DofConstraint_SetPivotBLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
36256  }
36257 
36258  (arg1)->SetPivotBLocation((Mezzanine::Physics::Vector3 const &)*arg2);
36259 
36260  return SWIG_arg;
36261 
36262  if(0) SWIG_fail;
36263 
36264 fail:
36265  lua_error(L);
36266  return SWIG_arg;
36267 }
36268 
36269 
36270 static int _wrap_Generic6DofConstraint_GetPivotALocation(lua_State* L) {
36271  int SWIG_arg = 0;
36274 
36275  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetPivotALocation",1,1)
36276  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetPivotALocation",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36277 
36278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36279  SWIG_fail_ptr("Generic6DofConstraint_GetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36280  }
36281 
36282  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetPivotALocation();
36283  {
36285  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36286  }
36287  return SWIG_arg;
36288 
36289  if(0) SWIG_fail;
36290 
36291 fail:
36292  lua_error(L);
36293  return SWIG_arg;
36294 }
36295 
36296 
36297 static int _wrap_Generic6DofConstraint_GetPivotBLocation(lua_State* L) {
36298  int SWIG_arg = 0;
36301 
36302  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetPivotBLocation",1,1)
36303  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetPivotBLocation",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36304 
36305  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36306  SWIG_fail_ptr("Generic6DofConstraint_GetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36307  }
36308 
36309  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetPivotBLocation();
36310  {
36312  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36313  }
36314  return SWIG_arg;
36315 
36316  if(0) SWIG_fail;
36317 
36318 fail:
36319  lua_error(L);
36320  return SWIG_arg;
36321 }
36322 
36323 
36324 static int _wrap_Generic6DofConstraint_SetPivotARotation(lua_State* L) {
36325  int SWIG_arg = 0;
36327  Mezzanine::Quaternion *arg2 = 0 ;
36328 
36329  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetPivotARotation",2,2)
36330  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotARotation",1,"Mezzanine::Physics::Generic6DofConstraint *");
36331  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotARotation",2,"Mezzanine::Quaternion const &");
36332 
36333  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36334  SWIG_fail_ptr("Generic6DofConstraint_SetPivotARotation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36335  }
36336 
36337 
36338  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
36339  SWIG_fail_ptr("Generic6DofConstraint_SetPivotARotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
36340  }
36341 
36342  (arg1)->SetPivotARotation((Mezzanine::Quaternion const &)*arg2);
36343 
36344  return SWIG_arg;
36345 
36346  if(0) SWIG_fail;
36347 
36348 fail:
36349  lua_error(L);
36350  return SWIG_arg;
36351 }
36352 
36353 
36354 static int _wrap_Generic6DofConstraint_SetPivotBRotation(lua_State* L) {
36355  int SWIG_arg = 0;
36357  Mezzanine::Quaternion *arg2 = 0 ;
36358 
36359  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetPivotBRotation",2,2)
36360  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotBRotation",1,"Mezzanine::Physics::Generic6DofConstraint *");
36361  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetPivotBRotation",2,"Mezzanine::Quaternion const &");
36362 
36363  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36364  SWIG_fail_ptr("Generic6DofConstraint_SetPivotBRotation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36365  }
36366 
36367 
36368  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
36369  SWIG_fail_ptr("Generic6DofConstraint_SetPivotBRotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
36370  }
36371 
36372  (arg1)->SetPivotBRotation((Mezzanine::Quaternion const &)*arg2);
36373 
36374  return SWIG_arg;
36375 
36376  if(0) SWIG_fail;
36377 
36378 fail:
36379  lua_error(L);
36380  return SWIG_arg;
36381 }
36382 
36383 
36384 static int _wrap_Generic6DofConstraint_GetPivotARotation(lua_State* L) {
36385  int SWIG_arg = 0;
36387  Mezzanine::Quaternion result;
36388 
36389  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetPivotARotation",1,1)
36390  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetPivotARotation",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36391 
36392  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36393  SWIG_fail_ptr("Generic6DofConstraint_GetPivotARotation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36394  }
36395 
36396  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetPivotARotation();
36397  {
36398  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
36399  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
36400  }
36401  return SWIG_arg;
36402 
36403  if(0) SWIG_fail;
36404 
36405 fail:
36406  lua_error(L);
36407  return SWIG_arg;
36408 }
36409 
36410 
36411 static int _wrap_Generic6DofConstraint_GetPivotBRotation(lua_State* L) {
36412  int SWIG_arg = 0;
36414  Mezzanine::Quaternion result;
36415 
36416  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetPivotBRotation",1,1)
36417  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetPivotBRotation",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36418 
36419  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36420  SWIG_fail_ptr("Generic6DofConstraint_GetPivotBRotation",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36421  }
36422 
36423  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetPivotBRotation();
36424  {
36425  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
36426  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
36427  }
36428  return SWIG_arg;
36429 
36430  if(0) SWIG_fail;
36431 
36432 fail:
36433  lua_error(L);
36434  return SWIG_arg;
36435 }
36436 
36437 
36438 static int _wrap_Generic6DofConstraint_SetLimit(lua_State* L) {
36439  int SWIG_arg = 0;
36441  int arg2 ;
36442  Mezzanine::Real arg3 ;
36443  Mezzanine::Real arg4 ;
36444 
36445  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLimit",4,4)
36446  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLimit",1,"Mezzanine::Physics::Generic6DofConstraint *");
36447  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLimit",2,"int");
36448  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLimit",3,"Mezzanine::Real");
36449  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLimit",4,"Mezzanine::Real");
36450 
36451  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36452  SWIG_fail_ptr("Generic6DofConstraint_SetLimit",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36453  }
36454 
36455  arg2 = (int)lua_tonumber(L, 2);
36456  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
36457  arg4 = (Mezzanine::Real)lua_tonumber(L, 4);
36458  (arg1)->SetLimit(arg2,arg3,arg4);
36459 
36460  return SWIG_arg;
36461 
36462  if(0) SWIG_fail;
36463 
36464 fail:
36465  lua_error(L);
36466  return SWIG_arg;
36467 }
36468 
36469 
36470 static int _wrap_Generic6DofConstraint_SetLinearLimitUpper(lua_State* L) {
36471  int SWIG_arg = 0;
36473  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36474 
36475  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitUpper",2,2)
36476  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitUpper",1,"Mezzanine::Physics::Generic6DofConstraint *");
36477  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitUpper",2,"Mezzanine::Physics::Vector3 const &");
36478 
36479  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36480  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitUpper",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36481  }
36482 
36483 
36484  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36485  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitUpper",2,SWIGTYPE_p_Mezzanine__Vector3);
36486  }
36487 
36488  (arg1)->SetLinearLimitUpper((Mezzanine::Physics::Vector3 const &)*arg2);
36489 
36490  return SWIG_arg;
36491 
36492  if(0) SWIG_fail;
36493 
36494 fail:
36495  lua_error(L);
36496  return SWIG_arg;
36497 }
36498 
36499 
36500 static int _wrap_Generic6DofConstraint_SetLinearLimitLower(lua_State* L) {
36501  int SWIG_arg = 0;
36503  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36504 
36505  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitLower",2,2)
36506  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitLower",1,"Mezzanine::Physics::Generic6DofConstraint *");
36507  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitLower",2,"Mezzanine::Physics::Vector3 const &");
36508 
36509  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36510  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitLower",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36511  }
36512 
36513 
36514  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36515  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitLower",2,SWIGTYPE_p_Mezzanine__Vector3);
36516  }
36517 
36518  (arg1)->SetLinearLimitLower((Mezzanine::Physics::Vector3 const &)*arg2);
36519 
36520  return SWIG_arg;
36521 
36522  if(0) SWIG_fail;
36523 
36524 fail:
36525  lua_error(L);
36526  return SWIG_arg;
36527 }
36528 
36529 
36530 static int _wrap_Generic6DofConstraint_GetLinearLimitUpper(lua_State* L) {
36531  int SWIG_arg = 0;
36534 
36535  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitUpper",1,1)
36536  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitUpper",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36537 
36538  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36539  SWIG_fail_ptr("Generic6DofConstraint_GetLinearLimitUpper",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36540  }
36541 
36542  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearLimitUpper();
36543  {
36545  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36546  }
36547  return SWIG_arg;
36548 
36549  if(0) SWIG_fail;
36550 
36551 fail:
36552  lua_error(L);
36553  return SWIG_arg;
36554 }
36555 
36556 
36557 static int _wrap_Generic6DofConstraint_GetLinearLimitLower(lua_State* L) {
36558  int SWIG_arg = 0;
36561 
36562  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitLower",1,1)
36563  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitLower",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36564 
36565  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36566  SWIG_fail_ptr("Generic6DofConstraint_GetLinearLimitLower",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36567  }
36568 
36569  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearLimitLower();
36570  {
36572  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36573  }
36574  return SWIG_arg;
36575 
36576  if(0) SWIG_fail;
36577 
36578 fail:
36579  lua_error(L);
36580  return SWIG_arg;
36581 }
36582 
36583 
36584 static int _wrap_Generic6DofConstraint_SetAngularLimitUpper(lua_State* L) {
36585  int SWIG_arg = 0;
36587  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36588 
36589  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitUpper",2,2)
36590  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitUpper",1,"Mezzanine::Physics::Generic6DofConstraint *");
36591  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitUpper",2,"Mezzanine::Physics::Vector3 const &");
36592 
36593  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36594  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitUpper",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36595  }
36596 
36597 
36598  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36599  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitUpper",2,SWIGTYPE_p_Mezzanine__Vector3);
36600  }
36601 
36602  (arg1)->SetAngularLimitUpper((Mezzanine::Physics::Vector3 const &)*arg2);
36603 
36604  return SWIG_arg;
36605 
36606  if(0) SWIG_fail;
36607 
36608 fail:
36609  lua_error(L);
36610  return SWIG_arg;
36611 }
36612 
36613 
36614 static int _wrap_Generic6DofConstraint_SetAngularLimitLower(lua_State* L) {
36615  int SWIG_arg = 0;
36617  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36618 
36619  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitLower",2,2)
36620  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitLower",1,"Mezzanine::Physics::Generic6DofConstraint *");
36621  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitLower",2,"Mezzanine::Physics::Vector3 const &");
36622 
36623  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36624  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitLower",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36625  }
36626 
36627 
36628  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36629  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitLower",2,SWIGTYPE_p_Mezzanine__Vector3);
36630  }
36631 
36632  (arg1)->SetAngularLimitLower((Mezzanine::Physics::Vector3 const &)*arg2);
36633 
36634  return SWIG_arg;
36635 
36636  if(0) SWIG_fail;
36637 
36638 fail:
36639  lua_error(L);
36640  return SWIG_arg;
36641 }
36642 
36643 
36644 static int _wrap_Generic6DofConstraint_GetAngularLimitUpper(lua_State* L) {
36645  int SWIG_arg = 0;
36648 
36649  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitUpper",1,1)
36650  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitUpper",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36651 
36652  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36653  SWIG_fail_ptr("Generic6DofConstraint_GetAngularLimitUpper",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36654  }
36655 
36656  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularLimitUpper();
36657  {
36659  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36660  }
36661  return SWIG_arg;
36662 
36663  if(0) SWIG_fail;
36664 
36665 fail:
36666  lua_error(L);
36667  return SWIG_arg;
36668 }
36669 
36670 
36671 static int _wrap_Generic6DofConstraint_GetAngularLimitLower(lua_State* L) {
36672  int SWIG_arg = 0;
36675 
36676  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitLower",1,1)
36677  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitLower",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36678 
36679  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36680  SWIG_fail_ptr("Generic6DofConstraint_GetAngularLimitLower",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36681  }
36682 
36683  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularLimitLower();
36684  {
36686  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36687  }
36688  return SWIG_arg;
36689 
36690  if(0) SWIG_fail;
36691 
36692 fail:
36693  lua_error(L);
36694  return SWIG_arg;
36695 }
36696 
36697 
36698 static int _wrap_Generic6DofConstraint_GetAngularLimitLowerOnAxis(lua_State* L) {
36699  int SWIG_arg = 0;
36701  int arg2 ;
36702  Mezzanine::Real result;
36703 
36704  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitLowerOnAxis",2,2)
36705  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitLowerOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36706  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitLowerOnAxis",2,"int");
36707 
36708  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36709  SWIG_fail_ptr("Generic6DofConstraint_GetAngularLimitLowerOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36710  }
36711 
36712  arg2 = (int)lua_tonumber(L, 2);
36713  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularLimitLowerOnAxis(arg2);
36714  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
36715  return SWIG_arg;
36716 
36717  if(0) SWIG_fail;
36718 
36719 fail:
36720  lua_error(L);
36721  return SWIG_arg;
36722 }
36723 
36724 
36725 static int _wrap_Generic6DofConstraint_GetAngularLimitUpperOnAxis(lua_State* L) {
36726  int SWIG_arg = 0;
36728  int arg2 ;
36729  Mezzanine::Real result;
36730 
36731  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitUpperOnAxis",2,2)
36732  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitUpperOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36733  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitUpperOnAxis",2,"int");
36734 
36735  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36736  SWIG_fail_ptr("Generic6DofConstraint_GetAngularLimitUpperOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36737  }
36738 
36739  arg2 = (int)lua_tonumber(L, 2);
36740  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularLimitUpperOnAxis(arg2);
36741  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
36742  return SWIG_arg;
36743 
36744  if(0) SWIG_fail;
36745 
36746 fail:
36747  lua_error(L);
36748  return SWIG_arg;
36749 }
36750 
36751 
36752 static int _wrap_Generic6DofConstraint_AxisToAngularAxis(lua_State* L) {
36753  int SWIG_arg = 0;
36755  int arg2 ;
36756  int result;
36757 
36758  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::AxisToAngularAxis",2,2)
36759  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::AxisToAngularAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36760  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::AxisToAngularAxis",2,"int");
36761 
36762  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36763  SWIG_fail_ptr("Generic6DofConstraint_AxisToAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36764  }
36765 
36766  arg2 = (int)lua_tonumber(L, 2);
36767  result = (int)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->AxisToAngularAxis(arg2);
36768  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
36769  return SWIG_arg;
36770 
36771  if(0) SWIG_fail;
36772 
36773 fail:
36774  lua_error(L);
36775  return SWIG_arg;
36776 }
36777 
36778 
36779 static int _wrap_Generic6DofConstraint_SetAngularLimitMaxForce(lua_State* L) {
36780  int SWIG_arg = 0;
36782  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36783 
36784  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForce",2,2)
36785  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForce",1,"Mezzanine::Physics::Generic6DofConstraint *");
36786  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForce",2,"Mezzanine::Physics::Vector3 const &");
36787 
36788  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36789  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitMaxForce",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36790  }
36791 
36792 
36793  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36794  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitMaxForce",2,SWIGTYPE_p_Mezzanine__Vector3);
36795  }
36796 
36797  (arg1)->SetAngularLimitMaxForce((Mezzanine::Physics::Vector3 const &)*arg2);
36798 
36799  return SWIG_arg;
36800 
36801  if(0) SWIG_fail;
36802 
36803 fail:
36804  lua_error(L);
36805  return SWIG_arg;
36806 }
36807 
36808 
36809 static int _wrap_Generic6DofConstraint_SetAngularLimitMaxForceOnAxis(lua_State* L) {
36810  int SWIG_arg = 0;
36812  Mezzanine::Real arg2 ;
36813  int arg3 ;
36814 
36815  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForceOnAxis",3,3)
36816  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForceOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
36817  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForceOnAxis",2,"Mezzanine::Real");
36818  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularLimitMaxForceOnAxis",3,"int");
36819 
36820  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36821  SWIG_fail_ptr("Generic6DofConstraint_SetAngularLimitMaxForceOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36822  }
36823 
36824  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
36825  arg3 = (int)lua_tonumber(L, 3);
36826  (arg1)->SetAngularLimitMaxForceOnAxis(arg2,arg3);
36827 
36828  return SWIG_arg;
36829 
36830  if(0) SWIG_fail;
36831 
36832 fail:
36833  lua_error(L);
36834  return SWIG_arg;
36835 }
36836 
36837 
36838 static int _wrap_Generic6DofConstraint_GetAngularLimitMaxForce(lua_State* L) {
36839  int SWIG_arg = 0;
36842 
36843  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitMaxForce",1,1)
36844  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitMaxForce",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36845 
36846  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36847  SWIG_fail_ptr("Generic6DofConstraint_GetAngularLimitMaxForce",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36848  }
36849 
36850  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularLimitMaxForce();
36851  {
36853  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36854  }
36855  return SWIG_arg;
36856 
36857  if(0) SWIG_fail;
36858 
36859 fail:
36860  lua_error(L);
36861  return SWIG_arg;
36862 }
36863 
36864 
36865 static int _wrap_Generic6DofConstraint_GetAngularLimitMaxForceOnAxis(lua_State* L) {
36866  int SWIG_arg = 0;
36868  int arg2 ;
36869  Mezzanine::Real result;
36870 
36871  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitMaxForceOnAxis",2,2)
36872  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitMaxForceOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36873  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularLimitMaxForceOnAxis",2,"int");
36874 
36875  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36876  SWIG_fail_ptr("Generic6DofConstraint_GetAngularLimitMaxForceOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36877  }
36878 
36879  arg2 = (int)lua_tonumber(L, 2);
36880  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularLimitMaxForceOnAxis(arg2);
36881  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
36882  return SWIG_arg;
36883 
36884  if(0) SWIG_fail;
36885 
36886 fail:
36887  lua_error(L);
36888  return SWIG_arg;
36889 }
36890 
36891 
36892 static int _wrap_Generic6DofConstraint_SetAngularMotorTargetVelocity(lua_State* L) {
36893  int SWIG_arg = 0;
36895  Mezzanine::Physics::Vector3 *arg2 = 0 ;
36896 
36897  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocity",2,2)
36898  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocity",1,"Mezzanine::Physics::Generic6DofConstraint *");
36899  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocity",2,"Mezzanine::Physics::Vector3 const &");
36900 
36901  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36902  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorTargetVelocity",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36903  }
36904 
36905 
36906  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
36907  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorTargetVelocity",2,SWIGTYPE_p_Mezzanine__Vector3);
36908  }
36909 
36910  (arg1)->SetAngularMotorTargetVelocity((Mezzanine::Physics::Vector3 const &)*arg2);
36911 
36912  return SWIG_arg;
36913 
36914  if(0) SWIG_fail;
36915 
36916 fail:
36917  lua_error(L);
36918  return SWIG_arg;
36919 }
36920 
36921 
36922 static int _wrap_Generic6DofConstraint_SetAngularMotorTargetVelocityOnAxis(lua_State* L) {
36923  int SWIG_arg = 0;
36925  Mezzanine::Real arg2 ;
36926  int arg3 ;
36927 
36928  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocityOnAxis",3,3)
36929  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocityOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
36930  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocityOnAxis",2,"Mezzanine::Real");
36931  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorTargetVelocityOnAxis",3,"int");
36932 
36933  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36934  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorTargetVelocityOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36935  }
36936 
36937  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
36938  arg3 = (int)lua_tonumber(L, 3);
36939  (arg1)->SetAngularMotorTargetVelocityOnAxis(arg2,arg3);
36940 
36941  return SWIG_arg;
36942 
36943  if(0) SWIG_fail;
36944 
36945 fail:
36946  lua_error(L);
36947  return SWIG_arg;
36948 }
36949 
36950 
36951 static int _wrap_Generic6DofConstraint_GetAngularMotorTargetVelocity(lua_State* L) {
36952  int SWIG_arg = 0;
36955 
36956  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorTargetVelocity",1,1)
36957  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorTargetVelocity",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36958 
36959  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36960  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorTargetVelocity",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36961  }
36962 
36963  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorTargetVelocity();
36964  {
36966  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
36967  }
36968  return SWIG_arg;
36969 
36970  if(0) SWIG_fail;
36971 
36972 fail:
36973  lua_error(L);
36974  return SWIG_arg;
36975 }
36976 
36977 
36978 static int _wrap_Generic6DofConstraint_GetAngularMotorTargetVelocityOnAxis(lua_State* L) {
36979  int SWIG_arg = 0;
36981  int arg2 ;
36982  Mezzanine::Real result;
36983 
36984  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorTargetVelocityOnAxis",2,2)
36985  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorTargetVelocityOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
36986  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorTargetVelocityOnAxis",2,"int");
36987 
36988  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
36989  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorTargetVelocityOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
36990  }
36991 
36992  arg2 = (int)lua_tonumber(L, 2);
36993  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorTargetVelocityOnAxis(arg2);
36994  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
36995  return SWIG_arg;
36996 
36997  if(0) SWIG_fail;
36998 
36999 fail:
37000  lua_error(L);
37001  return SWIG_arg;
37002 }
37003 
37004 
37005 static int _wrap_Generic6DofConstraint_SetAngularMotorMaxForce(lua_State* L) {
37006  int SWIG_arg = 0;
37008  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37009 
37010  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForce",2,2)
37011  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForce",1,"Mezzanine::Physics::Generic6DofConstraint *");
37012  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForce",2,"Mezzanine::Physics::Vector3 const &");
37013 
37014  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37015  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorMaxForce",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37016  }
37017 
37018 
37019  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37020  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorMaxForce",2,SWIGTYPE_p_Mezzanine__Vector3);
37021  }
37022 
37023  (arg1)->SetAngularMotorMaxForce((Mezzanine::Physics::Vector3 const &)*arg2);
37024 
37025  return SWIG_arg;
37026 
37027  if(0) SWIG_fail;
37028 
37029 fail:
37030  lua_error(L);
37031  return SWIG_arg;
37032 }
37033 
37034 
37035 static int _wrap_Generic6DofConstraint_SetAngularMotorMaxForceOnAxis(lua_State* L) {
37036  int SWIG_arg = 0;
37038  Mezzanine::Real arg2 ;
37039  int arg3 ;
37040 
37041  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForceOnAxis",3,3)
37042  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForceOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37043  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForceOnAxis",2,"Mezzanine::Real");
37044  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorMaxForceOnAxis",3,"int");
37045 
37046  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37047  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorMaxForceOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37048  }
37049 
37050  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37051  arg3 = (int)lua_tonumber(L, 3);
37052  (arg1)->SetAngularMotorMaxForceOnAxis(arg2,arg3);
37053 
37054  return SWIG_arg;
37055 
37056  if(0) SWIG_fail;
37057 
37058 fail:
37059  lua_error(L);
37060  return SWIG_arg;
37061 }
37062 
37063 
37064 static int _wrap_Generic6DofConstraint_GetAngularMotorMaxForce(lua_State* L) {
37065  int SWIG_arg = 0;
37068 
37069  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorMaxForce",1,1)
37070  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorMaxForce",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37071 
37072  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37073  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorMaxForce",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37074  }
37075 
37076  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorMaxForce();
37077  {
37079  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37080  }
37081  return SWIG_arg;
37082 
37083  if(0) SWIG_fail;
37084 
37085 fail:
37086  lua_error(L);
37087  return SWIG_arg;
37088 }
37089 
37090 
37091 static int _wrap_Generic6DofConstraint_GetAngularMotorMaxForceOnAxis(lua_State* L) {
37092  int SWIG_arg = 0;
37094  int arg2 ;
37095  Mezzanine::Real result;
37096 
37097  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorMaxForceOnAxis",2,2)
37098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorMaxForceOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37099  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorMaxForceOnAxis",2,"int");
37100 
37101  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37102  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorMaxForceOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37103  }
37104 
37105  arg2 = (int)lua_tonumber(L, 2);
37106  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorMaxForceOnAxis(arg2);
37107  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37108  return SWIG_arg;
37109 
37110  if(0) SWIG_fail;
37111 
37112 fail:
37113  lua_error(L);
37114  return SWIG_arg;
37115 }
37116 
37117 
37118 static int _wrap_Generic6DofConstraint_SetAngularMotorDamping(lua_State* L) {
37119  int SWIG_arg = 0;
37121  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37122 
37123  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDamping",2,2)
37124  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDamping",1,"Mezzanine::Physics::Generic6DofConstraint *");
37125  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDamping",2,"Mezzanine::Physics::Vector3 const &");
37126 
37127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37128  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37129  }
37130 
37131 
37132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37133  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorDamping",2,SWIGTYPE_p_Mezzanine__Vector3);
37134  }
37135 
37136  (arg1)->SetAngularMotorDamping((Mezzanine::Physics::Vector3 const &)*arg2);
37137 
37138  return SWIG_arg;
37139 
37140  if(0) SWIG_fail;
37141 
37142 fail:
37143  lua_error(L);
37144  return SWIG_arg;
37145 }
37146 
37147 
37148 static int _wrap_Generic6DofConstraint_SetAngularMotorDampingOnAxis(lua_State* L) {
37149  int SWIG_arg = 0;
37151  Mezzanine::Real arg2 ;
37152  int arg3 ;
37153 
37154  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDampingOnAxis",3,3)
37155  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDampingOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37156  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDampingOnAxis",2,"Mezzanine::Real");
37157  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorDampingOnAxis",3,"int");
37158 
37159  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37160  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorDampingOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37161  }
37162 
37163  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37164  arg3 = (int)lua_tonumber(L, 3);
37165  (arg1)->SetAngularMotorDampingOnAxis(arg2,arg3);
37166 
37167  return SWIG_arg;
37168 
37169  if(0) SWIG_fail;
37170 
37171 fail:
37172  lua_error(L);
37173  return SWIG_arg;
37174 }
37175 
37176 
37177 static int _wrap_Generic6DofConstraint_GetAngularMotorDamping(lua_State* L) {
37178  int SWIG_arg = 0;
37181 
37182  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorDamping",1,1)
37183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorDamping",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37184 
37185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37186  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37187  }
37188 
37189  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorDamping();
37190  {
37192  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37193  }
37194  return SWIG_arg;
37195 
37196  if(0) SWIG_fail;
37197 
37198 fail:
37199  lua_error(L);
37200  return SWIG_arg;
37201 }
37202 
37203 
37204 static int _wrap_Generic6DofConstraint_GetAngularMotorDampingOnAxis(lua_State* L) {
37205  int SWIG_arg = 0;
37207  int arg2 ;
37208  Mezzanine::Real result;
37209 
37210  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorDampingOnAxis",2,2)
37211  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorDampingOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37212  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorDampingOnAxis",2,"int");
37213 
37214  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37215  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorDampingOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37216  }
37217 
37218  arg2 = (int)lua_tonumber(L, 2);
37219  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorDampingOnAxis(arg2);
37220  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37221  return SWIG_arg;
37222 
37223  if(0) SWIG_fail;
37224 
37225 fail:
37226  lua_error(L);
37227  return SWIG_arg;
37228 }
37229 
37230 
37231 static int _wrap_Generic6DofConstraint_SetAngularMotorRestitution(lua_State* L) {
37232  int SWIG_arg = 0;
37234  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37235 
37236  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitution",2,2)
37237  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitution",1,"Mezzanine::Physics::Generic6DofConstraint *");
37238  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitution",2,"Mezzanine::Physics::Vector3 const &");
37239 
37240  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37241  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorRestitution",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37242  }
37243 
37244 
37245  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37246  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorRestitution",2,SWIGTYPE_p_Mezzanine__Vector3);
37247  }
37248 
37249  (arg1)->SetAngularMotorRestitution((Mezzanine::Physics::Vector3 const &)*arg2);
37250 
37251  return SWIG_arg;
37252 
37253  if(0) SWIG_fail;
37254 
37255 fail:
37256  lua_error(L);
37257  return SWIG_arg;
37258 }
37259 
37260 
37261 static int _wrap_Generic6DofConstraint_SetAngularMotorRestitutionOnAxis(lua_State* L) {
37262  int SWIG_arg = 0;
37264  Mezzanine::Real arg2 ;
37265  int arg3 ;
37266 
37267  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitutionOnAxis",3,3)
37268  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitutionOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37269  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitutionOnAxis",2,"Mezzanine::Real");
37270  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorRestitutionOnAxis",3,"int");
37271 
37272  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37273  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorRestitutionOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37274  }
37275 
37276  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37277  arg3 = (int)lua_tonumber(L, 3);
37278  (arg1)->SetAngularMotorRestitutionOnAxis(arg2,arg3);
37279 
37280  return SWIG_arg;
37281 
37282  if(0) SWIG_fail;
37283 
37284 fail:
37285  lua_error(L);
37286  return SWIG_arg;
37287 }
37288 
37289 
37290 static int _wrap_Generic6DofConstraint_GetAngularMotorRestitution(lua_State* L) {
37291  int SWIG_arg = 0;
37294 
37295  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorRestitution",1,1)
37296  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorRestitution",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37297 
37298  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37299  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorRestitution",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37300  }
37301 
37302  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorRestitution();
37303  {
37305  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37306  }
37307  return SWIG_arg;
37308 
37309  if(0) SWIG_fail;
37310 
37311 fail:
37312  lua_error(L);
37313  return SWIG_arg;
37314 }
37315 
37316 
37317 static int _wrap_Generic6DofConstraint_GetAngularMotorRestitutionOnAxis(lua_State* L) {
37318  int SWIG_arg = 0;
37320  int arg2 ;
37321  Mezzanine::Real result;
37322 
37323  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorRestitutionOnAxis",2,2)
37324  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorRestitutionOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37325  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorRestitutionOnAxis",2,"int");
37326 
37327  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37328  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorRestitutionOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37329  }
37330 
37331  arg2 = (int)lua_tonumber(L, 2);
37332  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorRestitutionOnAxis(arg2);
37333  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37334  return SWIG_arg;
37335 
37336  if(0) SWIG_fail;
37337 
37338 fail:
37339  lua_error(L);
37340  return SWIG_arg;
37341 }
37342 
37343 
37344 static int _wrap_Generic6DofConstraint_SetAngularMotorEnabled(lua_State* L) {
37345  int SWIG_arg = 0;
37347  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37348 
37349  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabled",2,2)
37350  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabled",1,"Mezzanine::Physics::Generic6DofConstraint *");
37351  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabled",2,"Mezzanine::Physics::Vector3 const &");
37352 
37353  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37354  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37355  }
37356 
37357 
37358  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37359  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorEnabled",2,SWIGTYPE_p_Mezzanine__Vector3);
37360  }
37361 
37362  (arg1)->SetAngularMotorEnabled((Mezzanine::Physics::Vector3 const &)*arg2);
37363 
37364  return SWIG_arg;
37365 
37366  if(0) SWIG_fail;
37367 
37368 fail:
37369  lua_error(L);
37370  return SWIG_arg;
37371 }
37372 
37373 
37374 static int _wrap_Generic6DofConstraint_SetAngularMotorEnabledOnAxis(lua_State* L) {
37375  int SWIG_arg = 0;
37377  Mezzanine::Boole arg2 ;
37378  int arg3 ;
37379 
37380  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabledOnAxis",3,3)
37381  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabledOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37382  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabledOnAxis",2,"Mezzanine::Boole");
37383  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetAngularMotorEnabledOnAxis",3,"int");
37384 
37385  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37386  SWIG_fail_ptr("Generic6DofConstraint_SetAngularMotorEnabledOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37387  }
37388 
37389  arg2 = (lua_toboolean(L, 2)!=0);
37390  arg3 = (int)lua_tonumber(L, 3);
37391  (arg1)->SetAngularMotorEnabledOnAxis(arg2,arg3);
37392 
37393  return SWIG_arg;
37394 
37395  if(0) SWIG_fail;
37396 
37397 fail:
37398  lua_error(L);
37399  return SWIG_arg;
37400 }
37401 
37402 
37403 static int _wrap_Generic6DofConstraint_GetAngularMotorEnabled(lua_State* L) {
37404  int SWIG_arg = 0;
37407 
37408  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorEnabled",1,1)
37409  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorEnabled",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37410 
37411  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37412  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37413  }
37414 
37415  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorEnabled();
37416  {
37418  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37419  }
37420  return SWIG_arg;
37421 
37422  if(0) SWIG_fail;
37423 
37424 fail:
37425  lua_error(L);
37426  return SWIG_arg;
37427 }
37428 
37429 
37430 static int _wrap_Generic6DofConstraint_GetAngularMotorEnabledOnAxis(lua_State* L) {
37431  int SWIG_arg = 0;
37433  int arg2 ;
37434  Mezzanine::Boole result;
37435 
37436  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorEnabledOnAxis",2,2)
37437  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorEnabledOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37438  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetAngularMotorEnabledOnAxis",2,"int");
37439 
37440  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37441  SWIG_fail_ptr("Generic6DofConstraint_GetAngularMotorEnabledOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37442  }
37443 
37444  arg2 = (int)lua_tonumber(L, 2);
37445  result = (Mezzanine::Boole)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetAngularMotorEnabledOnAxis(arg2);
37446  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37447  return SWIG_arg;
37448 
37449  if(0) SWIG_fail;
37450 
37451 fail:
37452  lua_error(L);
37453  return SWIG_arg;
37454 }
37455 
37456 
37457 static int _wrap_Generic6DofConstraint_SetLinearLimitSoftness(lua_State* L) {
37458  int SWIG_arg = 0;
37460  Mezzanine::Real arg2 ;
37461 
37462  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitSoftness",2,2)
37463  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitSoftness",1,"Mezzanine::Physics::Generic6DofConstraint *");
37464  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitSoftness",2,"Mezzanine::Real");
37465 
37466  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37467  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitSoftness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37468  }
37469 
37470  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37471  (arg1)->SetLinearLimitSoftness(arg2);
37472 
37473  return SWIG_arg;
37474 
37475  if(0) SWIG_fail;
37476 
37477 fail:
37478  lua_error(L);
37479  return SWIG_arg;
37480 }
37481 
37482 
37483 static int _wrap_Generic6DofConstraint_GetLinearLimitSoftness(lua_State* L) {
37484  int SWIG_arg = 0;
37486  Mezzanine::Real result;
37487 
37488  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitSoftness",1,1)
37489  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitSoftness",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37490 
37491  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37492  SWIG_fail_ptr("Generic6DofConstraint_GetLinearLimitSoftness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37493  }
37494 
37495  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearLimitSoftness();
37496  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37497  return SWIG_arg;
37498 
37499  if(0) SWIG_fail;
37500 
37501 fail:
37502  lua_error(L);
37503  return SWIG_arg;
37504 }
37505 
37506 
37507 static int _wrap_Generic6DofConstraint_SetLinearLimitDamping(lua_State* L) {
37508  int SWIG_arg = 0;
37510  Mezzanine::Real arg2 ;
37511 
37512  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitDamping",2,2)
37513  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitDamping",1,"Mezzanine::Physics::Generic6DofConstraint *");
37514  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitDamping",2,"Mezzanine::Real");
37515 
37516  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37517  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37518  }
37519 
37520  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37521  (arg1)->SetLinearLimitDamping(arg2);
37522 
37523  return SWIG_arg;
37524 
37525  if(0) SWIG_fail;
37526 
37527 fail:
37528  lua_error(L);
37529  return SWIG_arg;
37530 }
37531 
37532 
37533 static int _wrap_Generic6DofConstraint_GetLinearLimitDamping(lua_State* L) {
37534  int SWIG_arg = 0;
37536  Mezzanine::Real result;
37537 
37538  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitDamping",1,1)
37539  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitDamping",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37540 
37541  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37542  SWIG_fail_ptr("Generic6DofConstraint_GetLinearLimitDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37543  }
37544 
37545  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearLimitDamping();
37546  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37547  return SWIG_arg;
37548 
37549  if(0) SWIG_fail;
37550 
37551 fail:
37552  lua_error(L);
37553  return SWIG_arg;
37554 }
37555 
37556 
37557 static int _wrap_Generic6DofConstraint_SetLinearLimitRestitution(lua_State* L) {
37558  int SWIG_arg = 0;
37560  Mezzanine::Real arg2 ;
37561 
37562  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitRestitution",2,2)
37563  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitRestitution",1,"Mezzanine::Physics::Generic6DofConstraint *");
37564  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearLimitRestitution",2,"Mezzanine::Real");
37565 
37566  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37567  SWIG_fail_ptr("Generic6DofConstraint_SetLinearLimitRestitution",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37568  }
37569 
37570  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37571  (arg1)->SetLinearLimitRestitution(arg2);
37572 
37573  return SWIG_arg;
37574 
37575  if(0) SWIG_fail;
37576 
37577 fail:
37578  lua_error(L);
37579  return SWIG_arg;
37580 }
37581 
37582 
37583 static int _wrap_Generic6DofConstraint_GetLinearLimitRestitution(lua_State* L) {
37584  int SWIG_arg = 0;
37586  Mezzanine::Real result;
37587 
37588  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitRestitution",1,1)
37589  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearLimitRestitution",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37590 
37591  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37592  SWIG_fail_ptr("Generic6DofConstraint_GetLinearLimitRestitution",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37593  }
37594 
37595  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearLimitRestitution();
37596  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37597  return SWIG_arg;
37598 
37599  if(0) SWIG_fail;
37600 
37601 fail:
37602  lua_error(L);
37603  return SWIG_arg;
37604 }
37605 
37606 
37607 static int _wrap_Generic6DofConstraint_SetLinearMotorMaxForce(lua_State* L) {
37608  int SWIG_arg = 0;
37610  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37611 
37612  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForce",2,2)
37613  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForce",1,"Mezzanine::Physics::Generic6DofConstraint *");
37614  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForce",2,"Mezzanine::Physics::Vector3 const &");
37615 
37616  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37617  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorMaxForce",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37618  }
37619 
37620 
37621  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37622  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorMaxForce",2,SWIGTYPE_p_Mezzanine__Vector3);
37623  }
37624 
37625  (arg1)->SetLinearMotorMaxForce((Mezzanine::Physics::Vector3 const &)*arg2);
37626 
37627  return SWIG_arg;
37628 
37629  if(0) SWIG_fail;
37630 
37631 fail:
37632  lua_error(L);
37633  return SWIG_arg;
37634 }
37635 
37636 
37637 static int _wrap_Generic6DofConstraint_SetLinearMotorMaxForceOnAxis(lua_State* L) {
37638  int SWIG_arg = 0;
37640  Mezzanine::Real arg2 ;
37641  int arg3 ;
37642 
37643  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForceOnAxis",3,3)
37644  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForceOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37645  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForceOnAxis",2,"Mezzanine::Real");
37646  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorMaxForceOnAxis",3,"int");
37647 
37648  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37649  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorMaxForceOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37650  }
37651 
37652  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37653  arg3 = (int)lua_tonumber(L, 3);
37654  (arg1)->SetLinearMotorMaxForceOnAxis(arg2,arg3);
37655 
37656  return SWIG_arg;
37657 
37658  if(0) SWIG_fail;
37659 
37660 fail:
37661  lua_error(L);
37662  return SWIG_arg;
37663 }
37664 
37665 
37666 static int _wrap_Generic6DofConstraint_GetLinearMotorMaxForce(lua_State* L) {
37667  int SWIG_arg = 0;
37670 
37671  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorMaxForce",1,1)
37672  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorMaxForce",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37673 
37674  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37675  SWIG_fail_ptr("Generic6DofConstraint_GetLinearMotorMaxForce",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37676  }
37677 
37678  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearMotorMaxForce();
37679  {
37681  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37682  }
37683  return SWIG_arg;
37684 
37685  if(0) SWIG_fail;
37686 
37687 fail:
37688  lua_error(L);
37689  return SWIG_arg;
37690 }
37691 
37692 
37693 static int _wrap_Generic6DofConstraint_GetLinearMotorMaxForceOnAxis(lua_State* L) {
37694  int SWIG_arg = 0;
37696  int arg2 ;
37697  Mezzanine::Real result;
37698 
37699  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorMaxForceOnAxis",2,2)
37700  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorMaxForceOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37701  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorMaxForceOnAxis",2,"int");
37702 
37703  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37704  SWIG_fail_ptr("Generic6DofConstraint_GetLinearMotorMaxForceOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37705  }
37706 
37707  arg2 = (int)lua_tonumber(L, 2);
37708  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearMotorMaxForceOnAxis(arg2);
37709  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37710  return SWIG_arg;
37711 
37712  if(0) SWIG_fail;
37713 
37714 fail:
37715  lua_error(L);
37716  return SWIG_arg;
37717 }
37718 
37719 
37720 static int _wrap_Generic6DofConstraint_SetLinearMotorTargetVelocity(lua_State* L) {
37721  int SWIG_arg = 0;
37723  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37724 
37725  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocity",2,2)
37726  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocity",1,"Mezzanine::Physics::Generic6DofConstraint *");
37727  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocity",2,"Mezzanine::Physics::Vector3 const &");
37728 
37729  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37730  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorTargetVelocity",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37731  }
37732 
37733 
37734  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37735  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorTargetVelocity",2,SWIGTYPE_p_Mezzanine__Vector3);
37736  }
37737 
37738  (arg1)->SetLinearMotorTargetVelocity((Mezzanine::Physics::Vector3 const &)*arg2);
37739 
37740  return SWIG_arg;
37741 
37742  if(0) SWIG_fail;
37743 
37744 fail:
37745  lua_error(L);
37746  return SWIG_arg;
37747 }
37748 
37749 
37750 static int _wrap_Generic6DofConstraint_SetLinearMotorTargetVelocityOnAxis(lua_State* L) {
37751  int SWIG_arg = 0;
37753  Mezzanine::Real arg2 ;
37754  int arg3 ;
37755 
37756  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocityOnAxis",3,3)
37757  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocityOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37758  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocityOnAxis",2,"Mezzanine::Real");
37759  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorTargetVelocityOnAxis",3,"int");
37760 
37761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37762  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorTargetVelocityOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37763  }
37764 
37765  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
37766  arg3 = (int)lua_tonumber(L, 3);
37767  (arg1)->SetLinearMotorTargetVelocityOnAxis(arg2,arg3);
37768 
37769  return SWIG_arg;
37770 
37771  if(0) SWIG_fail;
37772 
37773 fail:
37774  lua_error(L);
37775  return SWIG_arg;
37776 }
37777 
37778 
37779 static int _wrap_Generic6DofConstraint_GetLinearMotorTargetVelocity(lua_State* L) {
37780  int SWIG_arg = 0;
37783 
37784  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorTargetVelocity",1,1)
37785  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorTargetVelocity",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37786 
37787  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37788  SWIG_fail_ptr("Generic6DofConstraint_GetLinearMotorTargetVelocity",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37789  }
37790 
37791  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearMotorTargetVelocity();
37792  {
37794  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37795  }
37796  return SWIG_arg;
37797 
37798  if(0) SWIG_fail;
37799 
37800 fail:
37801  lua_error(L);
37802  return SWIG_arg;
37803 }
37804 
37805 
37806 static int _wrap_Generic6DofConstraint_GetLinearMotorTargetVelocityOnAxis(lua_State* L) {
37807  int SWIG_arg = 0;
37809  int arg2 ;
37810  Mezzanine::Real result;
37811 
37812  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorTargetVelocityOnAxis",2,2)
37813  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorTargetVelocityOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37814  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorTargetVelocityOnAxis",2,"int");
37815 
37816  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37817  SWIG_fail_ptr("Generic6DofConstraint_GetLinearMotorTargetVelocityOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37818  }
37819 
37820  arg2 = (int)lua_tonumber(L, 2);
37821  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearMotorTargetVelocityOnAxis(arg2);
37822  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
37823  return SWIG_arg;
37824 
37825  if(0) SWIG_fail;
37826 
37827 fail:
37828  lua_error(L);
37829  return SWIG_arg;
37830 }
37831 
37832 
37833 static int _wrap_Generic6DofConstraint_SetLinearMotorEnabled(lua_State* L) {
37834  int SWIG_arg = 0;
37836  Mezzanine::Physics::Vector3 *arg2 = 0 ;
37837 
37838  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabled",2,2)
37839  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabled",1,"Mezzanine::Physics::Generic6DofConstraint *");
37840  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabled",2,"Mezzanine::Physics::Vector3 const &");
37841 
37842  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37843  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37844  }
37845 
37846 
37847  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
37848  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorEnabled",2,SWIGTYPE_p_Mezzanine__Vector3);
37849  }
37850 
37851  (arg1)->SetLinearMotorEnabled((Mezzanine::Physics::Vector3 const &)*arg2);
37852 
37853  return SWIG_arg;
37854 
37855  if(0) SWIG_fail;
37856 
37857 fail:
37858  lua_error(L);
37859  return SWIG_arg;
37860 }
37861 
37862 
37863 static int _wrap_Generic6DofConstraint_SetLinearMotorEnabledOnAxis(lua_State* L) {
37864  int SWIG_arg = 0;
37866  Mezzanine::Boole arg2 ;
37867  int arg3 ;
37868 
37869  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabledOnAxis",3,3)
37870  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabledOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint *");
37871  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabledOnAxis",2,"Mezzanine::Boole");
37872  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetLinearMotorEnabledOnAxis",3,"int");
37873 
37874  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37875  SWIG_fail_ptr("Generic6DofConstraint_SetLinearMotorEnabledOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37876  }
37877 
37878  arg2 = (lua_toboolean(L, 2)!=0);
37879  arg3 = (int)lua_tonumber(L, 3);
37880  (arg1)->SetLinearMotorEnabledOnAxis(arg2,arg3);
37881 
37882  return SWIG_arg;
37883 
37884  if(0) SWIG_fail;
37885 
37886 fail:
37887  lua_error(L);
37888  return SWIG_arg;
37889 }
37890 
37891 
37892 static int _wrap_Generic6DofConstraint_GetLinearMotorEnabled(lua_State* L) {
37893  int SWIG_arg = 0;
37896 
37897  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorEnabled",1,1)
37898  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorEnabled",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37899 
37900  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37901  SWIG_fail_ptr("Generic6DofConstraint_GetLinearMotorEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37902  }
37903 
37904  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearMotorEnabled();
37905  {
37907  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
37908  }
37909  return SWIG_arg;
37910 
37911  if(0) SWIG_fail;
37912 
37913 fail:
37914  lua_error(L);
37915  return SWIG_arg;
37916 }
37917 
37918 
37919 static int _wrap_Generic6DofConstraint_GetLinearMotorEnabledOnAxis(lua_State* L) {
37920  int SWIG_arg = 0;
37922  int arg2 ;
37923  Mezzanine::Boole result;
37924 
37925  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorEnabledOnAxis",2,2)
37926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorEnabledOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37927  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetLinearMotorEnabledOnAxis",2,"int");
37928 
37929  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37930  SWIG_fail_ptr("Generic6DofConstraint_GetLinearMotorEnabledOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37931  }
37932 
37933  arg2 = (int)lua_tonumber(L, 2);
37934  result = (Mezzanine::Boole)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetLinearMotorEnabledOnAxis(arg2);
37935  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
37936  return SWIG_arg;
37937 
37938  if(0) SWIG_fail;
37939 
37940 fail:
37941  lua_error(L);
37942  return SWIG_arg;
37943 }
37944 
37945 
37946 static int _wrap_Generic6DofConstraint_ValidParamOnAxis(lua_State* L) {
37947  int SWIG_arg = 0;
37949  int arg2 ;
37950  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
37951 
37952  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::ValidParamOnAxis",2,2)
37953  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ValidParamOnAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37954  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ValidParamOnAxis",2,"int");
37955 
37956  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37957  SWIG_fail_ptr("Generic6DofConstraint_ValidParamOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37958  }
37959 
37960  arg2 = (int)lua_tonumber(L, 2);
37961  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->ValidParamOnAxis(arg2);
37962  {
37964  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
37965  }
37966  return SWIG_arg;
37967 
37968  if(0) SWIG_fail;
37969 
37970 fail:
37971  lua_error(L);
37972  return SWIG_arg;
37973 }
37974 
37975 
37976 static int _wrap_Generic6DofConstraint_ValidLinearAxis(lua_State* L) {
37977  int SWIG_arg = 0;
37979  SwigValueWrapper< std::vector< int > > result;
37980 
37981  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::ValidLinearAxis",1,1)
37982  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ValidLinearAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
37983 
37984  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
37985  SWIG_fail_ptr("Generic6DofConstraint_ValidLinearAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
37986  }
37987 
37988  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->ValidLinearAxis();
37989  {
37991  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
37992  }
37993  return SWIG_arg;
37994 
37995  if(0) SWIG_fail;
37996 
37997 fail:
37998  lua_error(L);
37999  return SWIG_arg;
38000 }
38001 
38002 
38003 static int _wrap_Generic6DofConstraint_ValidAngularAxis(lua_State* L) {
38004  int SWIG_arg = 0;
38006  SwigValueWrapper< std::vector< int > > result;
38007 
38008  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::ValidAngularAxis",1,1)
38009  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ValidAngularAxis",1,"Mezzanine::Physics::Generic6DofConstraint const *");
38010 
38011  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38012  SWIG_fail_ptr("Generic6DofConstraint_ValidAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38013  }
38014 
38015  result = ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->ValidAngularAxis();
38016  {
38018  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
38019  }
38020  return SWIG_arg;
38021 
38022  if(0) SWIG_fail;
38023 
38024 fail:
38025  lua_error(L);
38026  return SWIG_arg;
38027 }
38028 
38029 
38030 static int _wrap_Generic6DofConstraint_HasParamBeenSet(lua_State* L) {
38031  int SWIG_arg = 0;
38034  int arg3 ;
38035  Mezzanine::Boole result;
38036 
38037  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::HasParamBeenSet",3,3)
38038  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::HasParamBeenSet",1,"Mezzanine::Physics::Generic6DofConstraint const *");
38039  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::HasParamBeenSet",2,"Mezzanine::Physics::ConstraintParam");
38040  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::HasParamBeenSet",3,"int");
38041 
38042  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38043  SWIG_fail_ptr("Generic6DofConstraint_HasParamBeenSet",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38044  }
38045 
38046  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
38047  arg3 = (int)lua_tonumber(L, 3);
38048  result = (Mezzanine::Boole)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->HasParamBeenSet(arg2,arg3);
38049  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
38050  return SWIG_arg;
38051 
38052  if(0) SWIG_fail;
38053 
38054 fail:
38055  lua_error(L);
38056  return SWIG_arg;
38057 }
38058 
38059 
38060 static int _wrap_Generic6DofConstraint_GetUseFrameOffset(lua_State* L) {
38061  int SWIG_arg = 0;
38063  Mezzanine::Boole result;
38064 
38065  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetUseFrameOffset",1,1)
38066  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetUseFrameOffset",1,"Mezzanine::Physics::Generic6DofConstraint const *");
38067 
38068  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38069  SWIG_fail_ptr("Generic6DofConstraint_GetUseFrameOffset",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38070  }
38071 
38072  result = (Mezzanine::Boole)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetUseFrameOffset();
38073  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
38074  return SWIG_arg;
38075 
38076  if(0) SWIG_fail;
38077 
38078 fail:
38079  lua_error(L);
38080  return SWIG_arg;
38081 }
38082 
38083 
38084 static int _wrap_Generic6DofConstraint_SetUseFrameOffset(lua_State* L) {
38085  int SWIG_arg = 0;
38087  Mezzanine::Boole arg2 ;
38088 
38089  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SetUseFrameOffset",2,2)
38090  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetUseFrameOffset",1,"Mezzanine::Physics::Generic6DofConstraint *");
38091  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::SetUseFrameOffset",2,"Mezzanine::Boole");
38092 
38093  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38094  SWIG_fail_ptr("Generic6DofConstraint_SetUseFrameOffset",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38095  }
38096 
38097  arg2 = (lua_toboolean(L, 2)!=0);
38098  (arg1)->SetUseFrameOffset(arg2);
38099 
38100  return SWIG_arg;
38101 
38102  if(0) SWIG_fail;
38103 
38104 fail:
38105  lua_error(L);
38106  return SWIG_arg;
38107 }
38108 
38109 
38110 static int _wrap_Generic6DofConstraint_GetConstraintBase(lua_State* L) {
38111  int SWIG_arg = 0;
38113  btTypedConstraint *result = 0 ;
38114 
38115  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::GetConstraintBase",1,1)
38116  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::GetConstraintBase",1,"Mezzanine::Physics::Generic6DofConstraint const *");
38117 
38118  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38119  SWIG_fail_ptr("Generic6DofConstraint_GetConstraintBase",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38120  }
38121 
38122  result = (btTypedConstraint *)((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->GetConstraintBase();
38123  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btTypedConstraint,0); SWIG_arg++;
38124  return SWIG_arg;
38125 
38126  if(0) SWIG_fail;
38127 
38128 fail:
38129  lua_error(L);
38130  return SWIG_arg;
38131 }
38132 
38133 
38134 static int _wrap_Generic6DofConstraint_ProtoSerialize(lua_State* L) {
38135  int SWIG_arg = 0;
38137  XML::Node *arg2 = 0 ;
38138 
38139  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::ProtoSerialize",2,2)
38140  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ProtoSerialize",1,"Mezzanine::Physics::Generic6DofConstraint const *");
38141  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ProtoSerialize",2,"XML::Node &");
38142 
38143  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38144  SWIG_fail_ptr("Generic6DofConstraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38145  }
38146 
38147 
38148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
38149  SWIG_fail_ptr("Generic6DofConstraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
38150  }
38151 
38152  ((Mezzanine::Physics::Generic6DofConstraint const *)arg1)->ProtoSerialize(*arg2);
38153 
38154  return SWIG_arg;
38155 
38156  if(0) SWIG_fail;
38157 
38158 fail:
38159  lua_error(L);
38160  return SWIG_arg;
38161 }
38162 
38163 
38164 static int _wrap_Generic6DofConstraint_ProtoDeSerialize(lua_State* L) {
38165  int SWIG_arg = 0;
38167  XML::Node *arg2 = 0 ;
38168 
38169  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::ProtoDeSerialize",2,2)
38170  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ProtoDeSerialize",1,"Mezzanine::Physics::Generic6DofConstraint *");
38171  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofConstraint::ProtoDeSerialize",2,"XML::Node const &");
38172 
38173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,0))){
38174  SWIG_fail_ptr("Generic6DofConstraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint);
38175  }
38176 
38177 
38178  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
38179  SWIG_fail_ptr("Generic6DofConstraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
38180  }
38181 
38182  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
38183 
38184  return SWIG_arg;
38185 
38186  if(0) SWIG_fail;
38187 
38188 fail:
38189  lua_error(L);
38190  return SWIG_arg;
38191 }
38192 
38193 
38194 static int _wrap_Generic6DofConstraint_SerializableName(lua_State* L) {
38195  int SWIG_arg = 0;
38196  Mezzanine::String result;
38197 
38198  SWIG_check_num_args("Mezzanine::Physics::Generic6DofConstraint::SerializableName",0,0)
38199  result = Mezzanine::Physics::Generic6DofConstraint::SerializableName();
38200  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
38201  return SWIG_arg;
38202 
38203  if(0) SWIG_fail;
38204 
38205 fail:
38206  lua_error(L);
38207  return SWIG_arg;
38208 }
38209 
38210 
38211 static void swig_delete_Generic6DofConstraint(void *obj) {
38213 delete arg1;
38214 }
38215 static swig_lua_method swig_Mezzanine_Physics_Generic6DofConstraint_methods[] = {
38216  {"SetPivotATransform", _wrap_Generic6DofConstraint_SetPivotATransform},
38217  {"SetPivotBTransform", _wrap_Generic6DofConstraint_SetPivotBTransform},
38218  {"GetPivotATransform", _wrap_Generic6DofConstraint_GetPivotATransform},
38219  {"GetPivotBTransform", _wrap_Generic6DofConstraint_GetPivotBTransform},
38220  {"SetPivotALocation", _wrap_Generic6DofConstraint_SetPivotALocation},
38221  {"SetPivotBLocation", _wrap_Generic6DofConstraint_SetPivotBLocation},
38222  {"GetPivotALocation", _wrap_Generic6DofConstraint_GetPivotALocation},
38223  {"GetPivotBLocation", _wrap_Generic6DofConstraint_GetPivotBLocation},
38224  {"SetPivotARotation", _wrap_Generic6DofConstraint_SetPivotARotation},
38225  {"SetPivotBRotation", _wrap_Generic6DofConstraint_SetPivotBRotation},
38226  {"GetPivotARotation", _wrap_Generic6DofConstraint_GetPivotARotation},
38227  {"GetPivotBRotation", _wrap_Generic6DofConstraint_GetPivotBRotation},
38228  {"SetLimit", _wrap_Generic6DofConstraint_SetLimit},
38229  {"SetLinearLimitUpper", _wrap_Generic6DofConstraint_SetLinearLimitUpper},
38230  {"SetLinearLimitLower", _wrap_Generic6DofConstraint_SetLinearLimitLower},
38231  {"GetLinearLimitUpper", _wrap_Generic6DofConstraint_GetLinearLimitUpper},
38232  {"GetLinearLimitLower", _wrap_Generic6DofConstraint_GetLinearLimitLower},
38233  {"SetAngularLimitUpper", _wrap_Generic6DofConstraint_SetAngularLimitUpper},
38234  {"SetAngularLimitLower", _wrap_Generic6DofConstraint_SetAngularLimitLower},
38235  {"GetAngularLimitUpper", _wrap_Generic6DofConstraint_GetAngularLimitUpper},
38236  {"GetAngularLimitLower", _wrap_Generic6DofConstraint_GetAngularLimitLower},
38237  {"GetAngularLimitLowerOnAxis", _wrap_Generic6DofConstraint_GetAngularLimitLowerOnAxis},
38238  {"GetAngularLimitUpperOnAxis", _wrap_Generic6DofConstraint_GetAngularLimitUpperOnAxis},
38239  {"AxisToAngularAxis", _wrap_Generic6DofConstraint_AxisToAngularAxis},
38240  {"SetAngularLimitMaxForce", _wrap_Generic6DofConstraint_SetAngularLimitMaxForce},
38241  {"SetAngularLimitMaxForceOnAxis", _wrap_Generic6DofConstraint_SetAngularLimitMaxForceOnAxis},
38242  {"GetAngularLimitMaxForce", _wrap_Generic6DofConstraint_GetAngularLimitMaxForce},
38243  {"GetAngularLimitMaxForceOnAxis", _wrap_Generic6DofConstraint_GetAngularLimitMaxForceOnAxis},
38244  {"SetAngularMotorTargetVelocity", _wrap_Generic6DofConstraint_SetAngularMotorTargetVelocity},
38245  {"SetAngularMotorTargetVelocityOnAxis", _wrap_Generic6DofConstraint_SetAngularMotorTargetVelocityOnAxis},
38246  {"GetAngularMotorTargetVelocity", _wrap_Generic6DofConstraint_GetAngularMotorTargetVelocity},
38247  {"GetAngularMotorTargetVelocityOnAxis", _wrap_Generic6DofConstraint_GetAngularMotorTargetVelocityOnAxis},
38248  {"SetAngularMotorMaxForce", _wrap_Generic6DofConstraint_SetAngularMotorMaxForce},
38249  {"SetAngularMotorMaxForceOnAxis", _wrap_Generic6DofConstraint_SetAngularMotorMaxForceOnAxis},
38250  {"GetAngularMotorMaxForce", _wrap_Generic6DofConstraint_GetAngularMotorMaxForce},
38251  {"GetAngularMotorMaxForceOnAxis", _wrap_Generic6DofConstraint_GetAngularMotorMaxForceOnAxis},
38252  {"SetAngularMotorDamping", _wrap_Generic6DofConstraint_SetAngularMotorDamping},
38253  {"SetAngularMotorDampingOnAxis", _wrap_Generic6DofConstraint_SetAngularMotorDampingOnAxis},
38254  {"GetAngularMotorDamping", _wrap_Generic6DofConstraint_GetAngularMotorDamping},
38255  {"GetAngularMotorDampingOnAxis", _wrap_Generic6DofConstraint_GetAngularMotorDampingOnAxis},
38256  {"SetAngularMotorRestitution", _wrap_Generic6DofConstraint_SetAngularMotorRestitution},
38257  {"SetAngularMotorRestitutionOnAxis", _wrap_Generic6DofConstraint_SetAngularMotorRestitutionOnAxis},
38258  {"GetAngularMotorRestitution", _wrap_Generic6DofConstraint_GetAngularMotorRestitution},
38259  {"GetAngularMotorRestitutionOnAxis", _wrap_Generic6DofConstraint_GetAngularMotorRestitutionOnAxis},
38260  {"SetAngularMotorEnabled", _wrap_Generic6DofConstraint_SetAngularMotorEnabled},
38261  {"SetAngularMotorEnabledOnAxis", _wrap_Generic6DofConstraint_SetAngularMotorEnabledOnAxis},
38262  {"GetAngularMotorEnabled", _wrap_Generic6DofConstraint_GetAngularMotorEnabled},
38263  {"GetAngularMotorEnabledOnAxis", _wrap_Generic6DofConstraint_GetAngularMotorEnabledOnAxis},
38264  {"SetLinearLimitSoftness", _wrap_Generic6DofConstraint_SetLinearLimitSoftness},
38265  {"GetLinearLimitSoftness", _wrap_Generic6DofConstraint_GetLinearLimitSoftness},
38266  {"SetLinearLimitDamping", _wrap_Generic6DofConstraint_SetLinearLimitDamping},
38267  {"GetLinearLimitDamping", _wrap_Generic6DofConstraint_GetLinearLimitDamping},
38268  {"SetLinearLimitRestitution", _wrap_Generic6DofConstraint_SetLinearLimitRestitution},
38269  {"GetLinearLimitRestitution", _wrap_Generic6DofConstraint_GetLinearLimitRestitution},
38270  {"SetLinearMotorMaxForce", _wrap_Generic6DofConstraint_SetLinearMotorMaxForce},
38271  {"SetLinearMotorMaxForceOnAxis", _wrap_Generic6DofConstraint_SetLinearMotorMaxForceOnAxis},
38272  {"GetLinearMotorMaxForce", _wrap_Generic6DofConstraint_GetLinearMotorMaxForce},
38273  {"GetLinearMotorMaxForceOnAxis", _wrap_Generic6DofConstraint_GetLinearMotorMaxForceOnAxis},
38274  {"SetLinearMotorTargetVelocity", _wrap_Generic6DofConstraint_SetLinearMotorTargetVelocity},
38275  {"SetLinearMotorTargetVelocityOnAxis", _wrap_Generic6DofConstraint_SetLinearMotorTargetVelocityOnAxis},
38276  {"GetLinearMotorTargetVelocity", _wrap_Generic6DofConstraint_GetLinearMotorTargetVelocity},
38277  {"GetLinearMotorTargetVelocityOnAxis", _wrap_Generic6DofConstraint_GetLinearMotorTargetVelocityOnAxis},
38278  {"SetLinearMotorEnabled", _wrap_Generic6DofConstraint_SetLinearMotorEnabled},
38279  {"SetLinearMotorEnabledOnAxis", _wrap_Generic6DofConstraint_SetLinearMotorEnabledOnAxis},
38280  {"GetLinearMotorEnabled", _wrap_Generic6DofConstraint_GetLinearMotorEnabled},
38281  {"GetLinearMotorEnabledOnAxis", _wrap_Generic6DofConstraint_GetLinearMotorEnabledOnAxis},
38282  {"ValidParamOnAxis", _wrap_Generic6DofConstraint_ValidParamOnAxis},
38283  {"ValidLinearAxis", _wrap_Generic6DofConstraint_ValidLinearAxis},
38284  {"ValidAngularAxis", _wrap_Generic6DofConstraint_ValidAngularAxis},
38285  {"HasParamBeenSet", _wrap_Generic6DofConstraint_HasParamBeenSet},
38286  {"GetUseFrameOffset", _wrap_Generic6DofConstraint_GetUseFrameOffset},
38287  {"SetUseFrameOffset", _wrap_Generic6DofConstraint_SetUseFrameOffset},
38288  {"GetConstraintBase", _wrap_Generic6DofConstraint_GetConstraintBase},
38289  {"ProtoSerialize", _wrap_Generic6DofConstraint_ProtoSerialize},
38290  {"ProtoDeSerialize", _wrap_Generic6DofConstraint_ProtoDeSerialize},
38291  {0,0}
38292 };
38293 static swig_lua_attribute swig_Mezzanine_Physics_Generic6DofConstraint_attributes[] = {
38294  {0,0,0}
38295 };
38296 static swig_lua_class *swig_Mezzanine_Physics_Generic6DofConstraint_bases[] = {0,0};
38297 static const char *swig_Mezzanine_Physics_Generic6DofConstraint_base_names[] = {"Mezzanine::Physics::DualTransformConstraint *",0};
38298 static swig_lua_class _wrap_class_Mezzanine_Physics_Generic6DofConstraint = { "Generic6DofConstraint", &SWIGTYPE_p_Mezzanine__Physics__Generic6DofConstraint,_wrap_new_Generic6DofConstraint, swig_delete_Generic6DofConstraint, swig_Mezzanine_Physics_Generic6DofConstraint_methods, swig_Mezzanine_Physics_Generic6DofConstraint_attributes, swig_Mezzanine_Physics_Generic6DofConstraint_bases, swig_Mezzanine_Physics_Generic6DofConstraint_base_names };
38299 
38300 static int _wrap_new_Generic6DofSpringConstraint__SWIG_1(lua_State* L) {
38301  int SWIG_arg = 0;
38304  Mezzanine::Physics::Vector3 *arg3 = 0 ;
38305  Mezzanine::Physics::Vector3 *arg4 = 0 ;
38306  Mezzanine::Quaternion *arg5 = 0 ;
38307  Mezzanine::Quaternion *arg6 = 0 ;
38308  Mezzanine::Boole arg7 ;
38310 
38311  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",7,7)
38312  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",1,"Mezzanine::Physics::RigidProxy *");
38313  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",2,"Mezzanine::Physics::RigidProxy *");
38314  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",3,"Mezzanine::Physics::Vector3 const &");
38315  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",4,"Mezzanine::Physics::Vector3 const &");
38316  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",5,"Mezzanine::Quaternion const &");
38317  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",6,"Mezzanine::Quaternion const &");
38318  if(!lua_isboolean(L,7)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",7,"Mezzanine::Boole");
38319 
38320  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38321  SWIG_fail_ptr("new_Generic6DofSpringConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38322  }
38323 
38324 
38325  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38326  SWIG_fail_ptr("new_Generic6DofSpringConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38327  }
38328 
38329 
38330  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
38331  SWIG_fail_ptr("new_Generic6DofSpringConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
38332  }
38333 
38334 
38335  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
38336  SWIG_fail_ptr("new_Generic6DofSpringConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
38337  }
38338 
38339 
38340  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
38341  SWIG_fail_ptr("new_Generic6DofSpringConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
38342  }
38343 
38344 
38345  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
38346  SWIG_fail_ptr("new_Generic6DofSpringConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
38347  }
38348 
38349  arg7 = (lua_toboolean(L, 7)!=0);
38351  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,1); SWIG_arg++;
38352  return SWIG_arg;
38353 
38354  if(0) SWIG_fail;
38355 
38356 fail:
38357  lua_error(L);
38358  return SWIG_arg;
38359 }
38360 
38361 
38362 static int _wrap_new_Generic6DofSpringConstraint__SWIG_2(lua_State* L) {
38363  int SWIG_arg = 0;
38366  Mezzanine::Physics::Vector3 *arg3 = 0 ;
38367  Mezzanine::Physics::Vector3 *arg4 = 0 ;
38368  Mezzanine::Quaternion *arg5 = 0 ;
38369  Mezzanine::Quaternion *arg6 = 0 ;
38371 
38372  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",6,6)
38373  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",1,"Mezzanine::Physics::RigidProxy *");
38374  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",2,"Mezzanine::Physics::RigidProxy *");
38375  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",3,"Mezzanine::Physics::Vector3 const &");
38376  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",4,"Mezzanine::Physics::Vector3 const &");
38377  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",5,"Mezzanine::Quaternion const &");
38378  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",6,"Mezzanine::Quaternion const &");
38379 
38380  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38381  SWIG_fail_ptr("new_Generic6DofSpringConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38382  }
38383 
38384 
38385  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38386  SWIG_fail_ptr("new_Generic6DofSpringConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38387  }
38388 
38389 
38390  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
38391  SWIG_fail_ptr("new_Generic6DofSpringConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
38392  }
38393 
38394 
38395  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
38396  SWIG_fail_ptr("new_Generic6DofSpringConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
38397  }
38398 
38399 
38400  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
38401  SWIG_fail_ptr("new_Generic6DofSpringConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
38402  }
38403 
38404 
38405  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
38406  SWIG_fail_ptr("new_Generic6DofSpringConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
38407  }
38408 
38410  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,1); SWIG_arg++;
38411  return SWIG_arg;
38412 
38413  if(0) SWIG_fail;
38414 
38415 fail:
38416  lua_error(L);
38417  return SWIG_arg;
38418 }
38419 
38420 
38421 static int _wrap_new_Generic6DofSpringConstraint__SWIG_3(lua_State* L) {
38422  int SWIG_arg = 0;
38425  Mezzanine::Transform *arg3 = 0 ;
38426  Mezzanine::Transform *arg4 = 0 ;
38427  Mezzanine::Boole arg5 ;
38429 
38430  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",5,5)
38431  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",1,"Mezzanine::Physics::RigidProxy *");
38432  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",2,"Mezzanine::Physics::RigidProxy *");
38433  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",3,"Mezzanine::Transform const &");
38434  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",4,"Mezzanine::Transform const &");
38435  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",5,"Mezzanine::Boole");
38436 
38437  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38438  SWIG_fail_ptr("new_Generic6DofSpringConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38439  }
38440 
38441 
38442  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38443  SWIG_fail_ptr("new_Generic6DofSpringConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38444  }
38445 
38446 
38447  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
38448  SWIG_fail_ptr("new_Generic6DofSpringConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
38449  }
38450 
38451 
38452  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
38453  SWIG_fail_ptr("new_Generic6DofSpringConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
38454  }
38455 
38456  arg5 = (lua_toboolean(L, 5)!=0);
38458  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,1); SWIG_arg++;
38459  return SWIG_arg;
38460 
38461  if(0) SWIG_fail;
38462 
38463 fail:
38464  lua_error(L);
38465  return SWIG_arg;
38466 }
38467 
38468 
38469 static int _wrap_new_Generic6DofSpringConstraint__SWIG_4(lua_State* L) {
38470  int SWIG_arg = 0;
38473  Mezzanine::Transform *arg3 = 0 ;
38474  Mezzanine::Transform *arg4 = 0 ;
38476 
38477  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",4,4)
38478  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",1,"Mezzanine::Physics::RigidProxy *");
38479  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",2,"Mezzanine::Physics::RigidProxy *");
38480  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",3,"Mezzanine::Transform const &");
38481  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint",4,"Mezzanine::Transform const &");
38482 
38483  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38484  SWIG_fail_ptr("new_Generic6DofSpringConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38485  }
38486 
38487 
38488  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
38489  SWIG_fail_ptr("new_Generic6DofSpringConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
38490  }
38491 
38492 
38493  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
38494  SWIG_fail_ptr("new_Generic6DofSpringConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
38495  }
38496 
38497 
38498  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
38499  SWIG_fail_ptr("new_Generic6DofSpringConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
38500  }
38501 
38503  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,1); SWIG_arg++;
38504  return SWIG_arg;
38505 
38506  if(0) SWIG_fail;
38507 
38508 fail:
38509  lua_error(L);
38510  return SWIG_arg;
38511 }
38512 
38513 
38514 static int _wrap_new_Generic6DofSpringConstraint(lua_State* L) {
38515  int argc;
38516  int argv[8]={
38517  1,2,3,4,5,6,7,8
38518  };
38519 
38520  argc = lua_gettop(L);
38521  if (argc == 4) {
38522  int _v;
38523  {
38524  void *ptr;
38525  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38526  _v = 0;
38527  } else {
38528  _v = 1;
38529  }
38530  }
38531  if (_v) {
38532  {
38533  void *ptr;
38534  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38535  _v = 0;
38536  } else {
38537  _v = 1;
38538  }
38539  }
38540  if (_v) {
38541  {
38542  void *ptr;
38543  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
38544  _v = 0;
38545  } else {
38546  _v = 1;
38547  }
38548  }
38549  if (_v) {
38550  {
38551  void *ptr;
38552  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
38553  _v = 0;
38554  } else {
38555  _v = 1;
38556  }
38557  }
38558  if (_v) {
38559  return _wrap_new_Generic6DofSpringConstraint__SWIG_4(L);
38560  }
38561  }
38562  }
38563  }
38564  }
38565  if (argc == 5) {
38566  int _v;
38567  {
38568  void *ptr;
38569  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38570  _v = 0;
38571  } else {
38572  _v = 1;
38573  }
38574  }
38575  if (_v) {
38576  {
38577  void *ptr;
38578  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38579  _v = 0;
38580  } else {
38581  _v = 1;
38582  }
38583  }
38584  if (_v) {
38585  {
38586  void *ptr;
38587  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
38588  _v = 0;
38589  } else {
38590  _v = 1;
38591  }
38592  }
38593  if (_v) {
38594  {
38595  void *ptr;
38596  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
38597  _v = 0;
38598  } else {
38599  _v = 1;
38600  }
38601  }
38602  if (_v) {
38603  {
38604  _v = lua_isboolean(L,argv[4]);
38605  }
38606  if (_v) {
38607  return _wrap_new_Generic6DofSpringConstraint__SWIG_3(L);
38608  }
38609  }
38610  }
38611  }
38612  }
38613  }
38614  if (argc == 6) {
38615  int _v;
38616  {
38617  void *ptr;
38618  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38619  _v = 0;
38620  } else {
38621  _v = 1;
38622  }
38623  }
38624  if (_v) {
38625  {
38626  void *ptr;
38627  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38628  _v = 0;
38629  } else {
38630  _v = 1;
38631  }
38632  }
38633  if (_v) {
38634  {
38635  void *ptr;
38636  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
38637  _v = 0;
38638  } else {
38639  _v = 1;
38640  }
38641  }
38642  if (_v) {
38643  {
38644  void *ptr;
38645  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
38646  _v = 0;
38647  } else {
38648  _v = 1;
38649  }
38650  }
38651  if (_v) {
38652  {
38653  void *ptr;
38654  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
38655  _v = 0;
38656  } else {
38657  _v = 1;
38658  }
38659  }
38660  if (_v) {
38661  {
38662  void *ptr;
38663  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
38664  _v = 0;
38665  } else {
38666  _v = 1;
38667  }
38668  }
38669  if (_v) {
38670  return _wrap_new_Generic6DofSpringConstraint__SWIG_2(L);
38671  }
38672  }
38673  }
38674  }
38675  }
38676  }
38677  }
38678  if (argc == 7) {
38679  int _v;
38680  {
38681  void *ptr;
38682  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38683  _v = 0;
38684  } else {
38685  _v = 1;
38686  }
38687  }
38688  if (_v) {
38689  {
38690  void *ptr;
38691  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
38692  _v = 0;
38693  } else {
38694  _v = 1;
38695  }
38696  }
38697  if (_v) {
38698  {
38699  void *ptr;
38700  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
38701  _v = 0;
38702  } else {
38703  _v = 1;
38704  }
38705  }
38706  if (_v) {
38707  {
38708  void *ptr;
38709  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
38710  _v = 0;
38711  } else {
38712  _v = 1;
38713  }
38714  }
38715  if (_v) {
38716  {
38717  void *ptr;
38718  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
38719  _v = 0;
38720  } else {
38721  _v = 1;
38722  }
38723  }
38724  if (_v) {
38725  {
38726  void *ptr;
38727  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
38728  _v = 0;
38729  } else {
38730  _v = 1;
38731  }
38732  }
38733  if (_v) {
38734  {
38735  _v = lua_isboolean(L,argv[6]);
38736  }
38737  if (_v) {
38738  return _wrap_new_Generic6DofSpringConstraint__SWIG_1(L);
38739  }
38740  }
38741  }
38742  }
38743  }
38744  }
38745  }
38746  }
38747 
38748  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Generic6DofSpringConstraint'\n"
38749  " Possible C/C++ prototypes are:\n"
38750  " Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &,Mezzanine::Boole)\n"
38751  " Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &)\n"
38752  " Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &,Mezzanine::Boole)\n"
38753  " Mezzanine::Physics::Generic6DofSpringConstraint::Generic6DofSpringConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &)\n");
38754  lua_error(L);return 0;
38755 }
38756 
38757 
38758 static int _wrap_Generic6DofSpringConstraint_SetSpringLinearStiffness(lua_State* L) {
38759  int SWIG_arg = 0;
38761  Mezzanine::Physics::Vector3 *arg2 = 0 ;
38762 
38763  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearStiffness",2,2)
38764  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearStiffness",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
38765  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearStiffness",2,"Mezzanine::Physics::Vector3 const &");
38766 
38767  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38768  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringLinearStiffness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38769  }
38770 
38771 
38772  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
38773  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringLinearStiffness",2,SWIGTYPE_p_Mezzanine__Vector3);
38774  }
38775 
38776  (arg1)->SetSpringLinearStiffness((Mezzanine::Physics::Vector3 const &)*arg2);
38777 
38778  return SWIG_arg;
38779 
38780  if(0) SWIG_fail;
38781 
38782 fail:
38783  lua_error(L);
38784  return SWIG_arg;
38785 }
38786 
38787 
38788 static int _wrap_Generic6DofSpringConstraint_SetSpringLinearDamping(lua_State* L) {
38789  int SWIG_arg = 0;
38791  Mezzanine::Physics::Vector3 *arg2 = 0 ;
38792 
38793  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearDamping",2,2)
38794  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearDamping",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
38795  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearDamping",2,"Mezzanine::Physics::Vector3 const &");
38796 
38797  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38798  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringLinearDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38799  }
38800 
38801 
38802  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
38803  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringLinearDamping",2,SWIGTYPE_p_Mezzanine__Vector3);
38804  }
38805 
38806  (arg1)->SetSpringLinearDamping((Mezzanine::Physics::Vector3 const &)*arg2);
38807 
38808  return SWIG_arg;
38809 
38810  if(0) SWIG_fail;
38811 
38812 fail:
38813  lua_error(L);
38814  return SWIG_arg;
38815 }
38816 
38817 
38818 static int _wrap_Generic6DofSpringConstraint_SetSpringLinearEnabled(lua_State* L) {
38819  int SWIG_arg = 0;
38821  Mezzanine::Physics::Vector3 *arg2 = 0 ;
38822 
38823  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearEnabled",2,2)
38824  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearEnabled",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
38825  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringLinearEnabled",2,"Mezzanine::Physics::Vector3 const &");
38826 
38827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38828  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringLinearEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38829  }
38830 
38831 
38832  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
38833  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringLinearEnabled",2,SWIGTYPE_p_Mezzanine__Vector3);
38834  }
38835 
38836  (arg1)->SetSpringLinearEnabled((Mezzanine::Physics::Vector3 const &)*arg2);
38837 
38838  return SWIG_arg;
38839 
38840  if(0) SWIG_fail;
38841 
38842 fail:
38843  lua_error(L);
38844  return SWIG_arg;
38845 }
38846 
38847 
38848 static int _wrap_Generic6DofSpringConstraint_GetSpringLinearStiffness(lua_State* L) {
38849  int SWIG_arg = 0;
38852 
38853  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringLinearStiffness",1,1)
38854  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringLinearStiffness",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
38855 
38856  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38857  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringLinearStiffness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38858  }
38859 
38860  result = ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringLinearStiffness();
38861  {
38863  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
38864  }
38865  return SWIG_arg;
38866 
38867  if(0) SWIG_fail;
38868 
38869 fail:
38870  lua_error(L);
38871  return SWIG_arg;
38872 }
38873 
38874 
38875 static int _wrap_Generic6DofSpringConstraint_GetSpringLinearDamping(lua_State* L) {
38876  int SWIG_arg = 0;
38879 
38880  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringLinearDamping",1,1)
38881  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringLinearDamping",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
38882 
38883  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38884  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringLinearDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38885  }
38886 
38887  result = ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringLinearDamping();
38888  {
38890  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
38891  }
38892  return SWIG_arg;
38893 
38894  if(0) SWIG_fail;
38895 
38896 fail:
38897  lua_error(L);
38898  return SWIG_arg;
38899 }
38900 
38901 
38902 static int _wrap_Generic6DofSpringConstraint_GetSpringLinearEnabled(lua_State* L) {
38903  int SWIG_arg = 0;
38906 
38907  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringLinearEnabled",1,1)
38908  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringLinearEnabled",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
38909 
38910  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38911  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringLinearEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38912  }
38913 
38914  result = ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringLinearEnabled();
38915  {
38917  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
38918  }
38919  return SWIG_arg;
38920 
38921  if(0) SWIG_fail;
38922 
38923 fail:
38924  lua_error(L);
38925  return SWIG_arg;
38926 }
38927 
38928 
38929 static int _wrap_Generic6DofSpringConstraint_SetSpringAngularStiffness(lua_State* L) {
38930  int SWIG_arg = 0;
38932  Mezzanine::Physics::Vector3 *arg2 = 0 ;
38933 
38934  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularStiffness",2,2)
38935  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularStiffness",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
38936  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularStiffness",2,"Mezzanine::Physics::Vector3 const &");
38937 
38938  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38939  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringAngularStiffness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38940  }
38941 
38942 
38943  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
38944  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringAngularStiffness",2,SWIGTYPE_p_Mezzanine__Vector3);
38945  }
38946 
38947  (arg1)->SetSpringAngularStiffness((Mezzanine::Physics::Vector3 const &)*arg2);
38948 
38949  return SWIG_arg;
38950 
38951  if(0) SWIG_fail;
38952 
38953 fail:
38954  lua_error(L);
38955  return SWIG_arg;
38956 }
38957 
38958 
38959 static int _wrap_Generic6DofSpringConstraint_SetSpringAngularDamping(lua_State* L) {
38960  int SWIG_arg = 0;
38962  Mezzanine::Physics::Vector3 *arg2 = 0 ;
38963 
38964  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularDamping",2,2)
38965  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularDamping",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
38966  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularDamping",2,"Mezzanine::Physics::Vector3 const &");
38967 
38968  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38969  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringAngularDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
38970  }
38971 
38972 
38973  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
38974  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringAngularDamping",2,SWIGTYPE_p_Mezzanine__Vector3);
38975  }
38976 
38977  (arg1)->SetSpringAngularDamping((Mezzanine::Physics::Vector3 const &)*arg2);
38978 
38979  return SWIG_arg;
38980 
38981  if(0) SWIG_fail;
38982 
38983 fail:
38984  lua_error(L);
38985  return SWIG_arg;
38986 }
38987 
38988 
38989 static int _wrap_Generic6DofSpringConstraint_SetSpringAngularEnabled(lua_State* L) {
38990  int SWIG_arg = 0;
38992  Mezzanine::Physics::Vector3 *arg2 = 0 ;
38993 
38994  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularEnabled",2,2)
38995  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularEnabled",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
38996  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringAngularEnabled",2,"Mezzanine::Physics::Vector3 const &");
38997 
38998  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
38999  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringAngularEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39000  }
39001 
39002 
39003  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
39004  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringAngularEnabled",2,SWIGTYPE_p_Mezzanine__Vector3);
39005  }
39006 
39007  (arg1)->SetSpringAngularEnabled((Mezzanine::Physics::Vector3 const &)*arg2);
39008 
39009  return SWIG_arg;
39010 
39011  if(0) SWIG_fail;
39012 
39013 fail:
39014  lua_error(L);
39015  return SWIG_arg;
39016 }
39017 
39018 
39019 static int _wrap_Generic6DofSpringConstraint_GetSpringAngularStiffness(lua_State* L) {
39020  int SWIG_arg = 0;
39023 
39024  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringAngularStiffness",1,1)
39025  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringAngularStiffness",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39026 
39027  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39028  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringAngularStiffness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39029  }
39030 
39031  result = ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringAngularStiffness();
39032  {
39034  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
39035  }
39036  return SWIG_arg;
39037 
39038  if(0) SWIG_fail;
39039 
39040 fail:
39041  lua_error(L);
39042  return SWIG_arg;
39043 }
39044 
39045 
39046 static int _wrap_Generic6DofSpringConstraint_GetSpringAngularDamping(lua_State* L) {
39047  int SWIG_arg = 0;
39050 
39051  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringAngularDamping",1,1)
39052  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringAngularDamping",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39053 
39054  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39055  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringAngularDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39056  }
39057 
39058  result = ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringAngularDamping();
39059  {
39061  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
39062  }
39063  return SWIG_arg;
39064 
39065  if(0) SWIG_fail;
39066 
39067 fail:
39068  lua_error(L);
39069  return SWIG_arg;
39070 }
39071 
39072 
39073 static int _wrap_Generic6DofSpringConstraint_GetSpringAngularEnabled(lua_State* L) {
39074  int SWIG_arg = 0;
39077 
39078  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringAngularEnabled",1,1)
39079  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringAngularEnabled",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39080 
39081  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39082  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringAngularEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39083  }
39084 
39085  result = ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringAngularEnabled();
39086  {
39088  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
39089  }
39090  return SWIG_arg;
39091 
39092  if(0) SWIG_fail;
39093 
39094 fail:
39095  lua_error(L);
39096  return SWIG_arg;
39097 }
39098 
39099 
39100 static int _wrap_Generic6DofSpringConstraint_SetSpringStiffness(lua_State* L) {
39101  int SWIG_arg = 0;
39103  int arg2 ;
39104  Mezzanine::Real arg3 ;
39105 
39106  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringStiffness",3,3)
39107  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringStiffness",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
39108  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringStiffness",2,"int");
39109  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringStiffness",3,"Mezzanine::Real");
39110 
39111  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39112  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringStiffness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39113  }
39114 
39115  arg2 = (int)lua_tonumber(L, 2);
39116  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
39117  (arg1)->SetSpringStiffness(arg2,arg3);
39118 
39119  return SWIG_arg;
39120 
39121  if(0) SWIG_fail;
39122 
39123 fail:
39124  lua_error(L);
39125  return SWIG_arg;
39126 }
39127 
39128 
39129 static int _wrap_Generic6DofSpringConstraint_SetSpringDamping(lua_State* L) {
39130  int SWIG_arg = 0;
39132  int arg2 ;
39133  Mezzanine::Real arg3 ;
39134 
39135  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringDamping",3,3)
39136  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringDamping",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
39137  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringDamping",2,"int");
39138  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringDamping",3,"Mezzanine::Real");
39139 
39140  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39141  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39142  }
39143 
39144  arg2 = (int)lua_tonumber(L, 2);
39145  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
39146  (arg1)->SetSpringDamping(arg2,arg3);
39147 
39148  return SWIG_arg;
39149 
39150  if(0) SWIG_fail;
39151 
39152 fail:
39153  lua_error(L);
39154  return SWIG_arg;
39155 }
39156 
39157 
39158 static int _wrap_Generic6DofSpringConstraint_SetSpringEnabled(lua_State* L) {
39159  int SWIG_arg = 0;
39161  int arg2 ;
39162  Mezzanine::Boole arg3 ;
39163 
39164  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringEnabled",3,3)
39165  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringEnabled",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
39166  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringEnabled",2,"int");
39167  if(!lua_isboolean(L,3)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::SetSpringEnabled",3,"Mezzanine::Boole");
39168 
39169  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39170  SWIG_fail_ptr("Generic6DofSpringConstraint_SetSpringEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39171  }
39172 
39173  arg2 = (int)lua_tonumber(L, 2);
39174  arg3 = (lua_toboolean(L, 3)!=0);
39175  (arg1)->SetSpringEnabled(arg2,arg3);
39176 
39177  return SWIG_arg;
39178 
39179  if(0) SWIG_fail;
39180 
39181 fail:
39182  lua_error(L);
39183  return SWIG_arg;
39184 }
39185 
39186 
39187 static int _wrap_Generic6DofSpringConstraint_GetSpringStiffness(lua_State* L) {
39188  int SWIG_arg = 0;
39190  int arg2 ;
39191  Mezzanine::Real result;
39192 
39193  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringStiffness",2,2)
39194  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringStiffness",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39195  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringStiffness",2,"int");
39196 
39197  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39198  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringStiffness",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39199  }
39200 
39201  arg2 = (int)lua_tonumber(L, 2);
39202  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringStiffness(arg2);
39203  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
39204  return SWIG_arg;
39205 
39206  if(0) SWIG_fail;
39207 
39208 fail:
39209  lua_error(L);
39210  return SWIG_arg;
39211 }
39212 
39213 
39214 static int _wrap_Generic6DofSpringConstraint_GetSpringDamping(lua_State* L) {
39215  int SWIG_arg = 0;
39217  int arg2 ;
39218  Mezzanine::Real result;
39219 
39220  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringDamping",2,2)
39221  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringDamping",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39222  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringDamping",2,"int");
39223 
39224  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39225  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringDamping",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39226  }
39227 
39228  arg2 = (int)lua_tonumber(L, 2);
39229  result = (Mezzanine::Real)((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringDamping(arg2);
39230  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
39231  return SWIG_arg;
39232 
39233  if(0) SWIG_fail;
39234 
39235 fail:
39236  lua_error(L);
39237  return SWIG_arg;
39238 }
39239 
39240 
39241 static int _wrap_Generic6DofSpringConstraint_GetSpringEnabled(lua_State* L) {
39242  int SWIG_arg = 0;
39244  int arg2 ;
39245  Mezzanine::Boole result;
39246 
39247  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringEnabled",2,2)
39248  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringEnabled",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39249  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::GetSpringEnabled",2,"int");
39250 
39251  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39252  SWIG_fail_ptr("Generic6DofSpringConstraint_GetSpringEnabled",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39253  }
39254 
39255  arg2 = (int)lua_tonumber(L, 2);
39256  result = (Mezzanine::Boole)((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->GetSpringEnabled(arg2);
39257  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
39258  return SWIG_arg;
39259 
39260  if(0) SWIG_fail;
39261 
39262 fail:
39263  lua_error(L);
39264  return SWIG_arg;
39265 }
39266 
39267 
39268 static int _wrap_Generic6DofSpringConstraint_ProtoSerialize(lua_State* L) {
39269  int SWIG_arg = 0;
39271  XML::Node *arg2 = 0 ;
39272 
39273  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::ProtoSerialize",2,2)
39274  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::ProtoSerialize",1,"Mezzanine::Physics::Generic6DofSpringConstraint const *");
39275  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::ProtoSerialize",2,"XML::Node &");
39276 
39277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39278  SWIG_fail_ptr("Generic6DofSpringConstraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39279  }
39280 
39281 
39282  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
39283  SWIG_fail_ptr("Generic6DofSpringConstraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
39284  }
39285 
39286  ((Mezzanine::Physics::Generic6DofSpringConstraint const *)arg1)->ProtoSerialize(*arg2);
39287 
39288  return SWIG_arg;
39289 
39290  if(0) SWIG_fail;
39291 
39292 fail:
39293  lua_error(L);
39294  return SWIG_arg;
39295 }
39296 
39297 
39298 static int _wrap_Generic6DofSpringConstraint_ProtoDeSerialize(lua_State* L) {
39299  int SWIG_arg = 0;
39301  XML::Node *arg2 = 0 ;
39302 
39303  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::ProtoDeSerialize",2,2)
39304  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::ProtoDeSerialize",1,"Mezzanine::Physics::Generic6DofSpringConstraint *");
39305  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Generic6DofSpringConstraint::ProtoDeSerialize",2,"XML::Node const &");
39306 
39307  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,0))){
39308  SWIG_fail_ptr("Generic6DofSpringConstraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint);
39309  }
39310 
39311 
39312  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
39313  SWIG_fail_ptr("Generic6DofSpringConstraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
39314  }
39315 
39316  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
39317 
39318  return SWIG_arg;
39319 
39320  if(0) SWIG_fail;
39321 
39322 fail:
39323  lua_error(L);
39324  return SWIG_arg;
39325 }
39326 
39327 
39328 static int _wrap_Generic6DofSpringConstraint_SerializableName(lua_State* L) {
39329  int SWIG_arg = 0;
39330  Mezzanine::String result;
39331 
39332  SWIG_check_num_args("Mezzanine::Physics::Generic6DofSpringConstraint::SerializableName",0,0)
39333  result = Mezzanine::Physics::Generic6DofSpringConstraint::SerializableName();
39334  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
39335  return SWIG_arg;
39336 
39337  if(0) SWIG_fail;
39338 
39339 fail:
39340  lua_error(L);
39341  return SWIG_arg;
39342 }
39343 
39344 
39345 static void swig_delete_Generic6DofSpringConstraint(void *obj) {
39347 delete arg1;
39348 }
39349 static swig_lua_method swig_Mezzanine_Physics_Generic6DofSpringConstraint_methods[] = {
39350  {"SetSpringLinearStiffness", _wrap_Generic6DofSpringConstraint_SetSpringLinearStiffness},
39351  {"SetSpringLinearDamping", _wrap_Generic6DofSpringConstraint_SetSpringLinearDamping},
39352  {"SetSpringLinearEnabled", _wrap_Generic6DofSpringConstraint_SetSpringLinearEnabled},
39353  {"GetSpringLinearStiffness", _wrap_Generic6DofSpringConstraint_GetSpringLinearStiffness},
39354  {"GetSpringLinearDamping", _wrap_Generic6DofSpringConstraint_GetSpringLinearDamping},
39355  {"GetSpringLinearEnabled", _wrap_Generic6DofSpringConstraint_GetSpringLinearEnabled},
39356  {"SetSpringAngularStiffness", _wrap_Generic6DofSpringConstraint_SetSpringAngularStiffness},
39357  {"SetSpringAngularDamping", _wrap_Generic6DofSpringConstraint_SetSpringAngularDamping},
39358  {"SetSpringAngularEnabled", _wrap_Generic6DofSpringConstraint_SetSpringAngularEnabled},
39359  {"GetSpringAngularStiffness", _wrap_Generic6DofSpringConstraint_GetSpringAngularStiffness},
39360  {"GetSpringAngularDamping", _wrap_Generic6DofSpringConstraint_GetSpringAngularDamping},
39361  {"GetSpringAngularEnabled", _wrap_Generic6DofSpringConstraint_GetSpringAngularEnabled},
39362  {"SetSpringStiffness", _wrap_Generic6DofSpringConstraint_SetSpringStiffness},
39363  {"SetSpringDamping", _wrap_Generic6DofSpringConstraint_SetSpringDamping},
39364  {"SetSpringEnabled", _wrap_Generic6DofSpringConstraint_SetSpringEnabled},
39365  {"GetSpringStiffness", _wrap_Generic6DofSpringConstraint_GetSpringStiffness},
39366  {"GetSpringDamping", _wrap_Generic6DofSpringConstraint_GetSpringDamping},
39367  {"GetSpringEnabled", _wrap_Generic6DofSpringConstraint_GetSpringEnabled},
39368  {"ProtoSerialize", _wrap_Generic6DofSpringConstraint_ProtoSerialize},
39369  {"ProtoDeSerialize", _wrap_Generic6DofSpringConstraint_ProtoDeSerialize},
39370  {0,0}
39371 };
39372 static swig_lua_attribute swig_Mezzanine_Physics_Generic6DofSpringConstraint_attributes[] = {
39373  {0,0,0}
39374 };
39375 static swig_lua_class *swig_Mezzanine_Physics_Generic6DofSpringConstraint_bases[] = {0,0};
39376 static const char *swig_Mezzanine_Physics_Generic6DofSpringConstraint_base_names[] = {"Mezzanine::Physics::Generic6DofConstraint *",0};
39377 static swig_lua_class _wrap_class_Mezzanine_Physics_Generic6DofSpringConstraint = { "Generic6DofSpringConstraint", &SWIGTYPE_p_Mezzanine__Physics__Generic6DofSpringConstraint,_wrap_new_Generic6DofSpringConstraint, swig_delete_Generic6DofSpringConstraint, swig_Mezzanine_Physics_Generic6DofSpringConstraint_methods, swig_Mezzanine_Physics_Generic6DofSpringConstraint_attributes, swig_Mezzanine_Physics_Generic6DofSpringConstraint_bases, swig_Mezzanine_Physics_Generic6DofSpringConstraint_base_names };
39378 
39379 static int _wrap_new_GhostProxy__SWIG_0(lua_State* L) {
39380  int SWIG_arg = 0;
39382  Mezzanine::Physics::GhostProxy *result = 0 ;
39383 
39384  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GhostProxy",1,1)
39385  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GhostProxy",1,"Mezzanine::Physics::PhysicsManager *");
39386 
39387  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
39388  SWIG_fail_ptr("new_GhostProxy",1,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
39389  }
39390 
39392  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,1); SWIG_arg++;
39393  return SWIG_arg;
39394 
39395  if(0) SWIG_fail;
39396 
39397 fail:
39398  lua_error(L);
39399  return SWIG_arg;
39400 }
39401 
39402 
39403 static int _wrap_new_GhostProxy__SWIG_1(lua_State* L) {
39404  int SWIG_arg = 0;
39407  Mezzanine::Physics::GhostProxy *result = 0 ;
39408 
39409  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GhostProxy",2,2)
39410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GhostProxy",1,"Mezzanine::Physics::CollisionShape *");
39411  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GhostProxy",2,"Mezzanine::Physics::PhysicsManager *");
39412 
39413  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
39414  SWIG_fail_ptr("new_GhostProxy",1,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
39415  }
39416 
39417 
39418  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
39419  SWIG_fail_ptr("new_GhostProxy",2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
39420  }
39421 
39423  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,1); SWIG_arg++;
39424  return SWIG_arg;
39425 
39426  if(0) SWIG_fail;
39427 
39428 fail:
39429  lua_error(L);
39430  return SWIG_arg;
39431 }
39432 
39433 
39434 static int _wrap_new_GhostProxy__SWIG_2(lua_State* L) {
39435  int SWIG_arg = 0;
39436  XML::Node *arg1 = 0 ;
39438  Mezzanine::Physics::GhostProxy *result = 0 ;
39439 
39440  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GhostProxy",2,2)
39441  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GhostProxy",1,"XML::Node const &");
39442  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GhostProxy",2,"Mezzanine::Physics::PhysicsManager *");
39443 
39444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
39445  SWIG_fail_ptr("new_GhostProxy",1,SWIGTYPE_p_XML__Node);
39446  }
39447 
39448 
39449  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
39450  SWIG_fail_ptr("new_GhostProxy",2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
39451  }
39452 
39453  result = (Mezzanine::Physics::GhostProxy *)new Mezzanine::Physics::GhostProxy((XML::Node const &)*arg1,arg2);
39454  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,1); SWIG_arg++;
39455  return SWIG_arg;
39456 
39457  if(0) SWIG_fail;
39458 
39459 fail:
39460  lua_error(L);
39461  return SWIG_arg;
39462 }
39463 
39464 
39465 static int _wrap_new_GhostProxy(lua_State* L) {
39466  int argc;
39467  int argv[3]={
39468  1,2,3
39469  };
39470 
39471  argc = lua_gettop(L);
39472  if (argc == 1) {
39473  int _v;
39474  {
39475  void *ptr;
39476  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
39477  _v = 0;
39478  } else {
39479  _v = 1;
39480  }
39481  }
39482  if (_v) {
39483  return _wrap_new_GhostProxy__SWIG_0(L);
39484  }
39485  }
39486  if (argc == 2) {
39487  int _v;
39488  {
39489  void *ptr;
39490  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
39491  _v = 0;
39492  } else {
39493  _v = 1;
39494  }
39495  }
39496  if (_v) {
39497  {
39498  void *ptr;
39499  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
39500  _v = 0;
39501  } else {
39502  _v = 1;
39503  }
39504  }
39505  if (_v) {
39506  return _wrap_new_GhostProxy__SWIG_1(L);
39507  }
39508  }
39509  }
39510  if (argc == 2) {
39511  int _v;
39512  {
39513  void *ptr;
39514  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
39515  _v = 0;
39516  } else {
39517  _v = 1;
39518  }
39519  }
39520  if (_v) {
39521  {
39522  void *ptr;
39523  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
39524  _v = 0;
39525  } else {
39526  _v = 1;
39527  }
39528  }
39529  if (_v) {
39530  return _wrap_new_GhostProxy__SWIG_2(L);
39531  }
39532  }
39533  }
39534 
39535  lua_pushstring(L,"Wrong arguments for overloaded function 'new_GhostProxy'\n"
39536  " Possible C/C++ prototypes are:\n"
39537  " Mezzanine::Physics::GhostProxy::GhostProxy(Mezzanine::Physics::PhysicsManager *)\n"
39538  " Mezzanine::Physics::GhostProxy::GhostProxy(Mezzanine::Physics::CollisionShape *,Mezzanine::Physics::PhysicsManager *)\n"
39539  " Mezzanine::Physics::GhostProxy::GhostProxy(XML::Node const &,Mezzanine::Physics::PhysicsManager *)\n");
39540  lua_error(L);return 0;
39541 }
39542 
39543 
39544 static int _wrap_GhostProxy_GetProxyType(lua_State* L) {
39545  int SWIG_arg = 0;
39547  Mezzanine::ProxyType result;
39548 
39549  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetProxyType",1,1)
39550  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetProxyType",1,"Mezzanine::Physics::GhostProxy const *");
39551 
39552  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39553  SWIG_fail_ptr("GhostProxy_GetProxyType",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39554  }
39555 
39556  result = (Mezzanine::ProxyType)((Mezzanine::Physics::GhostProxy const *)arg1)->GetProxyType();
39557  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
39558  return SWIG_arg;
39559 
39560  if(0) SWIG_fail;
39561 
39562 fail:
39563  lua_error(L);
39564  return SWIG_arg;
39565 }
39566 
39567 
39568 static int _wrap_GhostProxy_AddToWorld(lua_State* L) {
39569  int SWIG_arg = 0;
39571 
39572  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::AddToWorld",1,1)
39573  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::AddToWorld",1,"Mezzanine::Physics::GhostProxy *");
39574 
39575  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39576  SWIG_fail_ptr("GhostProxy_AddToWorld",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39577  }
39578 
39579  (arg1)->AddToWorld();
39580 
39581  return SWIG_arg;
39582 
39583  if(0) SWIG_fail;
39584 
39585 fail:
39586  lua_error(L);
39587  return SWIG_arg;
39588 }
39589 
39590 
39591 static int _wrap_GhostProxy_RemoveFromWorld(lua_State* L) {
39592  int SWIG_arg = 0;
39594 
39595  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::RemoveFromWorld",1,1)
39596  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::RemoveFromWorld",1,"Mezzanine::Physics::GhostProxy *");
39597 
39598  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39599  SWIG_fail_ptr("GhostProxy_RemoveFromWorld",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39600  }
39601 
39602  (arg1)->RemoveFromWorld();
39603 
39604  return SWIG_arg;
39605 
39606  if(0) SWIG_fail;
39607 
39608 fail:
39609  lua_error(L);
39610  return SWIG_arg;
39611 }
39612 
39613 
39614 static int _wrap_GhostProxy_GetAABBOverlappingProxy(lua_State* L) {
39615  int SWIG_arg = 0;
39617  Mezzanine::UInt32 arg2 ;
39619 
39620  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetAABBOverlappingProxy",2,2)
39621  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetAABBOverlappingProxy",1,"Mezzanine::Physics::GhostProxy *");
39622  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetAABBOverlappingProxy",2,"Mezzanine::UInt32 const");
39623 
39624  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39625  SWIG_fail_ptr("GhostProxy_GetAABBOverlappingProxy",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39626  }
39627 
39628  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
39629  arg2 = (Mezzanine::UInt32 const)lua_tonumber(L, 2);
39630  result = (Mezzanine::Physics::CollidableProxy *)(arg1)->GetAABBOverlappingProxy(arg2);
39631  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
39632  return SWIG_arg;
39633 
39634  if(0) SWIG_fail;
39635 
39636 fail:
39637  lua_error(L);
39638  return SWIG_arg;
39639 }
39640 
39641 
39642 static int _wrap_GhostProxy_GetNumAABBOverlappingProxies(lua_State* L) {
39643  int SWIG_arg = 0;
39645  Mezzanine::UInt32 result;
39646 
39647  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetNumAABBOverlappingProxies",1,1)
39648  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetNumAABBOverlappingProxies",1,"Mezzanine::Physics::GhostProxy const *");
39649 
39650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39651  SWIG_fail_ptr("GhostProxy_GetNumAABBOverlappingProxies",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39652  }
39653 
39654  result = (Mezzanine::UInt32)((Mezzanine::Physics::GhostProxy const *)arg1)->GetNumAABBOverlappingProxies();
39655  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
39656  return SWIG_arg;
39657 
39658  if(0) SWIG_fail;
39659 
39660 fail:
39661  lua_error(L);
39662  return SWIG_arg;
39663 }
39664 
39665 
39666 static int _wrap_GhostProxy_GetShapeOverlappingProxy(lua_State* L) {
39667  int SWIG_arg = 0;
39669  Mezzanine::UInt32 arg2 ;
39671 
39672  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetShapeOverlappingProxy",2,2)
39673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetShapeOverlappingProxy",1,"Mezzanine::Physics::GhostProxy *");
39674  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetShapeOverlappingProxy",2,"Mezzanine::UInt32 const");
39675 
39676  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39677  SWIG_fail_ptr("GhostProxy_GetShapeOverlappingProxy",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39678  }
39679 
39680  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
39681  arg2 = (Mezzanine::UInt32 const)lua_tonumber(L, 2);
39682  result = (Mezzanine::Physics::CollidableProxy *)(arg1)->GetShapeOverlappingProxy(arg2);
39683  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__CollidableProxy,0); SWIG_arg++;
39684  return SWIG_arg;
39685 
39686  if(0) SWIG_fail;
39687 
39688 fail:
39689  lua_error(L);
39690  return SWIG_arg;
39691 }
39692 
39693 
39694 static int _wrap_GhostProxy_GetNumShapeOverlappingProxies(lua_State* L) {
39695  int SWIG_arg = 0;
39697  Mezzanine::UInt32 result;
39698 
39699  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetNumShapeOverlappingProxies",1,1)
39700  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetNumShapeOverlappingProxies",1,"Mezzanine::Physics::GhostProxy const *");
39701 
39702  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39703  SWIG_fail_ptr("GhostProxy_GetNumShapeOverlappingProxies",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39704  }
39705 
39706  result = (Mezzanine::UInt32)((Mezzanine::Physics::GhostProxy const *)arg1)->GetNumShapeOverlappingProxies();
39707  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
39708  return SWIG_arg;
39709 
39710  if(0) SWIG_fail;
39711 
39712 fail:
39713  lua_error(L);
39714  return SWIG_arg;
39715 }
39716 
39717 
39718 static int _wrap_GhostProxy_ProtoSerializeProperties(lua_State* L) {
39719  int SWIG_arg = 0;
39721  XML::Node *arg2 = 0 ;
39722 
39723  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::ProtoSerializeProperties",2,2)
39724  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::ProtoSerializeProperties",1,"Mezzanine::Physics::GhostProxy const *");
39725  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::ProtoSerializeProperties",2,"XML::Node &");
39726 
39727  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39728  SWIG_fail_ptr("GhostProxy_ProtoSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39729  }
39730 
39731 
39732  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
39733  SWIG_fail_ptr("GhostProxy_ProtoSerializeProperties",2,SWIGTYPE_p_XML__Node);
39734  }
39735 
39736  ((Mezzanine::Physics::GhostProxy const *)arg1)->ProtoSerializeProperties(*arg2);
39737 
39738  return SWIG_arg;
39739 
39740  if(0) SWIG_fail;
39741 
39742 fail:
39743  lua_error(L);
39744  return SWIG_arg;
39745 }
39746 
39747 
39748 static int _wrap_GhostProxy_ProtoDeSerializeProperties(lua_State* L) {
39749  int SWIG_arg = 0;
39751  XML::Node *arg2 = 0 ;
39752 
39753  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::ProtoDeSerializeProperties",2,2)
39754  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::ProtoDeSerializeProperties",1,"Mezzanine::Physics::GhostProxy *");
39755  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::ProtoDeSerializeProperties",2,"XML::Node const &");
39756 
39757  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39758  SWIG_fail_ptr("GhostProxy_ProtoDeSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39759  }
39760 
39761 
39762  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
39763  SWIG_fail_ptr("GhostProxy_ProtoDeSerializeProperties",2,SWIGTYPE_p_XML__Node);
39764  }
39765 
39766  (arg1)->ProtoDeSerializeProperties((XML::Node const &)*arg2);
39767 
39768  return SWIG_arg;
39769 
39770  if(0) SWIG_fail;
39771 
39772 fail:
39773  lua_error(L);
39774  return SWIG_arg;
39775 }
39776 
39777 
39778 static int _wrap_GhostProxy_GetDerivedSerializableName(lua_State* L) {
39779  int SWIG_arg = 0;
39781  Mezzanine::String result;
39782 
39783  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetDerivedSerializableName",1,1)
39784  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::GetDerivedSerializableName",1,"Mezzanine::Physics::GhostProxy const *");
39785 
39786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39787  SWIG_fail_ptr("GhostProxy_GetDerivedSerializableName",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39788  }
39789 
39790  result = ((Mezzanine::Physics::GhostProxy const *)arg1)->GetDerivedSerializableName();
39791  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
39792  return SWIG_arg;
39793 
39794  if(0) SWIG_fail;
39795 
39796 fail:
39797  lua_error(L);
39798  return SWIG_arg;
39799 }
39800 
39801 
39802 static int _wrap_GhostProxy_GetSerializableName(lua_State* L) {
39803  int SWIG_arg = 0;
39804  Mezzanine::String result;
39805 
39806  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::GetSerializableName",0,0)
39807  result = Mezzanine::Physics::GhostProxy::GetSerializableName();
39808  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
39809  return SWIG_arg;
39810 
39811  if(0) SWIG_fail;
39812 
39813 fail:
39814  lua_error(L);
39815  return SWIG_arg;
39816 }
39817 
39818 
39819 static int _wrap_GhostProxy__GetPhysicsObject(lua_State* L) {
39820  int SWIG_arg = 0;
39822  btPairCachingGhostObject *result = 0 ;
39823 
39824  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::_GetPhysicsObject",1,1)
39825  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::_GetPhysicsObject",1,"Mezzanine::Physics::GhostProxy const *");
39826 
39827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39828  SWIG_fail_ptr("GhostProxy__GetPhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39829  }
39830 
39831  result = (btPairCachingGhostObject *)((Mezzanine::Physics::GhostProxy const *)arg1)->_GetPhysicsObject();
39832  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btPairCachingGhostObject,0); SWIG_arg++;
39833  return SWIG_arg;
39834 
39835  if(0) SWIG_fail;
39836 
39837 fail:
39838  lua_error(L);
39839  return SWIG_arg;
39840 }
39841 
39842 
39843 static int _wrap_GhostProxy__GetBasePhysicsObject(lua_State* L) {
39844  int SWIG_arg = 0;
39846  btCollisionObject *result = 0 ;
39847 
39848  SWIG_check_num_args("Mezzanine::Physics::GhostProxy::_GetBasePhysicsObject",1,1)
39849  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::GhostProxy::_GetBasePhysicsObject",1,"Mezzanine::Physics::GhostProxy const *");
39850 
39851  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy,0))){
39852  SWIG_fail_ptr("GhostProxy__GetBasePhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__GhostProxy);
39853  }
39854 
39855  result = (btCollisionObject *)((Mezzanine::Physics::GhostProxy const *)arg1)->_GetBasePhysicsObject();
39856  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCollisionObject,0); SWIG_arg++;
39857  return SWIG_arg;
39858 
39859  if(0) SWIG_fail;
39860 
39861 fail:
39862  lua_error(L);
39863  return SWIG_arg;
39864 }
39865 
39866 
39867 static void swig_delete_GhostProxy(void *obj) {
39869 delete arg1;
39870 }
39871 static swig_lua_method swig_Mezzanine_Physics_GhostProxy_methods[] = {
39872  {"GetProxyType", _wrap_GhostProxy_GetProxyType},
39873  {"AddToWorld", _wrap_GhostProxy_AddToWorld},
39874  {"RemoveFromWorld", _wrap_GhostProxy_RemoveFromWorld},
39875  {"GetAABBOverlappingProxy", _wrap_GhostProxy_GetAABBOverlappingProxy},
39876  {"GetNumAABBOverlappingProxies", _wrap_GhostProxy_GetNumAABBOverlappingProxies},
39877  {"GetShapeOverlappingProxy", _wrap_GhostProxy_GetShapeOverlappingProxy},
39878  {"GetNumShapeOverlappingProxies", _wrap_GhostProxy_GetNumShapeOverlappingProxies},
39879  {"ProtoSerializeProperties", _wrap_GhostProxy_ProtoSerializeProperties},
39880  {"ProtoDeSerializeProperties", _wrap_GhostProxy_ProtoDeSerializeProperties},
39881  {"GetDerivedSerializableName", _wrap_GhostProxy_GetDerivedSerializableName},
39882  {"_GetPhysicsObject", _wrap_GhostProxy__GetPhysicsObject},
39883  {"_GetBasePhysicsObject", _wrap_GhostProxy__GetBasePhysicsObject},
39884  {0,0}
39885 };
39886 static swig_lua_attribute swig_Mezzanine_Physics_GhostProxy_attributes[] = {
39887  {0,0,0}
39888 };
39889 static swig_lua_class *swig_Mezzanine_Physics_GhostProxy_bases[] = {0,0};
39890 static const char *swig_Mezzanine_Physics_GhostProxy_base_names[] = {"Mezzanine::Physics::CollidableProxy *",0};
39891 static swig_lua_class _wrap_class_Mezzanine_Physics_GhostProxy = { "GhostProxy", &SWIGTYPE_p_Mezzanine__Physics__GhostProxy,_wrap_new_GhostProxy, swig_delete_GhostProxy, swig_Mezzanine_Physics_GhostProxy_methods, swig_Mezzanine_Physics_GhostProxy_attributes, swig_Mezzanine_Physics_GhostProxy_bases, swig_Mezzanine_Physics_GhostProxy_base_names };
39892 
39893 static int _wrap_new_HeightfieldCollisionShape__SWIG_0(lua_State* L) {
39894  int SWIG_arg = 0;
39895  Mezzanine::String *arg1 = 0 ;
39896  Mezzanine::String temp1 ;
39898 
39899  SWIG_check_num_args("Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape",1,1)
39900  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape",1,"Mezzanine::String const &");
39901  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
39902  result = (Mezzanine::Physics::HeightfieldCollisionShape *)new Mezzanine::Physics::HeightfieldCollisionShape((Mezzanine::String const &)*arg1);
39903  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HeightfieldCollisionShape,1); SWIG_arg++;
39904  return SWIG_arg;
39905 
39906  if(0) SWIG_fail;
39907 
39908 fail:
39909  lua_error(L);
39910  return SWIG_arg;
39911 }
39912 
39913 
39914 static int _wrap_new_HeightfieldCollisionShape__SWIG_1(lua_State* L) {
39915  int SWIG_arg = 0;
39916  Mezzanine::String *arg1 = 0 ;
39917  btHeightfieldTerrainShape *arg2 = (btHeightfieldTerrainShape *) 0 ;
39918  Mezzanine::String temp1 ;
39920 
39921  SWIG_check_num_args("Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape",2,2)
39922  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape",1,"Mezzanine::String const &");
39923  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape",2,"btHeightfieldTerrainShape *");
39924  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
39925 
39926  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btHeightfieldTerrainShape,0))){
39927  SWIG_fail_ptr("new_HeightfieldCollisionShape",2,SWIGTYPE_p_btHeightfieldTerrainShape);
39928  }
39929 
39931  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HeightfieldCollisionShape,1); SWIG_arg++;
39932  return SWIG_arg;
39933 
39934  if(0) SWIG_fail;
39935 
39936 fail:
39937  lua_error(L);
39938  return SWIG_arg;
39939 }
39940 
39941 
39942 static int _wrap_new_HeightfieldCollisionShape(lua_State* L) {
39943  int argc;
39944  int argv[3]={
39945  1,2,3
39946  };
39947 
39948  argc = lua_gettop(L);
39949  if (argc == 1) {
39950  int _v;
39951  {
39952  _v = lua_isstring(L,argv[0]);
39953  }
39954  if (_v) {
39955  return _wrap_new_HeightfieldCollisionShape__SWIG_0(L);
39956  }
39957  }
39958  if (argc == 2) {
39959  int _v;
39960  {
39961  _v = lua_isstring(L,argv[0]);
39962  }
39963  if (_v) {
39964  {
39965  void *ptr;
39966  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btHeightfieldTerrainShape, 0)) {
39967  _v = 0;
39968  } else {
39969  _v = 1;
39970  }
39971  }
39972  if (_v) {
39973  return _wrap_new_HeightfieldCollisionShape__SWIG_1(L);
39974  }
39975  }
39976  }
39977 
39978  lua_pushstring(L,"Wrong arguments for overloaded function 'new_HeightfieldCollisionShape'\n"
39979  " Possible C/C++ prototypes are:\n"
39980  " Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape(Mezzanine::String const &)\n"
39981  " Mezzanine::Physics::HeightfieldCollisionShape::HeightfieldCollisionShape(Mezzanine::String const &,btHeightfieldTerrainShape *)\n");
39982  lua_error(L);return 0;
39983 }
39984 
39985 
39986 static int _wrap_HeightfieldCollisionShape_GetType(lua_State* L) {
39987  int SWIG_arg = 0;
39990 
39991  SWIG_check_num_args("Mezzanine::Physics::HeightfieldCollisionShape::GetType",1,1)
39992  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HeightfieldCollisionShape::GetType",1,"Mezzanine::Physics::HeightfieldCollisionShape const *");
39993 
39994  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HeightfieldCollisionShape,0))){
39995  SWIG_fail_ptr("HeightfieldCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__HeightfieldCollisionShape);
39996  }
39997 
39999  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
40000  return SWIG_arg;
40001 
40002  if(0) SWIG_fail;
40003 
40004 fail:
40005  lua_error(L);
40006  return SWIG_arg;
40007 }
40008 
40009 
40010 static void swig_delete_HeightfieldCollisionShape(void *obj) {
40012 delete arg1;
40013 }
40014 static swig_lua_method swig_Mezzanine_Physics_HeightfieldCollisionShape_methods[] = {
40015  {"GetType", _wrap_HeightfieldCollisionShape_GetType},
40016  {0,0}
40017 };
40018 static swig_lua_attribute swig_Mezzanine_Physics_HeightfieldCollisionShape_attributes[] = {
40019  {0,0,0}
40020 };
40021 static swig_lua_class *swig_Mezzanine_Physics_HeightfieldCollisionShape_bases[] = {0,0};
40022 static const char *swig_Mezzanine_Physics_HeightfieldCollisionShape_base_names[] = {"Mezzanine::Physics::FieldCollisionShape *",0};
40023 static swig_lua_class _wrap_class_Mezzanine_Physics_HeightfieldCollisionShape = { "HeightfieldCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__HeightfieldCollisionShape,_wrap_new_HeightfieldCollisionShape, swig_delete_HeightfieldCollisionShape, swig_Mezzanine_Physics_HeightfieldCollisionShape_methods, swig_Mezzanine_Physics_HeightfieldCollisionShape_attributes, swig_Mezzanine_Physics_HeightfieldCollisionShape_bases, swig_Mezzanine_Physics_HeightfieldCollisionShape_base_names };
40024 
40025 static int _wrap_new_HingeConstraint__SWIG_0(lua_State* L) {
40026  int SWIG_arg = 0;
40029  Mezzanine::Physics::Vector3 *arg3 = 0 ;
40030  Mezzanine::Physics::Vector3 *arg4 = 0 ;
40031  Mezzanine::Physics::Vector3 *arg5 = 0 ;
40032  Mezzanine::Physics::Vector3 *arg6 = 0 ;
40033  Mezzanine::Boole arg7 ;
40035 
40036  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",7,7)
40037  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40038  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::RigidProxy *");
40039  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Physics::Vector3 const &");
40040  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Physics::Vector3 const &");
40041  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",5,"Mezzanine::Physics::Vector3 const &");
40042  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",6,"Mezzanine::Physics::Vector3 const &");
40043  if(!lua_isboolean(L,7)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",7,"Mezzanine::Boole");
40044 
40045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40046  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40047  }
40048 
40049 
40050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40051  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40052  }
40053 
40054 
40055  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
40056  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
40057  }
40058 
40059 
40060  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
40061  SWIG_fail_ptr("new_HingeConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
40062  }
40063 
40064 
40065  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Vector3,0))){
40066  SWIG_fail_ptr("new_HingeConstraint",5,SWIGTYPE_p_Mezzanine__Vector3);
40067  }
40068 
40069 
40070  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Vector3,0))){
40071  SWIG_fail_ptr("new_HingeConstraint",6,SWIGTYPE_p_Mezzanine__Vector3);
40072  }
40073 
40074  arg7 = (lua_toboolean(L, 7)!=0);
40076  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40077  return SWIG_arg;
40078 
40079  if(0) SWIG_fail;
40080 
40081 fail:
40082  lua_error(L);
40083  return SWIG_arg;
40084 }
40085 
40086 
40087 static int _wrap_new_HingeConstraint__SWIG_1(lua_State* L) {
40088  int SWIG_arg = 0;
40091  Mezzanine::Physics::Vector3 *arg3 = 0 ;
40092  Mezzanine::Physics::Vector3 *arg4 = 0 ;
40093  Mezzanine::Physics::Vector3 *arg5 = 0 ;
40094  Mezzanine::Physics::Vector3 *arg6 = 0 ;
40096 
40097  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",6,6)
40098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40099  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::RigidProxy *");
40100  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Physics::Vector3 const &");
40101  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Physics::Vector3 const &");
40102  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",5,"Mezzanine::Physics::Vector3 const &");
40103  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",6,"Mezzanine::Physics::Vector3 const &");
40104 
40105  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40106  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40107  }
40108 
40109 
40110  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40111  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40112  }
40113 
40114 
40115  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
40116  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
40117  }
40118 
40119 
40120  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
40121  SWIG_fail_ptr("new_HingeConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
40122  }
40123 
40124 
40125  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Vector3,0))){
40126  SWIG_fail_ptr("new_HingeConstraint",5,SWIGTYPE_p_Mezzanine__Vector3);
40127  }
40128 
40129 
40130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Vector3,0))){
40131  SWIG_fail_ptr("new_HingeConstraint",6,SWIGTYPE_p_Mezzanine__Vector3);
40132  }
40133 
40135  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40136  return SWIG_arg;
40137 
40138  if(0) SWIG_fail;
40139 
40140 fail:
40141  lua_error(L);
40142  return SWIG_arg;
40143 }
40144 
40145 
40146 static int _wrap_new_HingeConstraint__SWIG_2(lua_State* L) {
40147  int SWIG_arg = 0;
40149  Mezzanine::Physics::Vector3 *arg2 = 0 ;
40150  Mezzanine::Physics::Vector3 *arg3 = 0 ;
40151  Mezzanine::Boole arg4 ;
40153 
40154  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,4)
40155  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40156  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::Vector3 const &");
40157  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Physics::Vector3 const &");
40158  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Boole");
40159 
40160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40161  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40162  }
40163 
40164 
40165  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
40166  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Vector3);
40167  }
40168 
40169 
40170  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
40171  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
40172  }
40173 
40174  arg4 = (lua_toboolean(L, 4)!=0);
40176  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40177  return SWIG_arg;
40178 
40179  if(0) SWIG_fail;
40180 
40181 fail:
40182  lua_error(L);
40183  return SWIG_arg;
40184 }
40185 
40186 
40187 static int _wrap_new_HingeConstraint__SWIG_3(lua_State* L) {
40188  int SWIG_arg = 0;
40190  Mezzanine::Physics::Vector3 *arg2 = 0 ;
40191  Mezzanine::Physics::Vector3 *arg3 = 0 ;
40193 
40194  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,3)
40195  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40196  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::Vector3 const &");
40197  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Physics::Vector3 const &");
40198 
40199  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40200  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40201  }
40202 
40203 
40204  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
40205  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Vector3);
40206  }
40207 
40208 
40209  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
40210  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
40211  }
40212 
40214  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40215  return SWIG_arg;
40216 
40217  if(0) SWIG_fail;
40218 
40219 fail:
40220  lua_error(L);
40221  return SWIG_arg;
40222 }
40223 
40224 
40225 static int _wrap_new_HingeConstraint__SWIG_4(lua_State* L) {
40226  int SWIG_arg = 0;
40229  Mezzanine::Physics::Vector3 *arg3 = 0 ;
40230  Mezzanine::Physics::Vector3 *arg4 = 0 ;
40231  Mezzanine::Quaternion *arg5 = 0 ;
40232  Mezzanine::Quaternion *arg6 = 0 ;
40233  Mezzanine::Boole arg7 ;
40235 
40236  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",7,7)
40237  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40238  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::RigidProxy *");
40239  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Physics::Vector3 const &");
40240  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Physics::Vector3 const &");
40241  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",5,"Mezzanine::Quaternion const &");
40242  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",6,"Mezzanine::Quaternion const &");
40243  if(!lua_isboolean(L,7)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",7,"Mezzanine::Boole");
40244 
40245  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40246  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40247  }
40248 
40249 
40250  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40251  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40252  }
40253 
40254 
40255  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
40256  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
40257  }
40258 
40259 
40260  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
40261  SWIG_fail_ptr("new_HingeConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
40262  }
40263 
40264 
40265  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
40266  SWIG_fail_ptr("new_HingeConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
40267  }
40268 
40269 
40270  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
40271  SWIG_fail_ptr("new_HingeConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
40272  }
40273 
40274  arg7 = (lua_toboolean(L, 7)!=0);
40276  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40277  return SWIG_arg;
40278 
40279  if(0) SWIG_fail;
40280 
40281 fail:
40282  lua_error(L);
40283  return SWIG_arg;
40284 }
40285 
40286 
40287 static int _wrap_new_HingeConstraint__SWIG_5(lua_State* L) {
40288  int SWIG_arg = 0;
40291  Mezzanine::Physics::Vector3 *arg3 = 0 ;
40292  Mezzanine::Physics::Vector3 *arg4 = 0 ;
40293  Mezzanine::Quaternion *arg5 = 0 ;
40294  Mezzanine::Quaternion *arg6 = 0 ;
40296 
40297  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",6,6)
40298  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40299  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::RigidProxy *");
40300  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Physics::Vector3 const &");
40301  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Physics::Vector3 const &");
40302  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",5,"Mezzanine::Quaternion const &");
40303  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",6,"Mezzanine::Quaternion const &");
40304 
40305  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40306  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40307  }
40308 
40309 
40310  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40311  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40312  }
40313 
40314 
40315  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
40316  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
40317  }
40318 
40319 
40320  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
40321  SWIG_fail_ptr("new_HingeConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
40322  }
40323 
40324 
40325  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
40326  SWIG_fail_ptr("new_HingeConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
40327  }
40328 
40329 
40330  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
40331  SWIG_fail_ptr("new_HingeConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
40332  }
40333 
40335  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40336  return SWIG_arg;
40337 
40338  if(0) SWIG_fail;
40339 
40340 fail:
40341  lua_error(L);
40342  return SWIG_arg;
40343 }
40344 
40345 
40346 static int _wrap_new_HingeConstraint__SWIG_6(lua_State* L) {
40347  int SWIG_arg = 0;
40350  Mezzanine::Transform *arg3 = 0 ;
40351  Mezzanine::Transform *arg4 = 0 ;
40352  Mezzanine::Boole arg5 ;
40354 
40355  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",5,5)
40356  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40357  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::RigidProxy *");
40358  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Transform const &");
40359  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Transform const &");
40360  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",5,"Mezzanine::Boole");
40361 
40362  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40363  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40364  }
40365 
40366 
40367  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40368  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40369  }
40370 
40371 
40372  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
40373  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
40374  }
40375 
40376 
40377  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
40378  SWIG_fail_ptr("new_HingeConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
40379  }
40380 
40381  arg5 = (lua_toboolean(L, 5)!=0);
40382  result = (Mezzanine::Physics::HingeConstraint *)new Mezzanine::Physics::HingeConstraint(arg1,arg2,(Mezzanine::Transform const &)*arg3,(Mezzanine::Transform const &)*arg4,arg5);
40383  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40384  return SWIG_arg;
40385 
40386  if(0) SWIG_fail;
40387 
40388 fail:
40389  lua_error(L);
40390  return SWIG_arg;
40391 }
40392 
40393 
40394 static int _wrap_new_HingeConstraint__SWIG_7(lua_State* L) {
40395  int SWIG_arg = 0;
40398  Mezzanine::Transform *arg3 = 0 ;
40399  Mezzanine::Transform *arg4 = 0 ;
40401 
40402  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,4)
40403  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",1,"Mezzanine::Physics::RigidProxy *");
40404  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",2,"Mezzanine::Physics::RigidProxy *");
40405  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",3,"Mezzanine::Transform const &");
40406  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HingeConstraint",4,"Mezzanine::Transform const &");
40407 
40408  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40409  SWIG_fail_ptr("new_HingeConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40410  }
40411 
40412 
40413  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
40414  SWIG_fail_ptr("new_HingeConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
40415  }
40416 
40417 
40418  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
40419  SWIG_fail_ptr("new_HingeConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
40420  }
40421 
40422 
40423  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
40424  SWIG_fail_ptr("new_HingeConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
40425  }
40426 
40428  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,1); SWIG_arg++;
40429  return SWIG_arg;
40430 
40431  if(0) SWIG_fail;
40432 
40433 fail:
40434  lua_error(L);
40435  return SWIG_arg;
40436 }
40437 
40438 
40439 static int _wrap_new_HingeConstraint(lua_State* L) {
40440  int argc;
40441  int argv[8]={
40442  1,2,3,4,5,6,7,8
40443  };
40444 
40445  argc = lua_gettop(L);
40446  if (argc == 3) {
40447  int _v;
40448  {
40449  void *ptr;
40450  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40451  _v = 0;
40452  } else {
40453  _v = 1;
40454  }
40455  }
40456  if (_v) {
40457  {
40458  void *ptr;
40459  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40460  _v = 0;
40461  } else {
40462  _v = 1;
40463  }
40464  }
40465  if (_v) {
40466  {
40467  void *ptr;
40468  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40469  _v = 0;
40470  } else {
40471  _v = 1;
40472  }
40473  }
40474  if (_v) {
40475  return _wrap_new_HingeConstraint__SWIG_3(L);
40476  }
40477  }
40478  }
40479  }
40480  if (argc == 4) {
40481  int _v;
40482  {
40483  void *ptr;
40484  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40485  _v = 0;
40486  } else {
40487  _v = 1;
40488  }
40489  }
40490  if (_v) {
40491  {
40492  void *ptr;
40493  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40494  _v = 0;
40495  } else {
40496  _v = 1;
40497  }
40498  }
40499  if (_v) {
40500  {
40501  void *ptr;
40502  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40503  _v = 0;
40504  } else {
40505  _v = 1;
40506  }
40507  }
40508  if (_v) {
40509  {
40510  _v = lua_isboolean(L,argv[3]);
40511  }
40512  if (_v) {
40513  return _wrap_new_HingeConstraint__SWIG_2(L);
40514  }
40515  }
40516  }
40517  }
40518  }
40519  if (argc == 4) {
40520  int _v;
40521  {
40522  void *ptr;
40523  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40524  _v = 0;
40525  } else {
40526  _v = 1;
40527  }
40528  }
40529  if (_v) {
40530  {
40531  void *ptr;
40532  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40533  _v = 0;
40534  } else {
40535  _v = 1;
40536  }
40537  }
40538  if (_v) {
40539  {
40540  void *ptr;
40541  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
40542  _v = 0;
40543  } else {
40544  _v = 1;
40545  }
40546  }
40547  if (_v) {
40548  {
40549  void *ptr;
40550  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
40551  _v = 0;
40552  } else {
40553  _v = 1;
40554  }
40555  }
40556  if (_v) {
40557  return _wrap_new_HingeConstraint__SWIG_7(L);
40558  }
40559  }
40560  }
40561  }
40562  }
40563  if (argc == 5) {
40564  int _v;
40565  {
40566  void *ptr;
40567  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40568  _v = 0;
40569  } else {
40570  _v = 1;
40571  }
40572  }
40573  if (_v) {
40574  {
40575  void *ptr;
40576  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40577  _v = 0;
40578  } else {
40579  _v = 1;
40580  }
40581  }
40582  if (_v) {
40583  {
40584  void *ptr;
40585  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
40586  _v = 0;
40587  } else {
40588  _v = 1;
40589  }
40590  }
40591  if (_v) {
40592  {
40593  void *ptr;
40594  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
40595  _v = 0;
40596  } else {
40597  _v = 1;
40598  }
40599  }
40600  if (_v) {
40601  {
40602  _v = lua_isboolean(L,argv[4]);
40603  }
40604  if (_v) {
40605  return _wrap_new_HingeConstraint__SWIG_6(L);
40606  }
40607  }
40608  }
40609  }
40610  }
40611  }
40612  if (argc == 6) {
40613  int _v;
40614  {
40615  void *ptr;
40616  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40617  _v = 0;
40618  } else {
40619  _v = 1;
40620  }
40621  }
40622  if (_v) {
40623  {
40624  void *ptr;
40625  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40626  _v = 0;
40627  } else {
40628  _v = 1;
40629  }
40630  }
40631  if (_v) {
40632  {
40633  void *ptr;
40634  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40635  _v = 0;
40636  } else {
40637  _v = 1;
40638  }
40639  }
40640  if (_v) {
40641  {
40642  void *ptr;
40643  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40644  _v = 0;
40645  } else {
40646  _v = 1;
40647  }
40648  }
40649  if (_v) {
40650  {
40651  void *ptr;
40652  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40653  _v = 0;
40654  } else {
40655  _v = 1;
40656  }
40657  }
40658  if (_v) {
40659  {
40660  void *ptr;
40661  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40662  _v = 0;
40663  } else {
40664  _v = 1;
40665  }
40666  }
40667  if (_v) {
40668  return _wrap_new_HingeConstraint__SWIG_1(L);
40669  }
40670  }
40671  }
40672  }
40673  }
40674  }
40675  }
40676  if (argc == 6) {
40677  int _v;
40678  {
40679  void *ptr;
40680  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40681  _v = 0;
40682  } else {
40683  _v = 1;
40684  }
40685  }
40686  if (_v) {
40687  {
40688  void *ptr;
40689  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40690  _v = 0;
40691  } else {
40692  _v = 1;
40693  }
40694  }
40695  if (_v) {
40696  {
40697  void *ptr;
40698  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40699  _v = 0;
40700  } else {
40701  _v = 1;
40702  }
40703  }
40704  if (_v) {
40705  {
40706  void *ptr;
40707  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40708  _v = 0;
40709  } else {
40710  _v = 1;
40711  }
40712  }
40713  if (_v) {
40714  {
40715  void *ptr;
40716  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
40717  _v = 0;
40718  } else {
40719  _v = 1;
40720  }
40721  }
40722  if (_v) {
40723  {
40724  void *ptr;
40725  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
40726  _v = 0;
40727  } else {
40728  _v = 1;
40729  }
40730  }
40731  if (_v) {
40732  return _wrap_new_HingeConstraint__SWIG_5(L);
40733  }
40734  }
40735  }
40736  }
40737  }
40738  }
40739  }
40740  if (argc == 7) {
40741  int _v;
40742  {
40743  void *ptr;
40744  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40745  _v = 0;
40746  } else {
40747  _v = 1;
40748  }
40749  }
40750  if (_v) {
40751  {
40752  void *ptr;
40753  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40754  _v = 0;
40755  } else {
40756  _v = 1;
40757  }
40758  }
40759  if (_v) {
40760  {
40761  void *ptr;
40762  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40763  _v = 0;
40764  } else {
40765  _v = 1;
40766  }
40767  }
40768  if (_v) {
40769  {
40770  void *ptr;
40771  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40772  _v = 0;
40773  } else {
40774  _v = 1;
40775  }
40776  }
40777  if (_v) {
40778  {
40779  void *ptr;
40780  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
40781  _v = 0;
40782  } else {
40783  _v = 1;
40784  }
40785  }
40786  if (_v) {
40787  {
40788  void *ptr;
40789  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
40790  _v = 0;
40791  } else {
40792  _v = 1;
40793  }
40794  }
40795  if (_v) {
40796  {
40797  _v = lua_isboolean(L,argv[6]);
40798  }
40799  if (_v) {
40800  return _wrap_new_HingeConstraint__SWIG_4(L);
40801  }
40802  }
40803  }
40804  }
40805  }
40806  }
40807  }
40808  }
40809  if (argc == 7) {
40810  int _v;
40811  {
40812  void *ptr;
40813  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40814  _v = 0;
40815  } else {
40816  _v = 1;
40817  }
40818  }
40819  if (_v) {
40820  {
40821  void *ptr;
40822  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
40823  _v = 0;
40824  } else {
40825  _v = 1;
40826  }
40827  }
40828  if (_v) {
40829  {
40830  void *ptr;
40831  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40832  _v = 0;
40833  } else {
40834  _v = 1;
40835  }
40836  }
40837  if (_v) {
40838  {
40839  void *ptr;
40840  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40841  _v = 0;
40842  } else {
40843  _v = 1;
40844  }
40845  }
40846  if (_v) {
40847  {
40848  void *ptr;
40849  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40850  _v = 0;
40851  } else {
40852  _v = 1;
40853  }
40854  }
40855  if (_v) {
40856  {
40857  void *ptr;
40858  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
40859  _v = 0;
40860  } else {
40861  _v = 1;
40862  }
40863  }
40864  if (_v) {
40865  {
40866  _v = lua_isboolean(L,argv[6]);
40867  }
40868  if (_v) {
40869  return _wrap_new_HingeConstraint__SWIG_0(L);
40870  }
40871  }
40872  }
40873  }
40874  }
40875  }
40876  }
40877  }
40878 
40879  lua_pushstring(L,"Wrong arguments for overloaded function 'new_HingeConstraint'\n"
40880  " Possible C/C++ prototypes are:\n"
40881  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Boole)\n"
40882  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &)\n"
40883  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Boole)\n"
40884  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &)\n"
40885  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &,Mezzanine::Boole)\n"
40886  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &)\n"
40887  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &,Mezzanine::Boole)\n"
40888  " Mezzanine::Physics::HingeConstraint::HingeConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &)\n");
40889  lua_error(L);return 0;
40890 }
40891 
40892 
40893 static int _wrap_HingeConstraint_SetPivotALocation(lua_State* L) {
40894  int SWIG_arg = 0;
40896  Mezzanine::Physics::Vector3 *arg2 = 0 ;
40897 
40898  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetPivotALocation",2,2)
40899  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotALocation",1,"Mezzanine::Physics::HingeConstraint *");
40900  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotALocation",2,"Mezzanine::Physics::Vector3 const &");
40901 
40902  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
40903  SWIG_fail_ptr("HingeConstraint_SetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
40904  }
40905 
40906 
40907  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
40908  SWIG_fail_ptr("HingeConstraint_SetPivotALocation",2,SWIGTYPE_p_Mezzanine__Vector3);
40909  }
40910 
40911  (arg1)->SetPivotALocation((Mezzanine::Physics::Vector3 const &)*arg2);
40912 
40913  return SWIG_arg;
40914 
40915  if(0) SWIG_fail;
40916 
40917 fail:
40918  lua_error(L);
40919  return SWIG_arg;
40920 }
40921 
40922 
40923 static int _wrap_HingeConstraint_SetPivotBLocation(lua_State* L) {
40924  int SWIG_arg = 0;
40926  Mezzanine::Physics::Vector3 *arg2 = 0 ;
40927 
40928  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetPivotBLocation",2,2)
40929  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotBLocation",1,"Mezzanine::Physics::HingeConstraint *");
40930  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotBLocation",2,"Mezzanine::Physics::Vector3 const &");
40931 
40932  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
40933  SWIG_fail_ptr("HingeConstraint_SetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
40934  }
40935 
40936 
40937  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
40938  SWIG_fail_ptr("HingeConstraint_SetPivotBLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
40939  }
40940 
40941  (arg1)->SetPivotBLocation((Mezzanine::Physics::Vector3 const &)*arg2);
40942 
40943  return SWIG_arg;
40944 
40945  if(0) SWIG_fail;
40946 
40947 fail:
40948  lua_error(L);
40949  return SWIG_arg;
40950 }
40951 
40952 
40953 static int _wrap_HingeConstraint_GetPivotALocation(lua_State* L) {
40954  int SWIG_arg = 0;
40957 
40958  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetPivotALocation",1,1)
40959  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetPivotALocation",1,"Mezzanine::Physics::HingeConstraint const *");
40960 
40961  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
40962  SWIG_fail_ptr("HingeConstraint_GetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
40963  }
40964 
40965  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->GetPivotALocation();
40966  {
40968  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
40969  }
40970  return SWIG_arg;
40971 
40972  if(0) SWIG_fail;
40973 
40974 fail:
40975  lua_error(L);
40976  return SWIG_arg;
40977 }
40978 
40979 
40980 static int _wrap_HingeConstraint_GetPivotBLocation(lua_State* L) {
40981  int SWIG_arg = 0;
40984 
40985  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetPivotBLocation",1,1)
40986  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetPivotBLocation",1,"Mezzanine::Physics::HingeConstraint const *");
40987 
40988  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
40989  SWIG_fail_ptr("HingeConstraint_GetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
40990  }
40991 
40992  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->GetPivotBLocation();
40993  {
40995  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
40996  }
40997  return SWIG_arg;
40998 
40999  if(0) SWIG_fail;
41000 
41001 fail:
41002  lua_error(L);
41003  return SWIG_arg;
41004 }
41005 
41006 
41007 static int _wrap_HingeConstraint_SetAPivotRotation(lua_State* L) {
41008  int SWIG_arg = 0;
41010  Mezzanine::Quaternion *arg2 = 0 ;
41011 
41012  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetAPivotRotation",2,2)
41013  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetAPivotRotation",1,"Mezzanine::Physics::HingeConstraint *");
41014  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetAPivotRotation",2,"Mezzanine::Quaternion const &");
41015 
41016  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41017  SWIG_fail_ptr("HingeConstraint_SetAPivotRotation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41018  }
41019 
41020 
41021  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
41022  SWIG_fail_ptr("HingeConstraint_SetAPivotRotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
41023  }
41024 
41025  (arg1)->SetAPivotRotation((Mezzanine::Quaternion const &)*arg2);
41026 
41027  return SWIG_arg;
41028 
41029  if(0) SWIG_fail;
41030 
41031 fail:
41032  lua_error(L);
41033  return SWIG_arg;
41034 }
41035 
41036 
41037 static int _wrap_HingeConstraint_SetBPivotRotation(lua_State* L) {
41038  int SWIG_arg = 0;
41040  Mezzanine::Quaternion *arg2 = 0 ;
41041 
41042  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetBPivotRotation",2,2)
41043  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetBPivotRotation",1,"Mezzanine::Physics::HingeConstraint *");
41044  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetBPivotRotation",2,"Mezzanine::Quaternion const &");
41045 
41046  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41047  SWIG_fail_ptr("HingeConstraint_SetBPivotRotation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41048  }
41049 
41050 
41051  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
41052  SWIG_fail_ptr("HingeConstraint_SetBPivotRotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
41053  }
41054 
41055  (arg1)->SetBPivotRotation((Mezzanine::Quaternion const &)*arg2);
41056 
41057  return SWIG_arg;
41058 
41059  if(0) SWIG_fail;
41060 
41061 fail:
41062  lua_error(L);
41063  return SWIG_arg;
41064 }
41065 
41066 
41067 static int _wrap_HingeConstraint_GetAPivotRotation(lua_State* L) {
41068  int SWIG_arg = 0;
41070  Mezzanine::Quaternion result;
41071 
41072  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetAPivotRotation",1,1)
41073  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetAPivotRotation",1,"Mezzanine::Physics::HingeConstraint const *");
41074 
41075  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41076  SWIG_fail_ptr("HingeConstraint_GetAPivotRotation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41077  }
41078 
41079  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->GetAPivotRotation();
41080  {
41081  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
41082  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
41083  }
41084  return SWIG_arg;
41085 
41086  if(0) SWIG_fail;
41087 
41088 fail:
41089  lua_error(L);
41090  return SWIG_arg;
41091 }
41092 
41093 
41094 static int _wrap_HingeConstraint_GetBPivotRotation(lua_State* L) {
41095  int SWIG_arg = 0;
41097  Mezzanine::Quaternion result;
41098 
41099  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetBPivotRotation",1,1)
41100  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetBPivotRotation",1,"Mezzanine::Physics::HingeConstraint const *");
41101 
41102  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41103  SWIG_fail_ptr("HingeConstraint_GetBPivotRotation",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41104  }
41105 
41106  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->GetBPivotRotation();
41107  {
41108  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
41109  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
41110  }
41111  return SWIG_arg;
41112 
41113  if(0) SWIG_fail;
41114 
41115 fail:
41116  lua_error(L);
41117  return SWIG_arg;
41118 }
41119 
41120 
41121 static int _wrap_HingeConstraint_SetPivotATransform(lua_State* L) {
41122  int SWIG_arg = 0;
41124  Mezzanine::Transform *arg2 = 0 ;
41125 
41126  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetPivotATransform",2,2)
41127  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotATransform",1,"Mezzanine::Physics::HingeConstraint *");
41128  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotATransform",2,"Mezzanine::Transform const &");
41129 
41130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41131  SWIG_fail_ptr("HingeConstraint_SetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41132  }
41133 
41134 
41135  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
41136  SWIG_fail_ptr("HingeConstraint_SetPivotATransform",2,SWIGTYPE_p_Mezzanine__Transform);
41137  }
41138 
41139  (arg1)->SetPivotATransform((Mezzanine::Transform const &)*arg2);
41140 
41141  return SWIG_arg;
41142 
41143  if(0) SWIG_fail;
41144 
41145 fail:
41146  lua_error(L);
41147  return SWIG_arg;
41148 }
41149 
41150 
41151 static int _wrap_HingeConstraint_SetPivotBTransform(lua_State* L) {
41152  int SWIG_arg = 0;
41154  Mezzanine::Transform *arg2 = 0 ;
41155 
41156  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetPivotBTransform",2,2)
41157  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotBTransform",1,"Mezzanine::Physics::HingeConstraint *");
41158  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetPivotBTransform",2,"Mezzanine::Transform const &");
41159 
41160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41161  SWIG_fail_ptr("HingeConstraint_SetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41162  }
41163 
41164 
41165  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
41166  SWIG_fail_ptr("HingeConstraint_SetPivotBTransform",2,SWIGTYPE_p_Mezzanine__Transform);
41167  }
41168 
41169  (arg1)->SetPivotBTransform((Mezzanine::Transform const &)*arg2);
41170 
41171  return SWIG_arg;
41172 
41173  if(0) SWIG_fail;
41174 
41175 fail:
41176  lua_error(L);
41177  return SWIG_arg;
41178 }
41179 
41180 
41181 static int _wrap_HingeConstraint_GetPivotATransform(lua_State* L) {
41182  int SWIG_arg = 0;
41184  Mezzanine::Transform result;
41185 
41186  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetPivotATransform",1,1)
41187  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetPivotATransform",1,"Mezzanine::Physics::HingeConstraint const *");
41188 
41189  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41190  SWIG_fail_ptr("HingeConstraint_GetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41191  }
41192 
41193  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->GetPivotATransform();
41194  {
41195  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
41196  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
41197  }
41198  return SWIG_arg;
41199 
41200  if(0) SWIG_fail;
41201 
41202 fail:
41203  lua_error(L);
41204  return SWIG_arg;
41205 }
41206 
41207 
41208 static int _wrap_HingeConstraint_GetPivotBTransform(lua_State* L) {
41209  int SWIG_arg = 0;
41211  Mezzanine::Transform result;
41212 
41213  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetPivotBTransform",1,1)
41214  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetPivotBTransform",1,"Mezzanine::Physics::HingeConstraint const *");
41215 
41216  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41217  SWIG_fail_ptr("HingeConstraint_GetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41218  }
41219 
41220  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->GetPivotBTransform();
41221  {
41222  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
41223  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
41224  }
41225  return SWIG_arg;
41226 
41227  if(0) SWIG_fail;
41228 
41229 fail:
41230  lua_error(L);
41231  return SWIG_arg;
41232 }
41233 
41234 
41235 static int _wrap_HingeConstraint_EnableMotor__SWIG_0(lua_State* L) {
41236  int SWIG_arg = 0;
41238  Mezzanine::Boole arg2 ;
41239  Mezzanine::Real arg3 ;
41240  Mezzanine::Real arg4 ;
41241 
41242  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::EnableMotor",4,4)
41243  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::EnableMotor",1,"Mezzanine::Physics::HingeConstraint *");
41244  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::EnableMotor",2,"Mezzanine::Boole");
41245  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::EnableMotor",3,"Mezzanine::Real");
41246  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::EnableMotor",4,"Mezzanine::Real");
41247 
41248  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41249  SWIG_fail_ptr("HingeConstraint_EnableMotor",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41250  }
41251 
41252  arg2 = (lua_toboolean(L, 2)!=0);
41253  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41254  arg4 = (Mezzanine::Real)lua_tonumber(L, 4);
41255  (arg1)->EnableMotor(arg2,arg3,arg4);
41256 
41257  return SWIG_arg;
41258 
41259  if(0) SWIG_fail;
41260 
41261 fail:
41262  lua_error(L);
41263  return SWIG_arg;
41264 }
41265 
41266 
41267 static int _wrap_HingeConstraint_EnableMotor__SWIG_1(lua_State* L) {
41268  int SWIG_arg = 0;
41270  Mezzanine::Boole arg2 ;
41271 
41272  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::EnableMotor",2,2)
41273  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::EnableMotor",1,"Mezzanine::Physics::HingeConstraint *");
41274  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::EnableMotor",2,"Mezzanine::Boole");
41275 
41276  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41277  SWIG_fail_ptr("HingeConstraint_EnableMotor",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41278  }
41279 
41280  arg2 = (lua_toboolean(L, 2)!=0);
41281  (arg1)->EnableMotor(arg2);
41282 
41283  return SWIG_arg;
41284 
41285  if(0) SWIG_fail;
41286 
41287 fail:
41288  lua_error(L);
41289  return SWIG_arg;
41290 }
41291 
41292 
41293 static int _wrap_HingeConstraint_EnableMotor(lua_State* L) {
41294  int argc;
41295  int argv[5]={
41296  1,2,3,4,5
41297  };
41298 
41299  argc = lua_gettop(L);
41300  if (argc == 2) {
41301  int _v;
41302  {
41303  void *ptr;
41304  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41305  _v = 0;
41306  } else {
41307  _v = 1;
41308  }
41309  }
41310  if (_v) {
41311  {
41312  _v = lua_isboolean(L,argv[1]);
41313  }
41314  if (_v) {
41315  return _wrap_HingeConstraint_EnableMotor__SWIG_1(L);
41316  }
41317  }
41318  }
41319  if (argc == 4) {
41320  int _v;
41321  {
41322  void *ptr;
41323  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41324  _v = 0;
41325  } else {
41326  _v = 1;
41327  }
41328  }
41329  if (_v) {
41330  {
41331  _v = lua_isboolean(L,argv[1]);
41332  }
41333  if (_v) {
41334  {
41335  _v = lua_isnumber(L,argv[2]);
41336  }
41337  if (_v) {
41338  {
41339  _v = lua_isnumber(L,argv[3]);
41340  }
41341  if (_v) {
41342  return _wrap_HingeConstraint_EnableMotor__SWIG_0(L);
41343  }
41344  }
41345  }
41346  }
41347  }
41348 
41349  lua_pushstring(L,"Wrong arguments for overloaded function 'HingeConstraint_EnableMotor'\n"
41350  " Possible C/C++ prototypes are:\n"
41351  " Mezzanine::Physics::HingeConstraint::EnableMotor(Mezzanine::Boole,Mezzanine::Real,Mezzanine::Real)\n"
41352  " Mezzanine::Physics::HingeConstraint::EnableMotor(Mezzanine::Boole)\n");
41353  lua_error(L);return 0;
41354 }
41355 
41356 
41357 static int _wrap_HingeConstraint_GetMotorEnabled(lua_State* L) {
41358  int SWIG_arg = 0;
41360  Mezzanine::Boole result;
41361 
41362  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetMotorEnabled",1,1)
41363  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetMotorEnabled",1,"Mezzanine::Physics::HingeConstraint const *");
41364 
41365  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41366  SWIG_fail_ptr("HingeConstraint_GetMotorEnabled",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41367  }
41368 
41369  result = (Mezzanine::Boole)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetMotorEnabled();
41370  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
41371  return SWIG_arg;
41372 
41373  if(0) SWIG_fail;
41374 
41375 fail:
41376  lua_error(L);
41377  return SWIG_arg;
41378 }
41379 
41380 
41381 static int _wrap_HingeConstraint_SetMaxMotorImpulse(lua_State* L) {
41382  int SWIG_arg = 0;
41384  Mezzanine::Real arg2 ;
41385 
41386  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetMaxMotorImpulse",2,2)
41387  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMaxMotorImpulse",1,"Mezzanine::Physics::HingeConstraint *");
41388  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMaxMotorImpulse",2,"Mezzanine::Real");
41389 
41390  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41391  SWIG_fail_ptr("HingeConstraint_SetMaxMotorImpulse",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41392  }
41393 
41394  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41395  (arg1)->SetMaxMotorImpulse(arg2);
41396 
41397  return SWIG_arg;
41398 
41399  if(0) SWIG_fail;
41400 
41401 fail:
41402  lua_error(L);
41403  return SWIG_arg;
41404 }
41405 
41406 
41407 static int _wrap_HingeConstraint_GetMaxMotorImpulse(lua_State* L) {
41408  int SWIG_arg = 0;
41410  Mezzanine::Real result;
41411 
41412  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetMaxMotorImpulse",1,1)
41413  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetMaxMotorImpulse",1,"Mezzanine::Physics::HingeConstraint const *");
41414 
41415  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41416  SWIG_fail_ptr("HingeConstraint_GetMaxMotorImpulse",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41417  }
41418 
41419  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetMaxMotorImpulse();
41420  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
41421  return SWIG_arg;
41422 
41423  if(0) SWIG_fail;
41424 
41425 fail:
41426  lua_error(L);
41427  return SWIG_arg;
41428 }
41429 
41430 
41431 static int _wrap_HingeConstraint_SetMotorTarget__SWIG_0(lua_State* L) {
41432  int SWIG_arg = 0;
41434  Mezzanine::Quaternion *arg2 = 0 ;
41435  Mezzanine::Real arg3 ;
41436 
41437  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetMotorTarget",3,3)
41438  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTarget",1,"Mezzanine::Physics::HingeConstraint *");
41439  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTarget",2,"Mezzanine::Quaternion const &");
41440  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTarget",3,"Mezzanine::Real");
41441 
41442  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41443  SWIG_fail_ptr("HingeConstraint_SetMotorTarget",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41444  }
41445 
41446 
41447  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
41448  SWIG_fail_ptr("HingeConstraint_SetMotorTarget",2,SWIGTYPE_p_Mezzanine__Quaternion);
41449  }
41450 
41451  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41452  (arg1)->SetMotorTarget((Mezzanine::Quaternion const &)*arg2,arg3);
41453 
41454  return SWIG_arg;
41455 
41456  if(0) SWIG_fail;
41457 
41458 fail:
41459  lua_error(L);
41460  return SWIG_arg;
41461 }
41462 
41463 
41464 static int _wrap_HingeConstraint_SetMotorTarget__SWIG_1(lua_State* L) {
41465  int SWIG_arg = 0;
41467  Mezzanine::Real arg2 ;
41468  Mezzanine::Real arg3 ;
41469 
41470  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetMotorTarget",3,3)
41471  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTarget",1,"Mezzanine::Physics::HingeConstraint *");
41472  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTarget",2,"Mezzanine::Real");
41473  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTarget",3,"Mezzanine::Real");
41474 
41475  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41476  SWIG_fail_ptr("HingeConstraint_SetMotorTarget",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41477  }
41478 
41479  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41480  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41481  (arg1)->SetMotorTarget(arg2,arg3);
41482 
41483  return SWIG_arg;
41484 
41485  if(0) SWIG_fail;
41486 
41487 fail:
41488  lua_error(L);
41489  return SWIG_arg;
41490 }
41491 
41492 
41493 static int _wrap_HingeConstraint_SetMotorTarget(lua_State* L) {
41494  int argc;
41495  int argv[4]={
41496  1,2,3,4
41497  };
41498 
41499  argc = lua_gettop(L);
41500  if (argc == 3) {
41501  int _v;
41502  {
41503  void *ptr;
41504  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41505  _v = 0;
41506  } else {
41507  _v = 1;
41508  }
41509  }
41510  if (_v) {
41511  {
41512  void *ptr;
41513  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
41514  _v = 0;
41515  } else {
41516  _v = 1;
41517  }
41518  }
41519  if (_v) {
41520  {
41521  _v = lua_isnumber(L,argv[2]);
41522  }
41523  if (_v) {
41524  return _wrap_HingeConstraint_SetMotorTarget__SWIG_0(L);
41525  }
41526  }
41527  }
41528  }
41529  if (argc == 3) {
41530  int _v;
41531  {
41532  void *ptr;
41533  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41534  _v = 0;
41535  } else {
41536  _v = 1;
41537  }
41538  }
41539  if (_v) {
41540  {
41541  _v = lua_isnumber(L,argv[1]);
41542  }
41543  if (_v) {
41544  {
41545  _v = lua_isnumber(L,argv[2]);
41546  }
41547  if (_v) {
41548  return _wrap_HingeConstraint_SetMotorTarget__SWIG_1(L);
41549  }
41550  }
41551  }
41552  }
41553 
41554  lua_pushstring(L,"Wrong arguments for overloaded function 'HingeConstraint_SetMotorTarget'\n"
41555  " Possible C/C++ prototypes are:\n"
41556  " Mezzanine::Physics::HingeConstraint::SetMotorTarget(Mezzanine::Quaternion const &,Mezzanine::Real)\n"
41557  " Mezzanine::Physics::HingeConstraint::SetMotorTarget(Mezzanine::Real,Mezzanine::Real)\n");
41558  lua_error(L);return 0;
41559 }
41560 
41561 
41562 static int _wrap_HingeConstraint_SetMotorTargetVelocity(lua_State* L) {
41563  int SWIG_arg = 0;
41565  Mezzanine::Real arg2 ;
41566 
41567  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetMotorTargetVelocity",2,2)
41568  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTargetVelocity",1,"Mezzanine::Physics::HingeConstraint *");
41569  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetMotorTargetVelocity",2,"Mezzanine::Real");
41570 
41571  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41572  SWIG_fail_ptr("HingeConstraint_SetMotorTargetVelocity",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41573  }
41574 
41575  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41576  (arg1)->SetMotorTargetVelocity(arg2);
41577 
41578  return SWIG_arg;
41579 
41580  if(0) SWIG_fail;
41581 
41582 fail:
41583  lua_error(L);
41584  return SWIG_arg;
41585 }
41586 
41587 
41588 static int _wrap_HingeConstraint_GetMotorTargetVelocity(lua_State* L) {
41589  int SWIG_arg = 0;
41591  Mezzanine::Real result;
41592 
41593  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetMotorTargetVelocity",1,1)
41594  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetMotorTargetVelocity",1,"Mezzanine::Physics::HingeConstraint const *");
41595 
41596  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41597  SWIG_fail_ptr("HingeConstraint_GetMotorTargetVelocity",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41598  }
41599 
41600  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetMotorTargetVelocity();
41601  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
41602  return SWIG_arg;
41603 
41604  if(0) SWIG_fail;
41605 
41606 fail:
41607  lua_error(L);
41608  return SWIG_arg;
41609 }
41610 
41611 
41612 static int _wrap_HingeConstraint_SetLimit__SWIG_0(lua_State* L) {
41613  int SWIG_arg = 0;
41615  Mezzanine::Real arg2 ;
41616  Mezzanine::Real arg3 ;
41617  Mezzanine::Real arg4 ;
41618  Mezzanine::Real arg5 ;
41619  Mezzanine::Real arg6 ;
41620 
41621  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetLimit",6,6)
41622  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",1,"Mezzanine::Physics::HingeConstraint *");
41623  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",2,"Mezzanine::Real");
41624  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",3,"Mezzanine::Real");
41625  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",4,"Mezzanine::Real");
41626  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",5,"Mezzanine::Real");
41627  if(!lua_isnumber(L,6)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",6,"Mezzanine::Real");
41628 
41629  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41630  SWIG_fail_ptr("HingeConstraint_SetLimit",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41631  }
41632 
41633  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41634  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41635  arg4 = (Mezzanine::Real)lua_tonumber(L, 4);
41636  arg5 = (Mezzanine::Real)lua_tonumber(L, 5);
41637  arg6 = (Mezzanine::Real)lua_tonumber(L, 6);
41638  (arg1)->SetLimit(arg2,arg3,arg4,arg5,arg6);
41639 
41640  return SWIG_arg;
41641 
41642  if(0) SWIG_fail;
41643 
41644 fail:
41645  lua_error(L);
41646  return SWIG_arg;
41647 }
41648 
41649 
41650 static int _wrap_HingeConstraint_SetLimit__SWIG_1(lua_State* L) {
41651  int SWIG_arg = 0;
41653  Mezzanine::Real arg2 ;
41654  Mezzanine::Real arg3 ;
41655  Mezzanine::Real arg4 ;
41656  Mezzanine::Real arg5 ;
41657 
41658  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetLimit",5,5)
41659  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",1,"Mezzanine::Physics::HingeConstraint *");
41660  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",2,"Mezzanine::Real");
41661  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",3,"Mezzanine::Real");
41662  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",4,"Mezzanine::Real");
41663  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",5,"Mezzanine::Real");
41664 
41665  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41666  SWIG_fail_ptr("HingeConstraint_SetLimit",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41667  }
41668 
41669  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41670  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41671  arg4 = (Mezzanine::Real)lua_tonumber(L, 4);
41672  arg5 = (Mezzanine::Real)lua_tonumber(L, 5);
41673  (arg1)->SetLimit(arg2,arg3,arg4,arg5);
41674 
41675  return SWIG_arg;
41676 
41677  if(0) SWIG_fail;
41678 
41679 fail:
41680  lua_error(L);
41681  return SWIG_arg;
41682 }
41683 
41684 
41685 static int _wrap_HingeConstraint_SetLimit__SWIG_2(lua_State* L) {
41686  int SWIG_arg = 0;
41688  Mezzanine::Real arg2 ;
41689  Mezzanine::Real arg3 ;
41690  Mezzanine::Real arg4 ;
41691 
41692  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetLimit",4,4)
41693  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",1,"Mezzanine::Physics::HingeConstraint *");
41694  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",2,"Mezzanine::Real");
41695  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",3,"Mezzanine::Real");
41696  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",4,"Mezzanine::Real");
41697 
41698  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41699  SWIG_fail_ptr("HingeConstraint_SetLimit",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41700  }
41701 
41702  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41703  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41704  arg4 = (Mezzanine::Real)lua_tonumber(L, 4);
41705  (arg1)->SetLimit(arg2,arg3,arg4);
41706 
41707  return SWIG_arg;
41708 
41709  if(0) SWIG_fail;
41710 
41711 fail:
41712  lua_error(L);
41713  return SWIG_arg;
41714 }
41715 
41716 
41717 static int _wrap_HingeConstraint_SetLimit__SWIG_3(lua_State* L) {
41718  int SWIG_arg = 0;
41720  Mezzanine::Real arg2 ;
41721  Mezzanine::Real arg3 ;
41722 
41723  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetLimit",3,3)
41724  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",1,"Mezzanine::Physics::HingeConstraint *");
41725  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",2,"Mezzanine::Real");
41726  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetLimit",3,"Mezzanine::Real");
41727 
41728  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41729  SWIG_fail_ptr("HingeConstraint_SetLimit",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41730  }
41731 
41732  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
41733  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
41734  (arg1)->SetLimit(arg2,arg3);
41735 
41736  return SWIG_arg;
41737 
41738  if(0) SWIG_fail;
41739 
41740 fail:
41741  lua_error(L);
41742  return SWIG_arg;
41743 }
41744 
41745 
41746 static int _wrap_HingeConstraint_SetLimit(lua_State* L) {
41747  int argc;
41748  int argv[7]={
41749  1,2,3,4,5,6,7
41750  };
41751 
41752  argc = lua_gettop(L);
41753  if (argc == 3) {
41754  int _v;
41755  {
41756  void *ptr;
41757  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41758  _v = 0;
41759  } else {
41760  _v = 1;
41761  }
41762  }
41763  if (_v) {
41764  {
41765  _v = lua_isnumber(L,argv[1]);
41766  }
41767  if (_v) {
41768  {
41769  _v = lua_isnumber(L,argv[2]);
41770  }
41771  if (_v) {
41772  return _wrap_HingeConstraint_SetLimit__SWIG_3(L);
41773  }
41774  }
41775  }
41776  }
41777  if (argc == 4) {
41778  int _v;
41779  {
41780  void *ptr;
41781  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41782  _v = 0;
41783  } else {
41784  _v = 1;
41785  }
41786  }
41787  if (_v) {
41788  {
41789  _v = lua_isnumber(L,argv[1]);
41790  }
41791  if (_v) {
41792  {
41793  _v = lua_isnumber(L,argv[2]);
41794  }
41795  if (_v) {
41796  {
41797  _v = lua_isnumber(L,argv[3]);
41798  }
41799  if (_v) {
41800  return _wrap_HingeConstraint_SetLimit__SWIG_2(L);
41801  }
41802  }
41803  }
41804  }
41805  }
41806  if (argc == 5) {
41807  int _v;
41808  {
41809  void *ptr;
41810  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41811  _v = 0;
41812  } else {
41813  _v = 1;
41814  }
41815  }
41816  if (_v) {
41817  {
41818  _v = lua_isnumber(L,argv[1]);
41819  }
41820  if (_v) {
41821  {
41822  _v = lua_isnumber(L,argv[2]);
41823  }
41824  if (_v) {
41825  {
41826  _v = lua_isnumber(L,argv[3]);
41827  }
41828  if (_v) {
41829  {
41830  _v = lua_isnumber(L,argv[4]);
41831  }
41832  if (_v) {
41833  return _wrap_HingeConstraint_SetLimit__SWIG_1(L);
41834  }
41835  }
41836  }
41837  }
41838  }
41839  }
41840  if (argc == 6) {
41841  int _v;
41842  {
41843  void *ptr;
41844  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
41845  _v = 0;
41846  } else {
41847  _v = 1;
41848  }
41849  }
41850  if (_v) {
41851  {
41852  _v = lua_isnumber(L,argv[1]);
41853  }
41854  if (_v) {
41855  {
41856  _v = lua_isnumber(L,argv[2]);
41857  }
41858  if (_v) {
41859  {
41860  _v = lua_isnumber(L,argv[3]);
41861  }
41862  if (_v) {
41863  {
41864  _v = lua_isnumber(L,argv[4]);
41865  }
41866  if (_v) {
41867  {
41868  _v = lua_isnumber(L,argv[5]);
41869  }
41870  if (_v) {
41871  return _wrap_HingeConstraint_SetLimit__SWIG_0(L);
41872  }
41873  }
41874  }
41875  }
41876  }
41877  }
41878  }
41879 
41880  lua_pushstring(L,"Wrong arguments for overloaded function 'HingeConstraint_SetLimit'\n"
41881  " Possible C/C++ prototypes are:\n"
41882  " Mezzanine::Physics::HingeConstraint::SetLimit(Mezzanine::Real,Mezzanine::Real,Mezzanine::Real,Mezzanine::Real,Mezzanine::Real)\n"
41883  " Mezzanine::Physics::HingeConstraint::SetLimit(Mezzanine::Real,Mezzanine::Real,Mezzanine::Real,Mezzanine::Real)\n"
41884  " Mezzanine::Physics::HingeConstraint::SetLimit(Mezzanine::Real,Mezzanine::Real,Mezzanine::Real)\n"
41885  " Mezzanine::Physics::HingeConstraint::SetLimit(Mezzanine::Real,Mezzanine::Real)\n");
41886  lua_error(L);return 0;
41887 }
41888 
41889 
41890 static int _wrap_HingeConstraint_GetLimitLow(lua_State* L) {
41891  int SWIG_arg = 0;
41893  Mezzanine::Real result;
41894 
41895  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetLimitLow",1,1)
41896  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetLimitLow",1,"Mezzanine::Physics::HingeConstraint const *");
41897 
41898  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41899  SWIG_fail_ptr("HingeConstraint_GetLimitLow",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41900  }
41901 
41902  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetLimitLow();
41903  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
41904  return SWIG_arg;
41905 
41906  if(0) SWIG_fail;
41907 
41908 fail:
41909  lua_error(L);
41910  return SWIG_arg;
41911 }
41912 
41913 
41914 static int _wrap_HingeConstraint_GetLimitHigh(lua_State* L) {
41915  int SWIG_arg = 0;
41917  Mezzanine::Real result;
41918 
41919  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetLimitHigh",1,1)
41920  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetLimitHigh",1,"Mezzanine::Physics::HingeConstraint const *");
41921 
41922  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41923  SWIG_fail_ptr("HingeConstraint_GetLimitHigh",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41924  }
41925 
41926  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetLimitHigh();
41927  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
41928  return SWIG_arg;
41929 
41930  if(0) SWIG_fail;
41931 
41932 fail:
41933  lua_error(L);
41934  return SWIG_arg;
41935 }
41936 
41937 
41938 static int _wrap_HingeConstraint_GetLimitSoftness(lua_State* L) {
41939  int SWIG_arg = 0;
41941  Mezzanine::Real result;
41942 
41943  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetLimitSoftness",1,1)
41944  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetLimitSoftness",1,"Mezzanine::Physics::HingeConstraint const *");
41945 
41946  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41947  SWIG_fail_ptr("HingeConstraint_GetLimitSoftness",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41948  }
41949 
41950  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetLimitSoftness();
41951  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
41952  return SWIG_arg;
41953 
41954  if(0) SWIG_fail;
41955 
41956 fail:
41957  lua_error(L);
41958  return SWIG_arg;
41959 }
41960 
41961 
41962 static int _wrap_HingeConstraint_GetLimitBiasFactor(lua_State* L) {
41963  int SWIG_arg = 0;
41965  Mezzanine::Real result;
41966 
41967  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetLimitBiasFactor",1,1)
41968  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetLimitBiasFactor",1,"Mezzanine::Physics::HingeConstraint const *");
41969 
41970  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41971  SWIG_fail_ptr("HingeConstraint_GetLimitBiasFactor",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41972  }
41973 
41974  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetLimitBiasFactor();
41975  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
41976  return SWIG_arg;
41977 
41978  if(0) SWIG_fail;
41979 
41980 fail:
41981  lua_error(L);
41982  return SWIG_arg;
41983 }
41984 
41985 
41986 static int _wrap_HingeConstraint_GetLimitRelaxationFactor(lua_State* L) {
41987  int SWIG_arg = 0;
41989  Mezzanine::Real result;
41990 
41991  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetLimitRelaxationFactor",1,1)
41992  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetLimitRelaxationFactor",1,"Mezzanine::Physics::HingeConstraint const *");
41993 
41994  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
41995  SWIG_fail_ptr("HingeConstraint_GetLimitRelaxationFactor",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
41996  }
41997 
41998  result = (Mezzanine::Real)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetLimitRelaxationFactor();
41999  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
42000  return SWIG_arg;
42001 
42002  if(0) SWIG_fail;
42003 
42004 fail:
42005  lua_error(L);
42006  return SWIG_arg;
42007 }
42008 
42009 
42010 static int _wrap_HingeConstraint_SetAxis(lua_State* L) {
42011  int SWIG_arg = 0;
42013  Mezzanine::Physics::Vector3 *arg2 = 0 ;
42014 
42015  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetAxis",2,2)
42016  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetAxis",1,"Mezzanine::Physics::HingeConstraint *");
42017  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetAxis",2,"Mezzanine::Physics::Vector3 const &");
42018 
42019  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42020  SWIG_fail_ptr("HingeConstraint_SetAxis",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42021  }
42022 
42023 
42024  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
42025  SWIG_fail_ptr("HingeConstraint_SetAxis",2,SWIGTYPE_p_Mezzanine__Vector3);
42026  }
42027 
42028  (arg1)->SetAxis((Mezzanine::Physics::Vector3 const &)*arg2);
42029 
42030  return SWIG_arg;
42031 
42032  if(0) SWIG_fail;
42033 
42034 fail:
42035  lua_error(L);
42036  return SWIG_arg;
42037 }
42038 
42039 
42040 static int _wrap_HingeConstraint_GetHingeAngle(lua_State* L) {
42041  int SWIG_arg = 0;
42043  Mezzanine::Real result;
42044 
42045  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetHingeAngle",1,1)
42046  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetHingeAngle",1,"Mezzanine::Physics::HingeConstraint *");
42047 
42048  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42049  SWIG_fail_ptr("HingeConstraint_GetHingeAngle",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42050  }
42051 
42052  result = (Mezzanine::Real)(arg1)->GetHingeAngle();
42053  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
42054  return SWIG_arg;
42055 
42056  if(0) SWIG_fail;
42057 
42058 fail:
42059  lua_error(L);
42060  return SWIG_arg;
42061 }
42062 
42063 
42064 static int _wrap_HingeConstraint_ValidParamOnAxis(lua_State* L) {
42065  int SWIG_arg = 0;
42067  int arg2 ;
42068  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
42069 
42070  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::ValidParamOnAxis",2,2)
42071  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ValidParamOnAxis",1,"Mezzanine::Physics::HingeConstraint const *");
42072  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ValidParamOnAxis",2,"int");
42073 
42074  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42075  SWIG_fail_ptr("HingeConstraint_ValidParamOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42076  }
42077 
42078  arg2 = (int)lua_tonumber(L, 2);
42079  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->ValidParamOnAxis(arg2);
42080  {
42082  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
42083  }
42084  return SWIG_arg;
42085 
42086  if(0) SWIG_fail;
42087 
42088 fail:
42089  lua_error(L);
42090  return SWIG_arg;
42091 }
42092 
42093 
42094 static int _wrap_HingeConstraint_ValidLinearAxis(lua_State* L) {
42095  int SWIG_arg = 0;
42097  SwigValueWrapper< std::vector< int > > result;
42098 
42099  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::ValidLinearAxis",1,1)
42100  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ValidLinearAxis",1,"Mezzanine::Physics::HingeConstraint const *");
42101 
42102  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42103  SWIG_fail_ptr("HingeConstraint_ValidLinearAxis",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42104  }
42105 
42106  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->ValidLinearAxis();
42107  {
42109  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
42110  }
42111  return SWIG_arg;
42112 
42113  if(0) SWIG_fail;
42114 
42115 fail:
42116  lua_error(L);
42117  return SWIG_arg;
42118 }
42119 
42120 
42121 static int _wrap_HingeConstraint_ValidAngularAxis(lua_State* L) {
42122  int SWIG_arg = 0;
42124  SwigValueWrapper< std::vector< int > > result;
42125 
42126  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::ValidAngularAxis",1,1)
42127  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ValidAngularAxis",1,"Mezzanine::Physics::HingeConstraint const *");
42128 
42129  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42130  SWIG_fail_ptr("HingeConstraint_ValidAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42131  }
42132 
42133  result = ((Mezzanine::Physics::HingeConstraint const *)arg1)->ValidAngularAxis();
42134  {
42136  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
42137  }
42138  return SWIG_arg;
42139 
42140  if(0) SWIG_fail;
42141 
42142 fail:
42143  lua_error(L);
42144  return SWIG_arg;
42145 }
42146 
42147 
42148 static int _wrap_HingeConstraint_HasParamBeenSet(lua_State* L) {
42149  int SWIG_arg = 0;
42152  int arg3 ;
42153  Mezzanine::Boole result;
42154 
42155  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::HasParamBeenSet",3,3)
42156  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HasParamBeenSet",1,"Mezzanine::Physics::HingeConstraint const *");
42157  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HasParamBeenSet",2,"Mezzanine::Physics::ConstraintParam");
42158  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::HasParamBeenSet",3,"int");
42159 
42160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42161  SWIG_fail_ptr("HingeConstraint_HasParamBeenSet",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42162  }
42163 
42164  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
42165  arg3 = (int)lua_tonumber(L, 3);
42166  result = (Mezzanine::Boole)((Mezzanine::Physics::HingeConstraint const *)arg1)->HasParamBeenSet(arg2,arg3);
42167  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42168  return SWIG_arg;
42169 
42170  if(0) SWIG_fail;
42171 
42172 fail:
42173  lua_error(L);
42174  return SWIG_arg;
42175 }
42176 
42177 
42178 static int _wrap_HingeConstraint_GetUseFrameOffset(lua_State* L) {
42179  int SWIG_arg = 0;
42181  Mezzanine::Boole result;
42182 
42183  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetUseFrameOffset",1,1)
42184  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetUseFrameOffset",1,"Mezzanine::Physics::HingeConstraint const *");
42185 
42186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42187  SWIG_fail_ptr("HingeConstraint_GetUseFrameOffset",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42188  }
42189 
42190  result = (Mezzanine::Boole)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetUseFrameOffset();
42191  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42192  return SWIG_arg;
42193 
42194  if(0) SWIG_fail;
42195 
42196 fail:
42197  lua_error(L);
42198  return SWIG_arg;
42199 }
42200 
42201 
42202 static int _wrap_HingeConstraint_SetUseFrameOffset(lua_State* L) {
42203  int SWIG_arg = 0;
42205  Mezzanine::Boole arg2 ;
42206 
42207  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetUseFrameOffset",2,2)
42208  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetUseFrameOffset",1,"Mezzanine::Physics::HingeConstraint *");
42209  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetUseFrameOffset",2,"Mezzanine::Boole");
42210 
42211  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42212  SWIG_fail_ptr("HingeConstraint_SetUseFrameOffset",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42213  }
42214 
42215  arg2 = (lua_toboolean(L, 2)!=0);
42216  (arg1)->SetUseFrameOffset(arg2);
42217 
42218  return SWIG_arg;
42219 
42220  if(0) SWIG_fail;
42221 
42222 fail:
42223  lua_error(L);
42224  return SWIG_arg;
42225 }
42226 
42227 
42228 static int _wrap_HingeConstraint_GetUseReferenceFrameA(lua_State* L) {
42229  int SWIG_arg = 0;
42231  Mezzanine::Boole result;
42232 
42233  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetUseReferenceFrameA",1,1)
42234  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetUseReferenceFrameA",1,"Mezzanine::Physics::HingeConstraint const *");
42235 
42236  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42237  SWIG_fail_ptr("HingeConstraint_GetUseReferenceFrameA",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42238  }
42239 
42240  result = (Mezzanine::Boole)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetUseReferenceFrameA();
42241  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
42242  return SWIG_arg;
42243 
42244  if(0) SWIG_fail;
42245 
42246 fail:
42247  lua_error(L);
42248  return SWIG_arg;
42249 }
42250 
42251 
42252 static int _wrap_HingeConstraint_SetUseReferenceFrameA__SWIG_0(lua_State* L) {
42253  int SWIG_arg = 0;
42255  Mezzanine::Boole arg2 ;
42256 
42257  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA",2,2)
42258  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA",1,"Mezzanine::Physics::HingeConstraint *");
42259  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA",2,"Mezzanine::Boole");
42260 
42261  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42262  SWIG_fail_ptr("HingeConstraint_SetUseReferenceFrameA",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42263  }
42264 
42265  arg2 = (lua_toboolean(L, 2)!=0);
42266  (arg1)->SetUseReferenceFrameA(arg2);
42267 
42268  return SWIG_arg;
42269 
42270  if(0) SWIG_fail;
42271 
42272 fail:
42273  lua_error(L);
42274  return SWIG_arg;
42275 }
42276 
42277 
42278 static int _wrap_HingeConstraint_SetUseReferenceFrameA__SWIG_1(lua_State* L) {
42279  int SWIG_arg = 0;
42281 
42282  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA",1,1)
42283  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA",1,"Mezzanine::Physics::HingeConstraint *");
42284 
42285  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42286  SWIG_fail_ptr("HingeConstraint_SetUseReferenceFrameA",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42287  }
42288 
42289  (arg1)->SetUseReferenceFrameA();
42290 
42291  return SWIG_arg;
42292 
42293  if(0) SWIG_fail;
42294 
42295 fail:
42296  lua_error(L);
42297  return SWIG_arg;
42298 }
42299 
42300 
42301 static int _wrap_HingeConstraint_SetUseReferenceFrameA(lua_State* L) {
42302  int argc;
42303  int argv[3]={
42304  1,2,3
42305  };
42306 
42307  argc = lua_gettop(L);
42308  if (argc == 1) {
42309  int _v;
42310  {
42311  void *ptr;
42312  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
42313  _v = 0;
42314  } else {
42315  _v = 1;
42316  }
42317  }
42318  if (_v) {
42319  return _wrap_HingeConstraint_SetUseReferenceFrameA__SWIG_1(L);
42320  }
42321  }
42322  if (argc == 2) {
42323  int _v;
42324  {
42325  void *ptr;
42326  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__HingeConstraint, 0)) {
42327  _v = 0;
42328  } else {
42329  _v = 1;
42330  }
42331  }
42332  if (_v) {
42333  {
42334  _v = lua_isboolean(L,argv[1]);
42335  }
42336  if (_v) {
42337  return _wrap_HingeConstraint_SetUseReferenceFrameA__SWIG_0(L);
42338  }
42339  }
42340  }
42341 
42342  lua_pushstring(L,"Wrong arguments for overloaded function 'HingeConstraint_SetUseReferenceFrameA'\n"
42343  " Possible C/C++ prototypes are:\n"
42344  " Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA(Mezzanine::Boole)\n"
42345  " Mezzanine::Physics::HingeConstraint::SetUseReferenceFrameA()\n");
42346  lua_error(L);return 0;
42347 }
42348 
42349 
42350 static int _wrap_HingeConstraint_GetConstraintBase(lua_State* L) {
42351  int SWIG_arg = 0;
42353  btTypedConstraint *result = 0 ;
42354 
42355  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::GetConstraintBase",1,1)
42356  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::GetConstraintBase",1,"Mezzanine::Physics::HingeConstraint const *");
42357 
42358  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42359  SWIG_fail_ptr("HingeConstraint_GetConstraintBase",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42360  }
42361 
42362  result = (btTypedConstraint *)((Mezzanine::Physics::HingeConstraint const *)arg1)->GetConstraintBase();
42363  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btTypedConstraint,0); SWIG_arg++;
42364  return SWIG_arg;
42365 
42366  if(0) SWIG_fail;
42367 
42368 fail:
42369  lua_error(L);
42370  return SWIG_arg;
42371 }
42372 
42373 
42374 static int _wrap_HingeConstraint_ProtoSerialize(lua_State* L) {
42375  int SWIG_arg = 0;
42377  XML::Node *arg2 = 0 ;
42378 
42379  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::ProtoSerialize",2,2)
42380  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ProtoSerialize",1,"Mezzanine::Physics::HingeConstraint const *");
42381  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ProtoSerialize",2,"XML::Node &");
42382 
42383  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42384  SWIG_fail_ptr("HingeConstraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42385  }
42386 
42387 
42388  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
42389  SWIG_fail_ptr("HingeConstraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
42390  }
42391 
42392  ((Mezzanine::Physics::HingeConstraint const *)arg1)->ProtoSerialize(*arg2);
42393 
42394  return SWIG_arg;
42395 
42396  if(0) SWIG_fail;
42397 
42398 fail:
42399  lua_error(L);
42400  return SWIG_arg;
42401 }
42402 
42403 
42404 static int _wrap_HingeConstraint_ProtoDeSerialize(lua_State* L) {
42405  int SWIG_arg = 0;
42407  XML::Node *arg2 = 0 ;
42408 
42409  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::ProtoDeSerialize",2,2)
42410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ProtoDeSerialize",1,"Mezzanine::Physics::HingeConstraint *");
42411  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::HingeConstraint::ProtoDeSerialize",2,"XML::Node const &");
42412 
42413  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,0))){
42414  SWIG_fail_ptr("HingeConstraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__HingeConstraint);
42415  }
42416 
42417 
42418  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
42419  SWIG_fail_ptr("HingeConstraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
42420  }
42421 
42422  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
42423 
42424  return SWIG_arg;
42425 
42426  if(0) SWIG_fail;
42427 
42428 fail:
42429  lua_error(L);
42430  return SWIG_arg;
42431 }
42432 
42433 
42434 static int _wrap_HingeConstraint_SerializableName(lua_State* L) {
42435  int SWIG_arg = 0;
42436  Mezzanine::String result;
42437 
42438  SWIG_check_num_args("Mezzanine::Physics::HingeConstraint::SerializableName",0,0)
42439  result = Mezzanine::Physics::HingeConstraint::SerializableName();
42440  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
42441  return SWIG_arg;
42442 
42443  if(0) SWIG_fail;
42444 
42445 fail:
42446  lua_error(L);
42447  return SWIG_arg;
42448 }
42449 
42450 
42451 static void swig_delete_HingeConstraint(void *obj) {
42453 delete arg1;
42454 }
42455 static swig_lua_method swig_Mezzanine_Physics_HingeConstraint_methods[] = {
42456  {"SetPivotALocation", _wrap_HingeConstraint_SetPivotALocation},
42457  {"SetPivotBLocation", _wrap_HingeConstraint_SetPivotBLocation},
42458  {"GetPivotALocation", _wrap_HingeConstraint_GetPivotALocation},
42459  {"GetPivotBLocation", _wrap_HingeConstraint_GetPivotBLocation},
42460  {"SetAPivotRotation", _wrap_HingeConstraint_SetAPivotRotation},
42461  {"SetBPivotRotation", _wrap_HingeConstraint_SetBPivotRotation},
42462  {"GetAPivotRotation", _wrap_HingeConstraint_GetAPivotRotation},
42463  {"GetBPivotRotation", _wrap_HingeConstraint_GetBPivotRotation},
42464  {"SetPivotATransform", _wrap_HingeConstraint_SetPivotATransform},
42465  {"SetPivotBTransform", _wrap_HingeConstraint_SetPivotBTransform},
42466  {"GetPivotATransform", _wrap_HingeConstraint_GetPivotATransform},
42467  {"GetPivotBTransform", _wrap_HingeConstraint_GetPivotBTransform},
42468  {"EnableMotor", _wrap_HingeConstraint_EnableMotor},
42469  {"GetMotorEnabled", _wrap_HingeConstraint_GetMotorEnabled},
42470  {"SetMaxMotorImpulse", _wrap_HingeConstraint_SetMaxMotorImpulse},
42471  {"GetMaxMotorImpulse", _wrap_HingeConstraint_GetMaxMotorImpulse},
42472  {"SetMotorTarget", _wrap_HingeConstraint_SetMotorTarget},
42473  {"SetMotorTargetVelocity", _wrap_HingeConstraint_SetMotorTargetVelocity},
42474  {"GetMotorTargetVelocity", _wrap_HingeConstraint_GetMotorTargetVelocity},
42475  {"SetLimit", _wrap_HingeConstraint_SetLimit},
42476  {"GetLimitLow", _wrap_HingeConstraint_GetLimitLow},
42477  {"GetLimitHigh", _wrap_HingeConstraint_GetLimitHigh},
42478  {"GetLimitSoftness", _wrap_HingeConstraint_GetLimitSoftness},
42479  {"GetLimitBiasFactor", _wrap_HingeConstraint_GetLimitBiasFactor},
42480  {"GetLimitRelaxationFactor", _wrap_HingeConstraint_GetLimitRelaxationFactor},
42481  {"SetAxis", _wrap_HingeConstraint_SetAxis},
42482  {"GetHingeAngle", _wrap_HingeConstraint_GetHingeAngle},
42483  {"ValidParamOnAxis", _wrap_HingeConstraint_ValidParamOnAxis},
42484  {"ValidLinearAxis", _wrap_HingeConstraint_ValidLinearAxis},
42485  {"ValidAngularAxis", _wrap_HingeConstraint_ValidAngularAxis},
42486  {"HasParamBeenSet", _wrap_HingeConstraint_HasParamBeenSet},
42487  {"GetUseFrameOffset", _wrap_HingeConstraint_GetUseFrameOffset},
42488  {"SetUseFrameOffset", _wrap_HingeConstraint_SetUseFrameOffset},
42489  {"GetUseReferenceFrameA", _wrap_HingeConstraint_GetUseReferenceFrameA},
42490  {"SetUseReferenceFrameA", _wrap_HingeConstraint_SetUseReferenceFrameA},
42491  {"GetConstraintBase", _wrap_HingeConstraint_GetConstraintBase},
42492  {"ProtoSerialize", _wrap_HingeConstraint_ProtoSerialize},
42493  {"ProtoDeSerialize", _wrap_HingeConstraint_ProtoDeSerialize},
42494  {0,0}
42495 };
42496 static swig_lua_attribute swig_Mezzanine_Physics_HingeConstraint_attributes[] = {
42497  {0,0,0}
42498 };
42499 static swig_lua_class *swig_Mezzanine_Physics_HingeConstraint_bases[] = {0,0};
42500 static const char *swig_Mezzanine_Physics_HingeConstraint_base_names[] = {"Mezzanine::Physics::DualTransformConstraint *",0};
42501 static swig_lua_class _wrap_class_Mezzanine_Physics_HingeConstraint = { "HingeConstraint", &SWIGTYPE_p_Mezzanine__Physics__HingeConstraint,_wrap_new_HingeConstraint, swig_delete_HingeConstraint, swig_Mezzanine_Physics_HingeConstraint_methods, swig_Mezzanine_Physics_HingeConstraint_attributes, swig_Mezzanine_Physics_HingeConstraint_bases, swig_Mezzanine_Physics_HingeConstraint_base_names };
42502 
42503 static int _wrap_ManagerConstructionInfo_PhysicsFlags_set(lua_State* L) {
42504  int SWIG_arg = 0;
42506  Mezzanine::Whole arg2 ;
42507 
42508  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::PhysicsFlags",2,2)
42509  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::PhysicsFlags",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42510  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::PhysicsFlags",2,"Mezzanine::Whole");
42511 
42512  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42513  SWIG_fail_ptr("ManagerConstructionInfo_PhysicsFlags_set",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42514  }
42515 
42516  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
42517  arg2 = (Mezzanine::Whole)lua_tonumber(L, 2);
42518  if (arg1) (arg1)->PhysicsFlags = arg2;
42519 
42520  return SWIG_arg;
42521 
42522  if(0) SWIG_fail;
42523 
42524 fail:
42525  lua_error(L);
42526  return SWIG_arg;
42527 }
42528 
42529 
42530 static int _wrap_ManagerConstructionInfo_PhysicsFlags_get(lua_State* L) {
42531  int SWIG_arg = 0;
42533  Mezzanine::Whole result;
42534 
42535  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::PhysicsFlags",1,1)
42536  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::PhysicsFlags",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42537 
42538  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42539  SWIG_fail_ptr("ManagerConstructionInfo_PhysicsFlags_get",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42540  }
42541 
42542  result = (Mezzanine::Whole) ((arg1)->PhysicsFlags);
42543  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
42544  return SWIG_arg;
42545 
42546  if(0) SWIG_fail;
42547 
42548 fail:
42549  lua_error(L);
42550  return SWIG_arg;
42551 }
42552 
42553 
42554 static int _wrap_ManagerConstructionInfo_MaxProxies_set(lua_State* L) {
42555  int SWIG_arg = 0;
42557  Mezzanine::Whole arg2 ;
42558 
42559  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::MaxProxies",2,2)
42560  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::MaxProxies",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42561  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::MaxProxies",2,"Mezzanine::Whole");
42562 
42563  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42564  SWIG_fail_ptr("ManagerConstructionInfo_MaxProxies_set",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42565  }
42566 
42567  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
42568  arg2 = (Mezzanine::Whole)lua_tonumber(L, 2);
42569  if (arg1) (arg1)->MaxProxies = arg2;
42570 
42571  return SWIG_arg;
42572 
42573  if(0) SWIG_fail;
42574 
42575 fail:
42576  lua_error(L);
42577  return SWIG_arg;
42578 }
42579 
42580 
42581 static int _wrap_ManagerConstructionInfo_MaxProxies_get(lua_State* L) {
42582  int SWIG_arg = 0;
42584  Mezzanine::Whole result;
42585 
42586  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::MaxProxies",1,1)
42587  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::MaxProxies",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42588 
42589  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42590  SWIG_fail_ptr("ManagerConstructionInfo_MaxProxies_get",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42591  }
42592 
42593  result = (Mezzanine::Whole) ((arg1)->MaxProxies);
42594  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
42595  return SWIG_arg;
42596 
42597  if(0) SWIG_fail;
42598 
42599 fail:
42600  lua_error(L);
42601  return SWIG_arg;
42602 }
42603 
42604 
42605 static int _wrap_ManagerConstructionInfo_GeographyLowerBounds_set(lua_State* L) {
42606  int SWIG_arg = 0;
42609 
42610  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::GeographyLowerBounds",2,2)
42611  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::GeographyLowerBounds",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42612  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::GeographyLowerBounds",2,"Mezzanine::Physics::Vector3 *");
42613 
42614  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42615  SWIG_fail_ptr("ManagerConstructionInfo_GeographyLowerBounds_set",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42616  }
42617 
42618 
42619  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
42620  SWIG_fail_ptr("ManagerConstructionInfo_GeographyLowerBounds_set",2,SWIGTYPE_p_Mezzanine__Vector3);
42621  }
42622 
42623  if (arg1) (arg1)->GeographyLowerBounds = *arg2;
42624 
42625  return SWIG_arg;
42626 
42627  if(0) SWIG_fail;
42628 
42629 fail:
42630  lua_error(L);
42631  return SWIG_arg;
42632 }
42633 
42634 
42635 static int _wrap_ManagerConstructionInfo_GeographyLowerBounds_get(lua_State* L) {
42636  int SWIG_arg = 0;
42638  Mezzanine::Physics::Vector3 *result = 0 ;
42639 
42640  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::GeographyLowerBounds",1,1)
42641  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::GeographyLowerBounds",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42642 
42643  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42644  SWIG_fail_ptr("ManagerConstructionInfo_GeographyLowerBounds_get",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42645  }
42646 
42647  result = (Mezzanine::Physics::Vector3 *)& ((arg1)->GeographyLowerBounds);
42648  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
42649  return SWIG_arg;
42650 
42651  if(0) SWIG_fail;
42652 
42653 fail:
42654  lua_error(L);
42655  return SWIG_arg;
42656 }
42657 
42658 
42659 static int _wrap_ManagerConstructionInfo_GeographyUpperBounds_set(lua_State* L) {
42660  int SWIG_arg = 0;
42663 
42664  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::GeographyUpperBounds",2,2)
42665  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::GeographyUpperBounds",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42666  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::GeographyUpperBounds",2,"Mezzanine::Physics::Vector3 *");
42667 
42668  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42669  SWIG_fail_ptr("ManagerConstructionInfo_GeographyUpperBounds_set",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42670  }
42671 
42672 
42673  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
42674  SWIG_fail_ptr("ManagerConstructionInfo_GeographyUpperBounds_set",2,SWIGTYPE_p_Mezzanine__Vector3);
42675  }
42676 
42677  if (arg1) (arg1)->GeographyUpperBounds = *arg2;
42678 
42679  return SWIG_arg;
42680 
42681  if(0) SWIG_fail;
42682 
42683 fail:
42684  lua_error(L);
42685  return SWIG_arg;
42686 }
42687 
42688 
42689 static int _wrap_ManagerConstructionInfo_GeographyUpperBounds_get(lua_State* L) {
42690  int SWIG_arg = 0;
42692  Mezzanine::Physics::Vector3 *result = 0 ;
42693 
42694  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::GeographyUpperBounds",1,1)
42695  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::GeographyUpperBounds",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42696 
42697  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42698  SWIG_fail_ptr("ManagerConstructionInfo_GeographyUpperBounds_get",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42699  }
42700 
42701  result = (Mezzanine::Physics::Vector3 *)& ((arg1)->GeographyUpperBounds);
42702  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
42703  return SWIG_arg;
42704 
42705  if(0) SWIG_fail;
42706 
42707 fail:
42708  lua_error(L);
42709  return SWIG_arg;
42710 }
42711 
42712 
42713 static int _wrap_ManagerConstructionInfo_Gravity_set(lua_State* L) {
42714  int SWIG_arg = 0;
42717 
42718  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::Gravity",2,2)
42719  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::Gravity",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42720  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::Gravity",2,"Mezzanine::Physics::Vector3 *");
42721 
42722  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42723  SWIG_fail_ptr("ManagerConstructionInfo_Gravity_set",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42724  }
42725 
42726 
42727  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
42728  SWIG_fail_ptr("ManagerConstructionInfo_Gravity_set",2,SWIGTYPE_p_Mezzanine__Vector3);
42729  }
42730 
42731  if (arg1) (arg1)->Gravity = *arg2;
42732 
42733  return SWIG_arg;
42734 
42735  if(0) SWIG_fail;
42736 
42737 fail:
42738  lua_error(L);
42739  return SWIG_arg;
42740 }
42741 
42742 
42743 static int _wrap_ManagerConstructionInfo_Gravity_get(lua_State* L) {
42744  int SWIG_arg = 0;
42746  Mezzanine::Physics::Vector3 *result = 0 ;
42747 
42748  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::Gravity",1,1)
42749  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::ManagerConstructionInfo::Gravity",1,"Mezzanine::Physics::ManagerConstructionInfo *");
42750 
42751  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,0))){
42752  SWIG_fail_ptr("ManagerConstructionInfo_Gravity_get",1,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo);
42753  }
42754 
42755  result = (Mezzanine::Physics::Vector3 *)& ((arg1)->Gravity);
42756  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
42757  return SWIG_arg;
42758 
42759  if(0) SWIG_fail;
42760 
42761 fail:
42762  lua_error(L);
42763  return SWIG_arg;
42764 }
42765 
42766 
42767 static int _wrap_new_ManagerConstructionInfo(lua_State* L) {
42768  int SWIG_arg = 0;
42770 
42771  SWIG_check_num_args("Mezzanine::Physics::ManagerConstructionInfo::ManagerConstructionInfo",0,0)
42772  result = (Mezzanine::Physics::ManagerConstructionInfo *)new Mezzanine::Physics::ManagerConstructionInfo();
42773  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,1); SWIG_arg++;
42774  return SWIG_arg;
42775 
42776  if(0) SWIG_fail;
42777 
42778 fail:
42779  lua_error(L);
42780  return SWIG_arg;
42781 }
42782 
42783 
42784 static void swig_delete_ManagerConstructionInfo(void *obj) {
42786 delete arg1;
42787 }
42788 static swig_lua_method swig_Mezzanine_Physics_ManagerConstructionInfo_methods[] = {
42789  {0,0}
42790 };
42791 static swig_lua_attribute swig_Mezzanine_Physics_ManagerConstructionInfo_attributes[] = {
42792  { "PhysicsFlags", _wrap_ManagerConstructionInfo_PhysicsFlags_get, _wrap_ManagerConstructionInfo_PhysicsFlags_set},
42793  { "MaxProxies", _wrap_ManagerConstructionInfo_MaxProxies_get, _wrap_ManagerConstructionInfo_MaxProxies_set},
42794  { "GeographyLowerBounds", _wrap_ManagerConstructionInfo_GeographyLowerBounds_get, _wrap_ManagerConstructionInfo_GeographyLowerBounds_set},
42795  { "GeographyUpperBounds", _wrap_ManagerConstructionInfo_GeographyUpperBounds_get, _wrap_ManagerConstructionInfo_GeographyUpperBounds_set},
42796  { "Gravity", _wrap_ManagerConstructionInfo_Gravity_get, _wrap_ManagerConstructionInfo_Gravity_set},
42797  {0,0,0}
42798 };
42799 static swig_lua_class *swig_Mezzanine_Physics_ManagerConstructionInfo_bases[] = {0};
42800 static const char *swig_Mezzanine_Physics_ManagerConstructionInfo_base_names[] = {0};
42801 static swig_lua_class _wrap_class_Mezzanine_Physics_ManagerConstructionInfo = { "ManagerConstructionInfo", &SWIGTYPE_p_Mezzanine__Physics__ManagerConstructionInfo,_wrap_new_ManagerConstructionInfo, swig_delete_ManagerConstructionInfo, swig_Mezzanine_Physics_ManagerConstructionInfo_methods, swig_Mezzanine_Physics_ManagerConstructionInfo_attributes, swig_Mezzanine_Physics_ManagerConstructionInfo_bases, swig_Mezzanine_Physics_ManagerConstructionInfo_base_names };
42802 
42803 static int _wrap_new_MultiSphereCollisionShape__SWIG_0(lua_State* L) {
42804  int SWIG_arg = 0;
42805  Mezzanine::String *arg1 = 0 ;
42806  std::vector< Mezzanine::Physics::Vector3 > *arg2 = 0 ;
42807  std::vector< Mezzanine::Real > *arg3 = 0 ;
42808  Mezzanine::String temp1 ;
42810 
42811  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",3,3)
42812  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",1,"Mezzanine::String const &");
42813  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",2,"std::vector< Mezzanine::Physics::Vector3 > const &");
42814  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",3,"std::vector< Mezzanine::Real > const &");
42815  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
42816 
42817  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t,0))){
42818  SWIG_fail_ptr("new_MultiSphereCollisionShape",2,SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t);
42819  }
42820 
42821 
42822  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_std__vectorT_float_t,0))){
42823  SWIG_fail_ptr("new_MultiSphereCollisionShape",3,SWIGTYPE_p_std__vectorT_float_t);
42824  }
42825 
42826  result = (Mezzanine::Physics::MultiSphereCollisionShape *)new Mezzanine::Physics::MultiSphereCollisionShape((Mezzanine::String const &)*arg1,(std::vector< Mezzanine::Physics::Vector3 > const &)*arg2,(std::vector< Mezzanine::Real > const &)*arg3);
42827  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,1); SWIG_arg++;
42828  return SWIG_arg;
42829 
42830  if(0) SWIG_fail;
42831 
42832 fail:
42833  lua_error(L);
42834  return SWIG_arg;
42835 }
42836 
42837 
42838 static int _wrap_new_MultiSphereCollisionShape__SWIG_1(lua_State* L) {
42839  int SWIG_arg = 0;
42840  Mezzanine::String *arg1 = 0 ;
42841  btMultiSphereShape *arg2 = (btMultiSphereShape *) 0 ;
42842  Mezzanine::String temp1 ;
42844 
42845  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",2,2)
42846  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",1,"Mezzanine::String const &");
42847  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",2,"btMultiSphereShape *");
42848  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
42849 
42850  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btMultiSphereShape,0))){
42851  SWIG_fail_ptr("new_MultiSphereCollisionShape",2,SWIGTYPE_p_btMultiSphereShape);
42852  }
42853 
42855  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,1); SWIG_arg++;
42856  return SWIG_arg;
42857 
42858  if(0) SWIG_fail;
42859 
42860 fail:
42861  lua_error(L);
42862  return SWIG_arg;
42863 }
42864 
42865 
42866 static int _wrap_new_MultiSphereCollisionShape__SWIG_2(lua_State* L) {
42867  int SWIG_arg = 0;
42868  XML::Node arg1 ;
42869  XML::Node *argp1 ;
42871 
42872  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",1,1)
42873  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape",1,"XML::Node");
42874 
42875  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
42876  SWIG_fail_ptr("new_MultiSphereCollisionShape",1,SWIGTYPE_p_XML__Node);
42877  }
42878  arg1 = *argp1;
42879 
42881  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,1); SWIG_arg++;
42882  return SWIG_arg;
42883 
42884  if(0) SWIG_fail;
42885 
42886 fail:
42887  lua_error(L);
42888  return SWIG_arg;
42889 }
42890 
42891 
42892 static int _wrap_new_MultiSphereCollisionShape(lua_State* L) {
42893  int argc;
42894  int argv[4]={
42895  1,2,3,4
42896  };
42897 
42898  argc = lua_gettop(L);
42899  if (argc == 1) {
42900  int _v;
42901  {
42902  void *ptr;
42903  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
42904  _v = 0;
42905  } else {
42906  _v = 1;
42907  }
42908  }
42909  if (_v) {
42910  return _wrap_new_MultiSphereCollisionShape__SWIG_2(L);
42911  }
42912  }
42913  if (argc == 2) {
42914  int _v;
42915  {
42916  _v = lua_isstring(L,argv[0]);
42917  }
42918  if (_v) {
42919  {
42920  void *ptr;
42921  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btMultiSphereShape, 0)) {
42922  _v = 0;
42923  } else {
42924  _v = 1;
42925  }
42926  }
42927  if (_v) {
42928  return _wrap_new_MultiSphereCollisionShape__SWIG_1(L);
42929  }
42930  }
42931  }
42932  if (argc == 3) {
42933  int _v;
42934  {
42935  _v = lua_isstring(L,argv[0]);
42936  }
42937  if (_v) {
42938  {
42939  void *ptr;
42940  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_std__vectorT_Mezzanine__Vector3_t, 0)) {
42941  _v = 0;
42942  } else {
42943  _v = 1;
42944  }
42945  }
42946  if (_v) {
42947  {
42948  void *ptr;
42949  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_std__vectorT_float_t, 0)) {
42950  _v = 0;
42951  } else {
42952  _v = 1;
42953  }
42954  }
42955  if (_v) {
42956  return _wrap_new_MultiSphereCollisionShape__SWIG_0(L);
42957  }
42958  }
42959  }
42960  }
42961 
42962  lua_pushstring(L,"Wrong arguments for overloaded function 'new_MultiSphereCollisionShape'\n"
42963  " Possible C/C++ prototypes are:\n"
42964  " Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape(Mezzanine::String const &,std::vector< Mezzanine::Physics::Vector3 > const &,std::vector< Mezzanine::Real > const &)\n"
42965  " Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape(Mezzanine::String const &,btMultiSphereShape *)\n"
42966  " Mezzanine::Physics::MultiSphereCollisionShape::MultiSphereCollisionShape(XML::Node)\n");
42967  lua_error(L);return 0;
42968 }
42969 
42970 
42971 static int _wrap_MultiSphereCollisionShape_GetSphereLocation(lua_State* L) {
42972  int SWIG_arg = 0;
42974  Mezzanine::Whole *arg2 = 0 ;
42975  Mezzanine::Whole temp2 ;
42977 
42978  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::GetSphereLocation",2,2)
42979  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetSphereLocation",1,"Mezzanine::Physics::MultiSphereCollisionShape const *");
42980  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetSphereLocation",2,"Mezzanine::Whole const &");
42981 
42982  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
42983  SWIG_fail_ptr("MultiSphereCollisionShape_GetSphereLocation",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
42984  }
42985 
42986  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
42987  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
42988  result = ((Mezzanine::Physics::MultiSphereCollisionShape const *)arg1)->GetSphereLocation((Mezzanine::Whole const &)*arg2);
42989  {
42991  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
42992  }
42993  return SWIG_arg;
42994 
42995  if(0) SWIG_fail;
42996 
42997 fail:
42998  lua_error(L);
42999  return SWIG_arg;
43000 }
43001 
43002 
43003 static int _wrap_MultiSphereCollisionShape_GetSphereRadius(lua_State* L) {
43004  int SWIG_arg = 0;
43006  Mezzanine::Whole *arg2 = 0 ;
43007  Mezzanine::Whole temp2 ;
43008  Mezzanine::Real result;
43009 
43010  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::GetSphereRadius",2,2)
43011  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetSphereRadius",1,"Mezzanine::Physics::MultiSphereCollisionShape const *");
43012  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetSphereRadius",2,"Mezzanine::Whole const &");
43013 
43014  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
43015  SWIG_fail_ptr("MultiSphereCollisionShape_GetSphereRadius",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
43016  }
43017 
43018  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
43019  temp2=(Mezzanine::Whole)lua_tonumber(L,2); arg2=&temp2;
43020  result = (Mezzanine::Real)((Mezzanine::Physics::MultiSphereCollisionShape const *)arg1)->GetSphereRadius((Mezzanine::Whole const &)*arg2);
43021  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
43022  return SWIG_arg;
43023 
43024  if(0) SWIG_fail;
43025 
43026 fail:
43027  lua_error(L);
43028  return SWIG_arg;
43029 }
43030 
43031 
43032 static int _wrap_MultiSphereCollisionShape_GetNumSpheres(lua_State* L) {
43033  int SWIG_arg = 0;
43035  Mezzanine::Whole result;
43036 
43037  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::GetNumSpheres",1,1)
43038  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetNumSpheres",1,"Mezzanine::Physics::MultiSphereCollisionShape const *");
43039 
43040  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
43041  SWIG_fail_ptr("MultiSphereCollisionShape_GetNumSpheres",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
43042  }
43043 
43044  result = (Mezzanine::Whole)((Mezzanine::Physics::MultiSphereCollisionShape const *)arg1)->GetNumSpheres();
43045  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
43046  return SWIG_arg;
43047 
43048  if(0) SWIG_fail;
43049 
43050 fail:
43051  lua_error(L);
43052  return SWIG_arg;
43053 }
43054 
43055 
43056 static int _wrap_MultiSphereCollisionShape_GetType(lua_State* L) {
43057  int SWIG_arg = 0;
43060 
43061  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::GetType",1,1)
43062  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetType",1,"Mezzanine::Physics::MultiSphereCollisionShape const *");
43063 
43064  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
43065  SWIG_fail_ptr("MultiSphereCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
43066  }
43067 
43069  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
43070  return SWIG_arg;
43071 
43072  if(0) SWIG_fail;
43073 
43074 fail:
43075  lua_error(L);
43076  return SWIG_arg;
43077 }
43078 
43079 
43080 static int _wrap_MultiSphereCollisionShape_GetMultiSphereShape(lua_State* L) {
43081  int SWIG_arg = 0;
43083  btMultiSphereShape *result = 0 ;
43084 
43085  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::GetMultiSphereShape",1,1)
43086  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::GetMultiSphereShape",1,"Mezzanine::Physics::MultiSphereCollisionShape const *");
43087 
43088  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
43089  SWIG_fail_ptr("MultiSphereCollisionShape_GetMultiSphereShape",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
43090  }
43091 
43092  result = (btMultiSphereShape *)((Mezzanine::Physics::MultiSphereCollisionShape const *)arg1)->GetMultiSphereShape();
43093  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btMultiSphereShape,0); SWIG_arg++;
43094  return SWIG_arg;
43095 
43096  if(0) SWIG_fail;
43097 
43098 fail:
43099  lua_error(L);
43100  return SWIG_arg;
43101 }
43102 
43103 
43104 static int _wrap_MultiSphereCollisionShape_ProtoSerialize(lua_State* L) {
43105  int SWIG_arg = 0;
43107  XML::Node *arg2 = 0 ;
43108 
43109  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::ProtoSerialize",2,2)
43110  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::MultiSphereCollisionShape const *");
43111  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::ProtoSerialize",2,"XML::Node &");
43112 
43113  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
43114  SWIG_fail_ptr("MultiSphereCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
43115  }
43116 
43117 
43118  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
43119  SWIG_fail_ptr("MultiSphereCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
43120  }
43121 
43122  ((Mezzanine::Physics::MultiSphereCollisionShape const *)arg1)->ProtoSerialize(*arg2);
43123 
43124  return SWIG_arg;
43125 
43126  if(0) SWIG_fail;
43127 
43128 fail:
43129  lua_error(L);
43130  return SWIG_arg;
43131 }
43132 
43133 
43134 static int _wrap_MultiSphereCollisionShape_ProtoDeSerialize(lua_State* L) {
43135  int SWIG_arg = 0;
43137  XML::Node *arg2 = 0 ;
43138 
43139  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::ProtoDeSerialize",2,2)
43140  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::MultiSphereCollisionShape *");
43141  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::MultiSphereCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
43142 
43143  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,0))){
43144  SWIG_fail_ptr("MultiSphereCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape);
43145  }
43146 
43147 
43148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
43149  SWIG_fail_ptr("MultiSphereCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
43150  }
43151 
43152  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
43153 
43154  return SWIG_arg;
43155 
43156  if(0) SWIG_fail;
43157 
43158 fail:
43159  lua_error(L);
43160  return SWIG_arg;
43161 }
43162 
43163 
43164 static int _wrap_MultiSphereCollisionShape_SerializableName(lua_State* L) {
43165  int SWIG_arg = 0;
43166  Mezzanine::String result;
43167 
43168  SWIG_check_num_args("Mezzanine::Physics::MultiSphereCollisionShape::SerializableName",0,0)
43169  result = Mezzanine::Physics::MultiSphereCollisionShape::SerializableName();
43170  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
43171  return SWIG_arg;
43172 
43173  if(0) SWIG_fail;
43174 
43175 fail:
43176  lua_error(L);
43177  return SWIG_arg;
43178 }
43179 
43180 
43181 static void swig_delete_MultiSphereCollisionShape(void *obj) {
43183 delete arg1;
43184 }
43185 static swig_lua_method swig_Mezzanine_Physics_MultiSphereCollisionShape_methods[] = {
43186  {"GetSphereLocation", _wrap_MultiSphereCollisionShape_GetSphereLocation},
43187  {"GetSphereRadius", _wrap_MultiSphereCollisionShape_GetSphereRadius},
43188  {"GetNumSpheres", _wrap_MultiSphereCollisionShape_GetNumSpheres},
43189  {"GetType", _wrap_MultiSphereCollisionShape_GetType},
43190  {"GetMultiSphereShape", _wrap_MultiSphereCollisionShape_GetMultiSphereShape},
43191  {"ProtoSerialize", _wrap_MultiSphereCollisionShape_ProtoSerialize},
43192  {"ProtoDeSerialize", _wrap_MultiSphereCollisionShape_ProtoDeSerialize},
43193  {0,0}
43194 };
43195 static swig_lua_attribute swig_Mezzanine_Physics_MultiSphereCollisionShape_attributes[] = {
43196  {0,0,0}
43197 };
43198 static swig_lua_class *swig_Mezzanine_Physics_MultiSphereCollisionShape_bases[] = {0,0};
43199 static const char *swig_Mezzanine_Physics_MultiSphereCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
43200 static swig_lua_class _wrap_class_Mezzanine_Physics_MultiSphereCollisionShape = { "MultiSphereCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__MultiSphereCollisionShape,_wrap_new_MultiSphereCollisionShape, swig_delete_MultiSphereCollisionShape, swig_Mezzanine_Physics_MultiSphereCollisionShape_methods, swig_Mezzanine_Physics_MultiSphereCollisionShape_attributes, swig_Mezzanine_Physics_MultiSphereCollisionShape_bases, swig_Mezzanine_Physics_MultiSphereCollisionShape_base_names };
43201 
43202 static int _wrap_Plane_Normal_set(lua_State* L) {
43203  int SWIG_arg = 0;
43204  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43205  Mezzanine::Vector3 *arg2 = (Mezzanine::Vector3 *) 0 ;
43206 
43207  SWIG_check_num_args("Mezzanine::Plane::Normal",2,2)
43208  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Normal",1,"Mezzanine::Plane *");
43209  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Plane::Normal",2,"Mezzanine::Vector3 *");
43210 
43211  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43212  SWIG_fail_ptr("Plane_Normal_set",1,SWIGTYPE_p_Mezzanine__Plane);
43213  }
43214 
43215 
43216  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43217  SWIG_fail_ptr("Plane_Normal_set",2,SWIGTYPE_p_Mezzanine__Vector3);
43218  }
43219 
43220  if (arg1) (arg1)->Normal = *arg2;
43221 
43222  return SWIG_arg;
43223 
43224  if(0) SWIG_fail;
43225 
43226 fail:
43227  lua_error(L);
43228  return SWIG_arg;
43229 }
43230 
43231 
43232 static int _wrap_Plane_Normal_get(lua_State* L) {
43233  int SWIG_arg = 0;
43234  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43235  Mezzanine::Vector3 *result = 0 ;
43236 
43237  SWIG_check_num_args("Mezzanine::Plane::Normal",1,1)
43238  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Normal",1,"Mezzanine::Plane *");
43239 
43240  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43241  SWIG_fail_ptr("Plane_Normal_get",1,SWIGTYPE_p_Mezzanine__Plane);
43242  }
43243 
43244  result = (Mezzanine::Vector3 *)& ((arg1)->Normal);
43245  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Vector3,0); SWIG_arg++;
43246  return SWIG_arg;
43247 
43248  if(0) SWIG_fail;
43249 
43250 fail:
43251  lua_error(L);
43252  return SWIG_arg;
43253 }
43254 
43255 
43256 static int _wrap_Plane_Distance_set(lua_State* L) {
43257  int SWIG_arg = 0;
43258  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43259  Mezzanine::Real arg2 ;
43260 
43261  SWIG_check_num_args("Mezzanine::Plane::Distance",2,2)
43262  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Distance",1,"Mezzanine::Plane *");
43263  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Plane::Distance",2,"Mezzanine::Real");
43264 
43265  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43266  SWIG_fail_ptr("Plane_Distance_set",1,SWIGTYPE_p_Mezzanine__Plane);
43267  }
43268 
43269  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
43270  if (arg1) (arg1)->Distance = arg2;
43271 
43272  return SWIG_arg;
43273 
43274  if(0) SWIG_fail;
43275 
43276 fail:
43277  lua_error(L);
43278  return SWIG_arg;
43279 }
43280 
43281 
43282 static int _wrap_Plane_Distance_get(lua_State* L) {
43283  int SWIG_arg = 0;
43284  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43285  Mezzanine::Real result;
43286 
43287  SWIG_check_num_args("Mezzanine::Plane::Distance",1,1)
43288  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Distance",1,"Mezzanine::Plane *");
43289 
43290  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43291  SWIG_fail_ptr("Plane_Distance_get",1,SWIGTYPE_p_Mezzanine__Plane);
43292  }
43293 
43294  result = (Mezzanine::Real) ((arg1)->Distance);
43295  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
43296  return SWIG_arg;
43297 
43298  if(0) SWIG_fail;
43299 
43300 fail:
43301  lua_error(L);
43302  return SWIG_arg;
43303 }
43304 
43305 
43306 static int _wrap_new_Plane__SWIG_0(lua_State* L) {
43307  int SWIG_arg = 0;
43308  Mezzanine::Plane *result = 0 ;
43309 
43310  SWIG_check_num_args("Mezzanine::Plane::Plane",0,0)
43311  result = (Mezzanine::Plane *)new Mezzanine::Plane();
43312  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Plane,1); SWIG_arg++;
43313  return SWIG_arg;
43314 
43315  if(0) SWIG_fail;
43316 
43317 fail:
43318  lua_error(L);
43319  return SWIG_arg;
43320 }
43321 
43322 
43323 static int _wrap_new_Plane__SWIG_1(lua_State* L) {
43324  int SWIG_arg = 0;
43325  Mezzanine::Plane *arg1 = 0 ;
43326  Mezzanine::Plane *result = 0 ;
43327 
43328  SWIG_check_num_args("Mezzanine::Plane::Plane",1,1)
43329  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Plane::Plane",1,"Mezzanine::Plane const &");
43330 
43331  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43332  SWIG_fail_ptr("new_Plane",1,SWIGTYPE_p_Mezzanine__Plane);
43333  }
43334 
43335  result = (Mezzanine::Plane *)new Mezzanine::Plane((Mezzanine::Plane const &)*arg1);
43336  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Plane,1); SWIG_arg++;
43337  return SWIG_arg;
43338 
43339  if(0) SWIG_fail;
43340 
43341 fail:
43342  lua_error(L);
43343  return SWIG_arg;
43344 }
43345 
43346 
43347 static int _wrap_new_Plane__SWIG_2(lua_State* L) {
43348  int SWIG_arg = 0;
43349  Mezzanine::Vector3 *arg1 = 0 ;
43350  Mezzanine::Real arg2 ;
43351  Mezzanine::Plane *result = 0 ;
43352 
43353  SWIG_check_num_args("Mezzanine::Plane::Plane",2,2)
43354  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Plane::Plane",1,"Mezzanine::Vector3 const &");
43355  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Plane::Plane",2,"Mezzanine::Real const");
43356 
43357  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
43358  SWIG_fail_ptr("new_Plane",1,SWIGTYPE_p_Mezzanine__Vector3);
43359  }
43360 
43361  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
43362  result = (Mezzanine::Plane *)new Mezzanine::Plane((Mezzanine::Vector3 const &)*arg1,arg2);
43363  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Plane,1); SWIG_arg++;
43364  return SWIG_arg;
43365 
43366  if(0) SWIG_fail;
43367 
43368 fail:
43369  lua_error(L);
43370  return SWIG_arg;
43371 }
43372 
43373 
43374 static int _wrap_new_Plane__SWIG_3(lua_State* L) {
43375  int SWIG_arg = 0;
43376  Mezzanine::Vector3 *arg1 = 0 ;
43377  Mezzanine::Vector3 *arg2 = 0 ;
43378  Mezzanine::Plane *result = 0 ;
43379 
43380  SWIG_check_num_args("Mezzanine::Plane::Plane",2,2)
43381  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Plane::Plane",1,"Mezzanine::Vector3 const &");
43382  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::Plane",2,"Mezzanine::Vector3 const &");
43383 
43384  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
43385  SWIG_fail_ptr("new_Plane",1,SWIGTYPE_p_Mezzanine__Vector3);
43386  }
43387 
43388 
43389  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43390  SWIG_fail_ptr("new_Plane",2,SWIGTYPE_p_Mezzanine__Vector3);
43391  }
43392 
43393  result = (Mezzanine::Plane *)new Mezzanine::Plane((Mezzanine::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2);
43394  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Plane,1); SWIG_arg++;
43395  return SWIG_arg;
43396 
43397  if(0) SWIG_fail;
43398 
43399 fail:
43400  lua_error(L);
43401  return SWIG_arg;
43402 }
43403 
43404 
43405 static int _wrap_new_Plane__SWIG_4(lua_State* L) {
43406  int SWIG_arg = 0;
43407  Mezzanine::Vector3 *arg1 = 0 ;
43408  Mezzanine::Vector3 *arg2 = 0 ;
43409  Mezzanine::Vector3 *arg3 = 0 ;
43410  Mezzanine::Plane *result = 0 ;
43411 
43412  SWIG_check_num_args("Mezzanine::Plane::Plane",3,3)
43413  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Plane::Plane",1,"Mezzanine::Vector3 const &");
43414  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::Plane",2,"Mezzanine::Vector3 const &");
43415  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Plane::Plane",3,"Mezzanine::Vector3 const &");
43416 
43417  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Vector3,0))){
43418  SWIG_fail_ptr("new_Plane",1,SWIGTYPE_p_Mezzanine__Vector3);
43419  }
43420 
43421 
43422  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43423  SWIG_fail_ptr("new_Plane",2,SWIGTYPE_p_Mezzanine__Vector3);
43424  }
43425 
43426 
43427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
43428  SWIG_fail_ptr("new_Plane",3,SWIGTYPE_p_Mezzanine__Vector3);
43429  }
43430 
43431  result = (Mezzanine::Plane *)new Mezzanine::Plane((Mezzanine::Vector3 const &)*arg1,(Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3);
43432  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Plane,1); SWIG_arg++;
43433  return SWIG_arg;
43434 
43435  if(0) SWIG_fail;
43436 
43437 fail:
43438  lua_error(L);
43439  return SWIG_arg;
43440 }
43441 
43442 
43443 static int _wrap_new_Plane__SWIG_5(lua_State* L) {
43444  int SWIG_arg = 0;
43445  Ogre::Plane *arg1 = 0 ;
43446  Mezzanine::Plane *result = 0 ;
43447 
43448  SWIG_check_num_args("Mezzanine::Plane::Plane",1,1)
43449  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Plane::Plane",1,"Ogre::Plane const &");
43450 
43451  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Ogre__Plane,0))){
43452  SWIG_fail_ptr("new_Plane",1,SWIGTYPE_p_Ogre__Plane);
43453  }
43454 
43455  result = (Mezzanine::Plane *)new Mezzanine::Plane((Ogre::Plane const &)*arg1);
43456  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Plane,1); SWIG_arg++;
43457  return SWIG_arg;
43458 
43459  if(0) SWIG_fail;
43460 
43461 fail:
43462  lua_error(L);
43463  return SWIG_arg;
43464 }
43465 
43466 
43467 static int _wrap_new_Plane(lua_State* L) {
43468  int argc;
43469  int argv[4]={
43470  1,2,3,4
43471  };
43472 
43473  argc = lua_gettop(L);
43474  if (argc == 0) {
43475  return _wrap_new_Plane__SWIG_0(L);
43476  }
43477  if (argc == 1) {
43478  int _v;
43479  {
43480  void *ptr;
43481  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
43482  _v = 0;
43483  } else {
43484  _v = 1;
43485  }
43486  }
43487  if (_v) {
43488  return _wrap_new_Plane__SWIG_1(L);
43489  }
43490  }
43491  if (argc == 1) {
43492  int _v;
43493  {
43494  void *ptr;
43495  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Ogre__Plane, 0)) {
43496  _v = 0;
43497  } else {
43498  _v = 1;
43499  }
43500  }
43501  if (_v) {
43502  return _wrap_new_Plane__SWIG_5(L);
43503  }
43504  }
43505  if (argc == 2) {
43506  int _v;
43507  {
43508  void *ptr;
43509  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43510  _v = 0;
43511  } else {
43512  _v = 1;
43513  }
43514  }
43515  if (_v) {
43516  {
43517  void *ptr;
43518  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43519  _v = 0;
43520  } else {
43521  _v = 1;
43522  }
43523  }
43524  if (_v) {
43525  return _wrap_new_Plane__SWIG_3(L);
43526  }
43527  }
43528  }
43529  if (argc == 2) {
43530  int _v;
43531  {
43532  void *ptr;
43533  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43534  _v = 0;
43535  } else {
43536  _v = 1;
43537  }
43538  }
43539  if (_v) {
43540  {
43541  _v = lua_isnumber(L,argv[1]);
43542  }
43543  if (_v) {
43544  return _wrap_new_Plane__SWIG_2(L);
43545  }
43546  }
43547  }
43548  if (argc == 3) {
43549  int _v;
43550  {
43551  void *ptr;
43552  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43553  _v = 0;
43554  } else {
43555  _v = 1;
43556  }
43557  }
43558  if (_v) {
43559  {
43560  void *ptr;
43561  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43562  _v = 0;
43563  } else {
43564  _v = 1;
43565  }
43566  }
43567  if (_v) {
43568  {
43569  void *ptr;
43570  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43571  _v = 0;
43572  } else {
43573  _v = 1;
43574  }
43575  }
43576  if (_v) {
43577  return _wrap_new_Plane__SWIG_4(L);
43578  }
43579  }
43580  }
43581  }
43582 
43583  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Plane'\n"
43584  " Possible C/C++ prototypes are:\n"
43585  " Mezzanine::Plane::Plane()\n"
43586  " Mezzanine::Plane::Plane(Mezzanine::Plane const &)\n"
43587  " Mezzanine::Plane::Plane(Mezzanine::Vector3 const &,Mezzanine::Real const)\n"
43588  " Mezzanine::Plane::Plane(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &)\n"
43589  " Mezzanine::Plane::Plane(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &,Mezzanine::Vector3 const &)\n"
43590  " Mezzanine::Plane::Plane(Ogre::Plane const &)\n");
43591  lua_error(L);return 0;
43592 }
43593 
43594 
43595 static int _wrap_Plane_Define__SWIG_0(lua_State* L) {
43596  int SWIG_arg = 0;
43597  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43598  Mezzanine::Vector3 *arg2 = 0 ;
43599  Mezzanine::Real arg3 ;
43600 
43601  SWIG_check_num_args("Mezzanine::Plane::Define",3,3)
43602  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Define",1,"Mezzanine::Plane *");
43603  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::Define",2,"Mezzanine::Vector3 const &");
43604  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Plane::Define",3,"Mezzanine::Real const");
43605 
43606  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43607  SWIG_fail_ptr("Plane_Define",1,SWIGTYPE_p_Mezzanine__Plane);
43608  }
43609 
43610 
43611  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43612  SWIG_fail_ptr("Plane_Define",2,SWIGTYPE_p_Mezzanine__Vector3);
43613  }
43614 
43615  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
43616  (arg1)->Define((Mezzanine::Vector3 const &)*arg2,arg3);
43617 
43618  return SWIG_arg;
43619 
43620  if(0) SWIG_fail;
43621 
43622 fail:
43623  lua_error(L);
43624  return SWIG_arg;
43625 }
43626 
43627 
43628 static int _wrap_Plane_Define__SWIG_1(lua_State* L) {
43629  int SWIG_arg = 0;
43630  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43631  Mezzanine::Vector3 *arg2 = 0 ;
43632  Mezzanine::Vector3 *arg3 = 0 ;
43633 
43634  SWIG_check_num_args("Mezzanine::Plane::Define",3,3)
43635  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Define",1,"Mezzanine::Plane *");
43636  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::Define",2,"Mezzanine::Vector3 const &");
43637  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Plane::Define",3,"Mezzanine::Vector3 const &");
43638 
43639  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43640  SWIG_fail_ptr("Plane_Define",1,SWIGTYPE_p_Mezzanine__Plane);
43641  }
43642 
43643 
43644  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43645  SWIG_fail_ptr("Plane_Define",2,SWIGTYPE_p_Mezzanine__Vector3);
43646  }
43647 
43648 
43649  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
43650  SWIG_fail_ptr("Plane_Define",3,SWIGTYPE_p_Mezzanine__Vector3);
43651  }
43652 
43653  (arg1)->Define((Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3);
43654 
43655  return SWIG_arg;
43656 
43657  if(0) SWIG_fail;
43658 
43659 fail:
43660  lua_error(L);
43661  return SWIG_arg;
43662 }
43663 
43664 
43665 static int _wrap_Plane_Define__SWIG_2(lua_State* L) {
43666  int SWIG_arg = 0;
43667  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43668  Mezzanine::Vector3 *arg2 = 0 ;
43669  Mezzanine::Vector3 *arg3 = 0 ;
43670  Mezzanine::Vector3 *arg4 = 0 ;
43671 
43672  SWIG_check_num_args("Mezzanine::Plane::Define",4,4)
43673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Define",1,"Mezzanine::Plane *");
43674  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::Define",2,"Mezzanine::Vector3 const &");
43675  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Plane::Define",3,"Mezzanine::Vector3 const &");
43676  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Plane::Define",4,"Mezzanine::Vector3 const &");
43677 
43678  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43679  SWIG_fail_ptr("Plane_Define",1,SWIGTYPE_p_Mezzanine__Plane);
43680  }
43681 
43682 
43683  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43684  SWIG_fail_ptr("Plane_Define",2,SWIGTYPE_p_Mezzanine__Vector3);
43685  }
43686 
43687 
43688  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
43689  SWIG_fail_ptr("Plane_Define",3,SWIGTYPE_p_Mezzanine__Vector3);
43690  }
43691 
43692 
43693  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
43694  SWIG_fail_ptr("Plane_Define",4,SWIGTYPE_p_Mezzanine__Vector3);
43695  }
43696 
43697  (arg1)->Define((Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3,(Mezzanine::Vector3 const &)*arg4);
43698 
43699  return SWIG_arg;
43700 
43701  if(0) SWIG_fail;
43702 
43703 fail:
43704  lua_error(L);
43705  return SWIG_arg;
43706 }
43707 
43708 
43709 static int _wrap_Plane_Define(lua_State* L) {
43710  int argc;
43711  int argv[5]={
43712  1,2,3,4,5
43713  };
43714 
43715  argc = lua_gettop(L);
43716  if (argc == 3) {
43717  int _v;
43718  {
43719  void *ptr;
43720  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
43721  _v = 0;
43722  } else {
43723  _v = 1;
43724  }
43725  }
43726  if (_v) {
43727  {
43728  void *ptr;
43729  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43730  _v = 0;
43731  } else {
43732  _v = 1;
43733  }
43734  }
43735  if (_v) {
43736  {
43737  void *ptr;
43738  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43739  _v = 0;
43740  } else {
43741  _v = 1;
43742  }
43743  }
43744  if (_v) {
43745  return _wrap_Plane_Define__SWIG_1(L);
43746  }
43747  }
43748  }
43749  }
43750  if (argc == 3) {
43751  int _v;
43752  {
43753  void *ptr;
43754  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
43755  _v = 0;
43756  } else {
43757  _v = 1;
43758  }
43759  }
43760  if (_v) {
43761  {
43762  void *ptr;
43763  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43764  _v = 0;
43765  } else {
43766  _v = 1;
43767  }
43768  }
43769  if (_v) {
43770  {
43771  _v = lua_isnumber(L,argv[2]);
43772  }
43773  if (_v) {
43774  return _wrap_Plane_Define__SWIG_0(L);
43775  }
43776  }
43777  }
43778  }
43779  if (argc == 4) {
43780  int _v;
43781  {
43782  void *ptr;
43783  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
43784  _v = 0;
43785  } else {
43786  _v = 1;
43787  }
43788  }
43789  if (_v) {
43790  {
43791  void *ptr;
43792  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43793  _v = 0;
43794  } else {
43795  _v = 1;
43796  }
43797  }
43798  if (_v) {
43799  {
43800  void *ptr;
43801  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43802  _v = 0;
43803  } else {
43804  _v = 1;
43805  }
43806  }
43807  if (_v) {
43808  {
43809  void *ptr;
43810  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43811  _v = 0;
43812  } else {
43813  _v = 1;
43814  }
43815  }
43816  if (_v) {
43817  return _wrap_Plane_Define__SWIG_2(L);
43818  }
43819  }
43820  }
43821  }
43822  }
43823 
43824  lua_pushstring(L,"Wrong arguments for overloaded function 'Plane_Define'\n"
43825  " Possible C/C++ prototypes are:\n"
43826  " Mezzanine::Plane::Define(Mezzanine::Vector3 const &,Mezzanine::Real const)\n"
43827  " Mezzanine::Plane::Define(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &)\n"
43828  " Mezzanine::Plane::Define(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &,Mezzanine::Vector3 const &)\n");
43829  lua_error(L);return 0;
43830 }
43831 
43832 
43833 static int _wrap_Plane_GetSide__SWIG_0(lua_State* L) {
43834  int SWIG_arg = 0;
43835  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43836  Mezzanine::Vector3 *arg2 = 0 ;
43837  Mezzanine::Plane::Side result;
43838 
43839  SWIG_check_num_args("Mezzanine::Plane::GetSide",2,2)
43840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::GetSide",1,"Mezzanine::Plane const *");
43841  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::GetSide",2,"Mezzanine::Vector3 const &");
43842 
43843  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43844  SWIG_fail_ptr("Plane_GetSide",1,SWIGTYPE_p_Mezzanine__Plane);
43845  }
43846 
43847 
43848  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43849  SWIG_fail_ptr("Plane_GetSide",2,SWIGTYPE_p_Mezzanine__Vector3);
43850  }
43851 
43852  result = (Mezzanine::Plane::Side)((Mezzanine::Plane const *)arg1)->GetSide((Mezzanine::Vector3 const &)*arg2);
43853  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
43854  return SWIG_arg;
43855 
43856  if(0) SWIG_fail;
43857 
43858 fail:
43859  lua_error(L);
43860  return SWIG_arg;
43861 }
43862 
43863 
43864 static int _wrap_Plane_GetSide__SWIG_1(lua_State* L) {
43865  int SWIG_arg = 0;
43866  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43867  Mezzanine::Vector3 *arg2 = 0 ;
43868  Mezzanine::Vector3 *arg3 = 0 ;
43869  Mezzanine::Plane::Side result;
43870 
43871  SWIG_check_num_args("Mezzanine::Plane::GetSide",3,3)
43872  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::GetSide",1,"Mezzanine::Plane const *");
43873  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::GetSide",2,"Mezzanine::Vector3 const &");
43874  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Plane::GetSide",3,"Mezzanine::Vector3 const &");
43875 
43876  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43877  SWIG_fail_ptr("Plane_GetSide",1,SWIGTYPE_p_Mezzanine__Plane);
43878  }
43879 
43880 
43881  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43882  SWIG_fail_ptr("Plane_GetSide",2,SWIGTYPE_p_Mezzanine__Vector3);
43883  }
43884 
43885 
43886  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
43887  SWIG_fail_ptr("Plane_GetSide",3,SWIGTYPE_p_Mezzanine__Vector3);
43888  }
43889 
43890  result = (Mezzanine::Plane::Side)((Mezzanine::Plane const *)arg1)->GetSide((Mezzanine::Vector3 const &)*arg2,(Mezzanine::Vector3 const &)*arg3);
43891  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
43892  return SWIG_arg;
43893 
43894  if(0) SWIG_fail;
43895 
43896 fail:
43897  lua_error(L);
43898  return SWIG_arg;
43899 }
43900 
43901 
43902 static int _wrap_Plane_GetSide(lua_State* L) {
43903  int argc;
43904  int argv[4]={
43905  1,2,3,4
43906  };
43907 
43908  argc = lua_gettop(L);
43909  if (argc == 2) {
43910  int _v;
43911  {
43912  void *ptr;
43913  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
43914  _v = 0;
43915  } else {
43916  _v = 1;
43917  }
43918  }
43919  if (_v) {
43920  {
43921  void *ptr;
43922  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43923  _v = 0;
43924  } else {
43925  _v = 1;
43926  }
43927  }
43928  if (_v) {
43929  return _wrap_Plane_GetSide__SWIG_0(L);
43930  }
43931  }
43932  }
43933  if (argc == 3) {
43934  int _v;
43935  {
43936  void *ptr;
43937  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
43938  _v = 0;
43939  } else {
43940  _v = 1;
43941  }
43942  }
43943  if (_v) {
43944  {
43945  void *ptr;
43946  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43947  _v = 0;
43948  } else {
43949  _v = 1;
43950  }
43951  }
43952  if (_v) {
43953  {
43954  void *ptr;
43955  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
43956  _v = 0;
43957  } else {
43958  _v = 1;
43959  }
43960  }
43961  if (_v) {
43962  return _wrap_Plane_GetSide__SWIG_1(L);
43963  }
43964  }
43965  }
43966  }
43967 
43968  lua_pushstring(L,"Wrong arguments for overloaded function 'Plane_GetSide'\n"
43969  " Possible C/C++ prototypes are:\n"
43970  " Mezzanine::Plane::GetSide(Mezzanine::Vector3 const &) const\n"
43971  " Mezzanine::Plane::GetSide(Mezzanine::Vector3 const &,Mezzanine::Vector3 const &) const\n");
43972  lua_error(L);return 0;
43973 }
43974 
43975 
43976 static int _wrap_Plane_GetDistance(lua_State* L) {
43977  int SWIG_arg = 0;
43978  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
43979  Mezzanine::Vector3 *arg2 = 0 ;
43980  Mezzanine::Real result;
43981 
43982  SWIG_check_num_args("Mezzanine::Plane::GetDistance",2,2)
43983  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::GetDistance",1,"Mezzanine::Plane const *");
43984  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::GetDistance",2,"Mezzanine::Vector3 const &");
43985 
43986  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
43987  SWIG_fail_ptr("Plane_GetDistance",1,SWIGTYPE_p_Mezzanine__Plane);
43988  }
43989 
43990 
43991  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
43992  SWIG_fail_ptr("Plane_GetDistance",2,SWIGTYPE_p_Mezzanine__Vector3);
43993  }
43994 
43995  result = (Mezzanine::Real)((Mezzanine::Plane const *)arg1)->GetDistance((Mezzanine::Vector3 const &)*arg2);
43996  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
43997  return SWIG_arg;
43998 
43999  if(0) SWIG_fail;
44000 
44001 fail:
44002  lua_error(L);
44003  return SWIG_arg;
44004 }
44005 
44006 
44007 static int _wrap_Plane_IsOverlapping__SWIG_0(lua_State* L) {
44008  int SWIG_arg = 0;
44009  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44010  Mezzanine::Sphere *arg2 = 0 ;
44011  Mezzanine::Boole result;
44012 
44013  SWIG_check_num_args("Mezzanine::Plane::IsOverlapping",2,2)
44014  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::IsOverlapping",1,"Mezzanine::Plane const *");
44015  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::IsOverlapping",2,"Mezzanine::Sphere const &");
44016 
44017  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44018  SWIG_fail_ptr("Plane_IsOverlapping",1,SWIGTYPE_p_Mezzanine__Plane);
44019  }
44020 
44021 
44022  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Sphere,0))){
44023  SWIG_fail_ptr("Plane_IsOverlapping",2,SWIGTYPE_p_Mezzanine__Sphere);
44024  }
44025 
44026  result = (Mezzanine::Boole)((Mezzanine::Plane const *)arg1)->IsOverlapping((Mezzanine::Sphere const &)*arg2);
44027  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
44028  return SWIG_arg;
44029 
44030  if(0) SWIG_fail;
44031 
44032 fail:
44033  lua_error(L);
44034  return SWIG_arg;
44035 }
44036 
44037 
44038 static int _wrap_Plane_IsOverlapping__SWIG_1(lua_State* L) {
44039  int SWIG_arg = 0;
44040  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44041  Mezzanine::AxisAlignedBox *arg2 = 0 ;
44042  Mezzanine::Boole result;
44043 
44044  SWIG_check_num_args("Mezzanine::Plane::IsOverlapping",2,2)
44045  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::IsOverlapping",1,"Mezzanine::Plane const *");
44046  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::IsOverlapping",2,"Mezzanine::AxisAlignedBox const &");
44047 
44048  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44049  SWIG_fail_ptr("Plane_IsOverlapping",1,SWIGTYPE_p_Mezzanine__Plane);
44050  }
44051 
44052 
44053  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__AxisAlignedBox,0))){
44054  SWIG_fail_ptr("Plane_IsOverlapping",2,SWIGTYPE_p_Mezzanine__AxisAlignedBox);
44055  }
44056 
44057  result = (Mezzanine::Boole)((Mezzanine::Plane const *)arg1)->IsOverlapping((Mezzanine::AxisAlignedBox const &)*arg2);
44058  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
44059  return SWIG_arg;
44060 
44061  if(0) SWIG_fail;
44062 
44063 fail:
44064  lua_error(L);
44065  return SWIG_arg;
44066 }
44067 
44068 
44069 static int _wrap_Plane_IsOverlapping__SWIG_2(lua_State* L) {
44070  int SWIG_arg = 0;
44071  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44072  Mezzanine::Plane *arg2 = 0 ;
44073  Mezzanine::Boole result;
44074 
44075  SWIG_check_num_args("Mezzanine::Plane::IsOverlapping",2,2)
44076  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::IsOverlapping",1,"Mezzanine::Plane const *");
44077  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::IsOverlapping",2,"Mezzanine::Plane const &");
44078 
44079  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44080  SWIG_fail_ptr("Plane_IsOverlapping",1,SWIGTYPE_p_Mezzanine__Plane);
44081  }
44082 
44083 
44084  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Plane,0))){
44085  SWIG_fail_ptr("Plane_IsOverlapping",2,SWIGTYPE_p_Mezzanine__Plane);
44086  }
44087 
44088  result = (Mezzanine::Boole)((Mezzanine::Plane const *)arg1)->IsOverlapping((Mezzanine::Plane const &)*arg2);
44089  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
44090  return SWIG_arg;
44091 
44092  if(0) SWIG_fail;
44093 
44094 fail:
44095  lua_error(L);
44096  return SWIG_arg;
44097 }
44098 
44099 
44100 static int _wrap_Plane_IsOverlapping(lua_State* L) {
44101  int argc;
44102  int argv[3]={
44103  1,2,3
44104  };
44105 
44106  argc = lua_gettop(L);
44107  if (argc == 2) {
44108  int _v;
44109  {
44110  void *ptr;
44111  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
44112  _v = 0;
44113  } else {
44114  _v = 1;
44115  }
44116  }
44117  if (_v) {
44118  {
44119  void *ptr;
44120  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Sphere, 0)) {
44121  _v = 0;
44122  } else {
44123  _v = 1;
44124  }
44125  }
44126  if (_v) {
44127  return _wrap_Plane_IsOverlapping__SWIG_0(L);
44128  }
44129  }
44130  }
44131  if (argc == 2) {
44132  int _v;
44133  {
44134  void *ptr;
44135  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
44136  _v = 0;
44137  } else {
44138  _v = 1;
44139  }
44140  }
44141  if (_v) {
44142  {
44143  void *ptr;
44144  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__AxisAlignedBox, 0)) {
44145  _v = 0;
44146  } else {
44147  _v = 1;
44148  }
44149  }
44150  if (_v) {
44151  return _wrap_Plane_IsOverlapping__SWIG_1(L);
44152  }
44153  }
44154  }
44155  if (argc == 2) {
44156  int _v;
44157  {
44158  void *ptr;
44159  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
44160  _v = 0;
44161  } else {
44162  _v = 1;
44163  }
44164  }
44165  if (_v) {
44166  {
44167  void *ptr;
44168  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
44169  _v = 0;
44170  } else {
44171  _v = 1;
44172  }
44173  }
44174  if (_v) {
44175  return _wrap_Plane_IsOverlapping__SWIG_2(L);
44176  }
44177  }
44178  }
44179 
44180  lua_pushstring(L,"Wrong arguments for overloaded function 'Plane_IsOverlapping'\n"
44181  " Possible C/C++ prototypes are:\n"
44182  " Mezzanine::Plane::IsOverlapping(Mezzanine::Sphere const &) const\n"
44183  " Mezzanine::Plane::IsOverlapping(Mezzanine::AxisAlignedBox const &) const\n"
44184  " Mezzanine::Plane::IsOverlapping(Mezzanine::Plane const &) const\n");
44185  lua_error(L);return 0;
44186 }
44187 
44188 
44189 static int _wrap_Plane_Intersects(lua_State* L) {
44190  int SWIG_arg = 0;
44191  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44192  Mezzanine::Ray *arg2 = 0 ;
44193  SwigValueWrapper< std::pair< bool,Mezzanine::Vector3 > > result;
44194 
44195  SWIG_check_num_args("Mezzanine::Plane::Intersects",2,2)
44196  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::Intersects",1,"Mezzanine::Plane const *");
44197  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::Intersects",2,"Mezzanine::Ray const &");
44198 
44199  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44200  SWIG_fail_ptr("Plane_Intersects",1,SWIGTYPE_p_Mezzanine__Plane);
44201  }
44202 
44203 
44204  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Ray,0))){
44205  SWIG_fail_ptr("Plane_Intersects",2,SWIGTYPE_p_Mezzanine__Ray);
44206  }
44207 
44208  result = ((Mezzanine::Plane const *)arg1)->Intersects((Mezzanine::Ray const &)*arg2);
44209  {
44211  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__pairT_bool_Mezzanine__Vector3_t,1); SWIG_arg++;
44212  }
44213  return SWIG_arg;
44214 
44215  if(0) SWIG_fail;
44216 
44217 fail:
44218  lua_error(L);
44219  return SWIG_arg;
44220 }
44221 
44222 
44223 static int _wrap_Plane_ExtractOgrePlane(lua_State* L) {
44224  int SWIG_arg = 0;
44225  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44226  Ogre::Plane *arg2 = 0 ;
44227 
44228  SWIG_check_num_args("Mezzanine::Plane::ExtractOgrePlane",2,2)
44229  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::ExtractOgrePlane",1,"Mezzanine::Plane *");
44230  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::ExtractOgrePlane",2,"Ogre::Plane const &");
44231 
44232  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44233  SWIG_fail_ptr("Plane_ExtractOgrePlane",1,SWIGTYPE_p_Mezzanine__Plane);
44234  }
44235 
44236 
44237  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Ogre__Plane,0))){
44238  SWIG_fail_ptr("Plane_ExtractOgrePlane",2,SWIGTYPE_p_Ogre__Plane);
44239  }
44240 
44241  (arg1)->ExtractOgrePlane((Ogre::Plane const &)*arg2);
44242 
44243  return SWIG_arg;
44244 
44245  if(0) SWIG_fail;
44246 
44247 fail:
44248  lua_error(L);
44249  return SWIG_arg;
44250 }
44251 
44252 
44253 static int _wrap_Plane_GetOgrePlane(lua_State* L) {
44254  int SWIG_arg = 0;
44255  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44256  Ogre::Plane result;
44257 
44258  SWIG_check_num_args("Mezzanine::Plane::GetOgrePlane",1,1)
44259  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::GetOgrePlane",1,"Mezzanine::Plane const *");
44260 
44261  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44262  SWIG_fail_ptr("Plane_GetOgrePlane",1,SWIGTYPE_p_Mezzanine__Plane);
44263  }
44264 
44265  result = ((Mezzanine::Plane const *)arg1)->GetOgrePlane();
44266  {
44267  Ogre::Plane * resultptr = new Ogre::Plane((const Ogre::Plane &) result);
44268  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Ogre__Plane,1); SWIG_arg++;
44269  }
44270  return SWIG_arg;
44271 
44272  if(0) SWIG_fail;
44273 
44274 fail:
44275  lua_error(L);
44276  return SWIG_arg;
44277 }
44278 
44279 
44280 static int _wrap_Plane_ProtoSerialize(lua_State* L) {
44281  int SWIG_arg = 0;
44282  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44283  XML::Node *arg2 = 0 ;
44284 
44285  SWIG_check_num_args("Mezzanine::Plane::ProtoSerialize",2,2)
44286  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::ProtoSerialize",1,"Mezzanine::Plane const *");
44287  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::ProtoSerialize",2,"XML::Node &");
44288 
44289  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44290  SWIG_fail_ptr("Plane_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Plane);
44291  }
44292 
44293 
44294  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
44295  SWIG_fail_ptr("Plane_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
44296  }
44297 
44298  ((Mezzanine::Plane const *)arg1)->ProtoSerialize(*arg2);
44299 
44300  return SWIG_arg;
44301 
44302  if(0) SWIG_fail;
44303 
44304 fail:
44305  lua_error(L);
44306  return SWIG_arg;
44307 }
44308 
44309 
44310 static int _wrap_Plane_ProtoDeSerialize(lua_State* L) {
44311  int SWIG_arg = 0;
44312  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44313  XML::Node *arg2 = 0 ;
44314 
44315  SWIG_check_num_args("Mezzanine::Plane::ProtoDeSerialize",2,2)
44316  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::ProtoDeSerialize",1,"Mezzanine::Plane *");
44317  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::ProtoDeSerialize",2,"XML::Node const &");
44318 
44319  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44320  SWIG_fail_ptr("Plane_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Plane);
44321  }
44322 
44323 
44324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
44325  SWIG_fail_ptr("Plane_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
44326  }
44327 
44328  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
44329 
44330  return SWIG_arg;
44331 
44332  if(0) SWIG_fail;
44333 
44334 fail:
44335  lua_error(L);
44336  return SWIG_arg;
44337 }
44338 
44339 
44340 static int _wrap_Plane_GetSerializableName(lua_State* L) {
44341  int SWIG_arg = 0;
44342  Mezzanine::String result;
44343 
44344  SWIG_check_num_args("Mezzanine::Plane::GetSerializableName",0,0)
44345  result = Mezzanine::Plane::GetSerializableName();
44346  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
44347  return SWIG_arg;
44348 
44349  if(0) SWIG_fail;
44350 
44351 fail:
44352  lua_error(L);
44353  return SWIG_arg;
44354 }
44355 
44356 
44357 static int _wrap_Plane___eq(lua_State* L) {
44358  int SWIG_arg = 0;
44359  Mezzanine::Plane *arg1 = (Mezzanine::Plane *) 0 ;
44360  Mezzanine::Plane *arg2 = 0 ;
44361  Mezzanine::Boole result;
44362 
44363  SWIG_check_num_args("Mezzanine::Plane::operator ==",2,2)
44364  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Plane::operator ==",1,"Mezzanine::Plane const *");
44365  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Plane::operator ==",2,"Mezzanine::Plane const &");
44366 
44367  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Plane,0))){
44368  SWIG_fail_ptr("Plane___eq",1,SWIGTYPE_p_Mezzanine__Plane);
44369  }
44370 
44371 
44372  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Plane,0))){
44373  SWIG_fail_ptr("Plane___eq",2,SWIGTYPE_p_Mezzanine__Plane);
44374  }
44375 
44376  result = (Mezzanine::Boole)((Mezzanine::Plane const *)arg1)->operator ==((Mezzanine::Plane const &)*arg2);
44377  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
44378  return SWIG_arg;
44379 
44380  if(0) SWIG_fail;
44381 
44382 fail:
44383  lua_error(L);
44384  return SWIG_arg;
44385 }
44386 
44387 
44388 static void swig_delete_Plane(void *obj) {
44389 Mezzanine::Plane *arg1 = (Mezzanine::Plane *) obj;
44390 delete arg1;
44391 }
44392 static swig_lua_method swig_Mezzanine_Plane_methods[] = {
44393  {"Define", _wrap_Plane_Define},
44394  {"GetSide", _wrap_Plane_GetSide},
44395  {"GetDistance", _wrap_Plane_GetDistance},
44396  {"IsOverlapping", _wrap_Plane_IsOverlapping},
44397  {"Intersects", _wrap_Plane_Intersects},
44398  {"ExtractOgrePlane", _wrap_Plane_ExtractOgrePlane},
44399  {"GetOgrePlane", _wrap_Plane_GetOgrePlane},
44400  {"ProtoSerialize", _wrap_Plane_ProtoSerialize},
44401  {"ProtoDeSerialize", _wrap_Plane_ProtoDeSerialize},
44402  {"__eq", _wrap_Plane___eq},
44403  {0,0}
44404 };
44405 static swig_lua_attribute swig_Mezzanine_Plane_attributes[] = {
44406  { "Normal", _wrap_Plane_Normal_get, _wrap_Plane_Normal_set},
44407  { "Distance", _wrap_Plane_Distance_get, _wrap_Plane_Distance_set},
44408  {0,0,0}
44409 };
44410 static swig_lua_class *swig_Mezzanine_Plane_bases[] = {0};
44411 static const char *swig_Mezzanine_Plane_base_names[] = {0};
44412 static swig_lua_class _wrap_class_Mezzanine_Plane = { "Plane", &SWIGTYPE_p_Mezzanine__Plane,_wrap_new_Plane, swig_delete_Plane, swig_Mezzanine_Plane_methods, swig_Mezzanine_Plane_attributes, swig_Mezzanine_Plane_bases, swig_Mezzanine_Plane_base_names };
44413 
44414 static int _wrap_new_PlaneCollisionShape__SWIG_0(lua_State* L) {
44415  int SWIG_arg = 0;
44416  Mezzanine::String *arg1 = 0 ;
44417  Mezzanine::Plane *arg2 = 0 ;
44418  Mezzanine::String temp1 ;
44420 
44421  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",2,2)
44422  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",1,"Mezzanine::String const &");
44423  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",2,"Mezzanine::Plane const &");
44424  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
44425 
44426  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Plane,0))){
44427  SWIG_fail_ptr("new_PlaneCollisionShape",2,SWIGTYPE_p_Mezzanine__Plane);
44428  }
44429 
44431  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,1); SWIG_arg++;
44432  return SWIG_arg;
44433 
44434  if(0) SWIG_fail;
44435 
44436 fail:
44437  lua_error(L);
44438  return SWIG_arg;
44439 }
44440 
44441 
44442 static int _wrap_new_PlaneCollisionShape__SWIG_1(lua_State* L) {
44443  int SWIG_arg = 0;
44444  Mezzanine::String *arg1 = 0 ;
44445  Mezzanine::Physics::Vector3 *arg2 = 0 ;
44446  Mezzanine::Real arg3 ;
44447  Mezzanine::String temp1 ;
44449 
44450  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",3,3)
44451  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",1,"Mezzanine::String const &");
44452  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",2,"Mezzanine::Physics::Vector3 const &");
44453  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",3,"Mezzanine::Real const");
44454  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
44455 
44456  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
44457  SWIG_fail_ptr("new_PlaneCollisionShape",2,SWIGTYPE_p_Mezzanine__Vector3);
44458  }
44459 
44460  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
44462  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,1); SWIG_arg++;
44463  return SWIG_arg;
44464 
44465  if(0) SWIG_fail;
44466 
44467 fail:
44468  lua_error(L);
44469  return SWIG_arg;
44470 }
44471 
44472 
44473 static int _wrap_new_PlaneCollisionShape__SWIG_2(lua_State* L) {
44474  int SWIG_arg = 0;
44475  Mezzanine::String *arg1 = 0 ;
44476  btStaticPlaneShape *arg2 = (btStaticPlaneShape *) 0 ;
44477  Mezzanine::String temp1 ;
44479 
44480  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",2,2)
44481  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",1,"Mezzanine::String const &");
44482  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",2,"btStaticPlaneShape *");
44483  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
44484 
44485  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btStaticPlaneShape,0))){
44486  SWIG_fail_ptr("new_PlaneCollisionShape",2,SWIGTYPE_p_btStaticPlaneShape);
44487  }
44488 
44490  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,1); SWIG_arg++;
44491  return SWIG_arg;
44492 
44493  if(0) SWIG_fail;
44494 
44495 fail:
44496  lua_error(L);
44497  return SWIG_arg;
44498 }
44499 
44500 
44501 static int _wrap_new_PlaneCollisionShape__SWIG_3(lua_State* L) {
44502  int SWIG_arg = 0;
44503  XML::Node *arg1 = 0 ;
44505 
44506  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",1,1)
44507  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape",1,"XML::Node const &");
44508 
44509  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
44510  SWIG_fail_ptr("new_PlaneCollisionShape",1,SWIGTYPE_p_XML__Node);
44511  }
44512 
44514  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,1); SWIG_arg++;
44515  return SWIG_arg;
44516 
44517  if(0) SWIG_fail;
44518 
44519 fail:
44520  lua_error(L);
44521  return SWIG_arg;
44522 }
44523 
44524 
44525 static int _wrap_new_PlaneCollisionShape(lua_State* L) {
44526  int argc;
44527  int argv[4]={
44528  1,2,3,4
44529  };
44530 
44531  argc = lua_gettop(L);
44532  if (argc == 1) {
44533  int _v;
44534  {
44535  void *ptr;
44536  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
44537  _v = 0;
44538  } else {
44539  _v = 1;
44540  }
44541  }
44542  if (_v) {
44543  return _wrap_new_PlaneCollisionShape__SWIG_3(L);
44544  }
44545  }
44546  if (argc == 2) {
44547  int _v;
44548  {
44549  _v = lua_isstring(L,argv[0]);
44550  }
44551  if (_v) {
44552  {
44553  void *ptr;
44554  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btStaticPlaneShape, 0)) {
44555  _v = 0;
44556  } else {
44557  _v = 1;
44558  }
44559  }
44560  if (_v) {
44561  return _wrap_new_PlaneCollisionShape__SWIG_2(L);
44562  }
44563  }
44564  }
44565  if (argc == 2) {
44566  int _v;
44567  {
44568  _v = lua_isstring(L,argv[0]);
44569  }
44570  if (_v) {
44571  {
44572  void *ptr;
44573  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Plane, 0)) {
44574  _v = 0;
44575  } else {
44576  _v = 1;
44577  }
44578  }
44579  if (_v) {
44580  return _wrap_new_PlaneCollisionShape__SWIG_0(L);
44581  }
44582  }
44583  }
44584  if (argc == 3) {
44585  int _v;
44586  {
44587  _v = lua_isstring(L,argv[0]);
44588  }
44589  if (_v) {
44590  {
44591  void *ptr;
44592  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
44593  _v = 0;
44594  } else {
44595  _v = 1;
44596  }
44597  }
44598  if (_v) {
44599  {
44600  _v = lua_isnumber(L,argv[2]);
44601  }
44602  if (_v) {
44603  return _wrap_new_PlaneCollisionShape__SWIG_1(L);
44604  }
44605  }
44606  }
44607  }
44608 
44609  lua_pushstring(L,"Wrong arguments for overloaded function 'new_PlaneCollisionShape'\n"
44610  " Possible C/C++ prototypes are:\n"
44611  " Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape(Mezzanine::String const &,Mezzanine::Plane const &)\n"
44612  " Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape(Mezzanine::String const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Real const)\n"
44613  " Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape(Mezzanine::String const &,btStaticPlaneShape *)\n"
44614  " Mezzanine::Physics::PlaneCollisionShape::PlaneCollisionShape(XML::Node const &)\n");
44615  lua_error(L);return 0;
44616 }
44617 
44618 
44619 static int _wrap_PlaneCollisionShape_GetNormal(lua_State* L) {
44620  int SWIG_arg = 0;
44623 
44624  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::GetNormal",1,1)
44625  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::GetNormal",1,"Mezzanine::Physics::PlaneCollisionShape const *");
44626 
44627  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,0))){
44628  SWIG_fail_ptr("PlaneCollisionShape_GetNormal",1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape);
44629  }
44630 
44631  result = ((Mezzanine::Physics::PlaneCollisionShape const *)arg1)->GetNormal();
44632  {
44634  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
44635  }
44636  return SWIG_arg;
44637 
44638  if(0) SWIG_fail;
44639 
44640 fail:
44641  lua_error(L);
44642  return SWIG_arg;
44643 }
44644 
44645 
44646 static int _wrap_PlaneCollisionShape_GetConstant(lua_State* L) {
44647  int SWIG_arg = 0;
44649  Mezzanine::Real result;
44650 
44651  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::GetConstant",1,1)
44652  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::GetConstant",1,"Mezzanine::Physics::PlaneCollisionShape const *");
44653 
44654  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,0))){
44655  SWIG_fail_ptr("PlaneCollisionShape_GetConstant",1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape);
44656  }
44657 
44658  result = (Mezzanine::Real)((Mezzanine::Physics::PlaneCollisionShape const *)arg1)->GetConstant();
44659  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
44660  return SWIG_arg;
44661 
44662  if(0) SWIG_fail;
44663 
44664 fail:
44665  lua_error(L);
44666  return SWIG_arg;
44667 }
44668 
44669 
44670 static int _wrap_PlaneCollisionShape_GetType(lua_State* L) {
44671  int SWIG_arg = 0;
44674 
44675  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::GetType",1,1)
44676  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::GetType",1,"Mezzanine::Physics::PlaneCollisionShape const *");
44677 
44678  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,0))){
44679  SWIG_fail_ptr("PlaneCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape);
44680  }
44681 
44683  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
44684  return SWIG_arg;
44685 
44686  if(0) SWIG_fail;
44687 
44688 fail:
44689  lua_error(L);
44690  return SWIG_arg;
44691 }
44692 
44693 
44694 static int _wrap_PlaneCollisionShape_ProtoSerialize(lua_State* L) {
44695  int SWIG_arg = 0;
44697  XML::Node *arg2 = 0 ;
44698 
44699  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::ProtoSerialize",2,2)
44700  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::PlaneCollisionShape const *");
44701  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::ProtoSerialize",2,"XML::Node &");
44702 
44703  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,0))){
44704  SWIG_fail_ptr("PlaneCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape);
44705  }
44706 
44707 
44708  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
44709  SWIG_fail_ptr("PlaneCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
44710  }
44711 
44712  ((Mezzanine::Physics::PlaneCollisionShape const *)arg1)->ProtoSerialize(*arg2);
44713 
44714  return SWIG_arg;
44715 
44716  if(0) SWIG_fail;
44717 
44718 fail:
44719  lua_error(L);
44720  return SWIG_arg;
44721 }
44722 
44723 
44724 static int _wrap_PlaneCollisionShape_ProtoDeSerialize(lua_State* L) {
44725  int SWIG_arg = 0;
44727  XML::Node *arg2 = 0 ;
44728 
44729  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::ProtoDeSerialize",2,2)
44730  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::PlaneCollisionShape *");
44731  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::PlaneCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
44732 
44733  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,0))){
44734  SWIG_fail_ptr("PlaneCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape);
44735  }
44736 
44737 
44738  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
44739  SWIG_fail_ptr("PlaneCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
44740  }
44741 
44742  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
44743 
44744  return SWIG_arg;
44745 
44746  if(0) SWIG_fail;
44747 
44748 fail:
44749  lua_error(L);
44750  return SWIG_arg;
44751 }
44752 
44753 
44754 static int _wrap_PlaneCollisionShape_SerializableName(lua_State* L) {
44755  int SWIG_arg = 0;
44756  Mezzanine::String result;
44757 
44758  SWIG_check_num_args("Mezzanine::Physics::PlaneCollisionShape::SerializableName",0,0)
44759  result = Mezzanine::Physics::PlaneCollisionShape::SerializableName();
44760  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
44761  return SWIG_arg;
44762 
44763  if(0) SWIG_fail;
44764 
44765 fail:
44766  lua_error(L);
44767  return SWIG_arg;
44768 }
44769 
44770 
44771 static void swig_delete_PlaneCollisionShape(void *obj) {
44773 delete arg1;
44774 }
44775 static swig_lua_method swig_Mezzanine_Physics_PlaneCollisionShape_methods[] = {
44776  {"GetNormal", _wrap_PlaneCollisionShape_GetNormal},
44777  {"GetConstant", _wrap_PlaneCollisionShape_GetConstant},
44778  {"GetType", _wrap_PlaneCollisionShape_GetType},
44779  {"ProtoSerialize", _wrap_PlaneCollisionShape_ProtoSerialize},
44780  {"ProtoDeSerialize", _wrap_PlaneCollisionShape_ProtoDeSerialize},
44781  {0,0}
44782 };
44783 static swig_lua_attribute swig_Mezzanine_Physics_PlaneCollisionShape_attributes[] = {
44784  {0,0,0}
44785 };
44786 static swig_lua_class *swig_Mezzanine_Physics_PlaneCollisionShape_bases[] = {0,0};
44787 static const char *swig_Mezzanine_Physics_PlaneCollisionShape_base_names[] = {"Mezzanine::Physics::FieldCollisionShape *",0};
44788 static swig_lua_class _wrap_class_Mezzanine_Physics_PlaneCollisionShape = { "PlaneCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__PlaneCollisionShape,_wrap_new_PlaneCollisionShape, swig_delete_PlaneCollisionShape, swig_Mezzanine_Physics_PlaneCollisionShape_methods, swig_Mezzanine_Physics_PlaneCollisionShape_attributes, swig_Mezzanine_Physics_PlaneCollisionShape_bases, swig_Mezzanine_Physics_PlaneCollisionShape_base_names };
44789 
44790 static int _wrap_new_Point2PointConstraint__SWIG_0(lua_State* L) {
44791  int SWIG_arg = 0;
44794  Mezzanine::Physics::Vector3 *arg3 = 0 ;
44795  Mezzanine::Physics::Vector3 *arg4 = 0 ;
44797 
44798  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",4,4)
44799  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",1,"Mezzanine::Physics::RigidProxy *");
44800  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",2,"Mezzanine::Physics::RigidProxy *");
44801  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",3,"Mezzanine::Physics::Vector3 const &");
44802  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",4,"Mezzanine::Physics::Vector3 const &");
44803 
44804  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
44805  SWIG_fail_ptr("new_Point2PointConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
44806  }
44807 
44808 
44809  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
44810  SWIG_fail_ptr("new_Point2PointConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
44811  }
44812 
44813 
44814  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
44815  SWIG_fail_ptr("new_Point2PointConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
44816  }
44817 
44818 
44819  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
44820  SWIG_fail_ptr("new_Point2PointConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
44821  }
44822 
44824  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,1); SWIG_arg++;
44825  return SWIG_arg;
44826 
44827  if(0) SWIG_fail;
44828 
44829 fail:
44830  lua_error(L);
44831  return SWIG_arg;
44832 }
44833 
44834 
44835 static int _wrap_new_Point2PointConstraint__SWIG_1(lua_State* L) {
44836  int SWIG_arg = 0;
44838  Mezzanine::Physics::Vector3 *arg2 = 0 ;
44840 
44841  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",2,2)
44842  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",1,"Mezzanine::Physics::RigidProxy *");
44843  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint",2,"Mezzanine::Physics::Vector3 const &");
44844 
44845  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
44846  SWIG_fail_ptr("new_Point2PointConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
44847  }
44848 
44849 
44850  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
44851  SWIG_fail_ptr("new_Point2PointConstraint",2,SWIGTYPE_p_Mezzanine__Vector3);
44852  }
44853 
44855  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,1); SWIG_arg++;
44856  return SWIG_arg;
44857 
44858  if(0) SWIG_fail;
44859 
44860 fail:
44861  lua_error(L);
44862  return SWIG_arg;
44863 }
44864 
44865 
44866 static int _wrap_new_Point2PointConstraint(lua_State* L) {
44867  int argc;
44868  int argv[5]={
44869  1,2,3,4,5
44870  };
44871 
44872  argc = lua_gettop(L);
44873  if (argc == 2) {
44874  int _v;
44875  {
44876  void *ptr;
44877  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
44878  _v = 0;
44879  } else {
44880  _v = 1;
44881  }
44882  }
44883  if (_v) {
44884  {
44885  void *ptr;
44886  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
44887  _v = 0;
44888  } else {
44889  _v = 1;
44890  }
44891  }
44892  if (_v) {
44893  return _wrap_new_Point2PointConstraint__SWIG_1(L);
44894  }
44895  }
44896  }
44897  if (argc == 4) {
44898  int _v;
44899  {
44900  void *ptr;
44901  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
44902  _v = 0;
44903  } else {
44904  _v = 1;
44905  }
44906  }
44907  if (_v) {
44908  {
44909  void *ptr;
44910  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
44911  _v = 0;
44912  } else {
44913  _v = 1;
44914  }
44915  }
44916  if (_v) {
44917  {
44918  void *ptr;
44919  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
44920  _v = 0;
44921  } else {
44922  _v = 1;
44923  }
44924  }
44925  if (_v) {
44926  {
44927  void *ptr;
44928  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
44929  _v = 0;
44930  } else {
44931  _v = 1;
44932  }
44933  }
44934  if (_v) {
44935  return _wrap_new_Point2PointConstraint__SWIG_0(L);
44936  }
44937  }
44938  }
44939  }
44940  }
44941 
44942  lua_pushstring(L,"Wrong arguments for overloaded function 'new_Point2PointConstraint'\n"
44943  " Possible C/C++ prototypes are:\n"
44944  " Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &)\n"
44945  " Mezzanine::Physics::Point2PointConstraint::Point2PointConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &)\n");
44946  lua_error(L);return 0;
44947 }
44948 
44949 
44950 static int _wrap_Point2PointConstraint_SetPivotALocation(lua_State* L) {
44951  int SWIG_arg = 0;
44953  Mezzanine::Physics::Vector3 *arg2 = 0 ;
44954 
44955  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::SetPivotALocation",2,2)
44956  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetPivotALocation",1,"Mezzanine::Physics::Point2PointConstraint *");
44957  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetPivotALocation",2,"Mezzanine::Physics::Vector3 const &");
44958 
44959  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
44960  SWIG_fail_ptr("Point2PointConstraint_SetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
44961  }
44962 
44963 
44964  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
44965  SWIG_fail_ptr("Point2PointConstraint_SetPivotALocation",2,SWIGTYPE_p_Mezzanine__Vector3);
44966  }
44967 
44968  (arg1)->SetPivotALocation((Mezzanine::Physics::Vector3 const &)*arg2);
44969 
44970  return SWIG_arg;
44971 
44972  if(0) SWIG_fail;
44973 
44974 fail:
44975  lua_error(L);
44976  return SWIG_arg;
44977 }
44978 
44979 
44980 static int _wrap_Point2PointConstraint_SetPivotBLocation(lua_State* L) {
44981  int SWIG_arg = 0;
44983  Mezzanine::Physics::Vector3 *arg2 = 0 ;
44984 
44985  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::SetPivotBLocation",2,2)
44986  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetPivotBLocation",1,"Mezzanine::Physics::Point2PointConstraint *");
44987  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetPivotBLocation",2,"Mezzanine::Physics::Vector3 const &");
44988 
44989  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
44990  SWIG_fail_ptr("Point2PointConstraint_SetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
44991  }
44992 
44993 
44994  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
44995  SWIG_fail_ptr("Point2PointConstraint_SetPivotBLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
44996  }
44997 
44998  (arg1)->SetPivotBLocation((Mezzanine::Physics::Vector3 const &)*arg2);
44999 
45000  return SWIG_arg;
45001 
45002  if(0) SWIG_fail;
45003 
45004 fail:
45005  lua_error(L);
45006  return SWIG_arg;
45007 }
45008 
45009 
45010 static int _wrap_Point2PointConstraint_GetPivotALocation(lua_State* L) {
45011  int SWIG_arg = 0;
45014 
45015  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::GetPivotALocation",1,1)
45016  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::GetPivotALocation",1,"Mezzanine::Physics::Point2PointConstraint const *");
45017 
45018  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45019  SWIG_fail_ptr("Point2PointConstraint_GetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45020  }
45021 
45022  result = ((Mezzanine::Physics::Point2PointConstraint const *)arg1)->GetPivotALocation();
45023  {
45025  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
45026  }
45027  return SWIG_arg;
45028 
45029  if(0) SWIG_fail;
45030 
45031 fail:
45032  lua_error(L);
45033  return SWIG_arg;
45034 }
45035 
45036 
45037 static int _wrap_Point2PointConstraint_GetPivotBLocation(lua_State* L) {
45038  int SWIG_arg = 0;
45041 
45042  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::GetPivotBLocation",1,1)
45043  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::GetPivotBLocation",1,"Mezzanine::Physics::Point2PointConstraint const *");
45044 
45045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45046  SWIG_fail_ptr("Point2PointConstraint_GetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45047  }
45048 
45049  result = ((Mezzanine::Physics::Point2PointConstraint const *)arg1)->GetPivotBLocation();
45050  {
45052  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
45053  }
45054  return SWIG_arg;
45055 
45056  if(0) SWIG_fail;
45057 
45058 fail:
45059  lua_error(L);
45060  return SWIG_arg;
45061 }
45062 
45063 
45064 static int _wrap_Point2PointConstraint_SetImpulseClamping(lua_State* L) {
45065  int SWIG_arg = 0;
45067  Mezzanine::Real arg2 ;
45068 
45069  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::SetImpulseClamping",2,2)
45070  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetImpulseClamping",1,"Mezzanine::Physics::Point2PointConstraint *");
45071  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetImpulseClamping",2,"Mezzanine::Real");
45072 
45073  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45074  SWIG_fail_ptr("Point2PointConstraint_SetImpulseClamping",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45075  }
45076 
45077  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
45078  (arg1)->SetImpulseClamping(arg2);
45079 
45080  return SWIG_arg;
45081 
45082  if(0) SWIG_fail;
45083 
45084 fail:
45085  lua_error(L);
45086  return SWIG_arg;
45087 }
45088 
45089 
45090 static int _wrap_Point2PointConstraint_GetImpulseClamping(lua_State* L) {
45091  int SWIG_arg = 0;
45093  Mezzanine::Real result;
45094 
45095  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::GetImpulseClamping",1,1)
45096  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::GetImpulseClamping",1,"Mezzanine::Physics::Point2PointConstraint const *");
45097 
45098  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45099  SWIG_fail_ptr("Point2PointConstraint_GetImpulseClamping",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45100  }
45101 
45102  result = (Mezzanine::Real)((Mezzanine::Physics::Point2PointConstraint const *)arg1)->GetImpulseClamping();
45103  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
45104  return SWIG_arg;
45105 
45106  if(0) SWIG_fail;
45107 
45108 fail:
45109  lua_error(L);
45110  return SWIG_arg;
45111 }
45112 
45113 
45114 static int _wrap_Point2PointConstraint_SetDamping(lua_State* L) {
45115  int SWIG_arg = 0;
45117  Mezzanine::Real arg2 ;
45118 
45119  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::SetDamping",2,2)
45120  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetDamping",1,"Mezzanine::Physics::Point2PointConstraint *");
45121  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetDamping",2,"Mezzanine::Real");
45122 
45123  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45124  SWIG_fail_ptr("Point2PointConstraint_SetDamping",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45125  }
45126 
45127  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
45128  (arg1)->SetDamping(arg2);
45129 
45130  return SWIG_arg;
45131 
45132  if(0) SWIG_fail;
45133 
45134 fail:
45135  lua_error(L);
45136  return SWIG_arg;
45137 }
45138 
45139 
45140 static int _wrap_Point2PointConstraint_GetDamping(lua_State* L) {
45141  int SWIG_arg = 0;
45143  Mezzanine::Real result;
45144 
45145  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::GetDamping",1,1)
45146  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::GetDamping",1,"Mezzanine::Physics::Point2PointConstraint const *");
45147 
45148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45149  SWIG_fail_ptr("Point2PointConstraint_GetDamping",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45150  }
45151 
45152  result = (Mezzanine::Real)((Mezzanine::Physics::Point2PointConstraint const *)arg1)->GetDamping();
45153  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
45154  return SWIG_arg;
45155 
45156  if(0) SWIG_fail;
45157 
45158 fail:
45159  lua_error(L);
45160  return SWIG_arg;
45161 }
45162 
45163 
45164 static int _wrap_Point2PointConstraint_SetTAU(lua_State* L) {
45165  int SWIG_arg = 0;
45167  Mezzanine::Real arg2 ;
45168 
45169  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::SetTAU",2,2)
45170  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetTAU",1,"Mezzanine::Physics::Point2PointConstraint *");
45171  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::SetTAU",2,"Mezzanine::Real");
45172 
45173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45174  SWIG_fail_ptr("Point2PointConstraint_SetTAU",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45175  }
45176 
45177  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
45178  (arg1)->SetTAU(arg2);
45179 
45180  return SWIG_arg;
45181 
45182  if(0) SWIG_fail;
45183 
45184 fail:
45185  lua_error(L);
45186  return SWIG_arg;
45187 }
45188 
45189 
45190 static int _wrap_Point2PointConstraint_GetTAU(lua_State* L) {
45191  int SWIG_arg = 0;
45193  Mezzanine::Real result;
45194 
45195  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::GetTAU",1,1)
45196  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::GetTAU",1,"Mezzanine::Physics::Point2PointConstraint const *");
45197 
45198  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45199  SWIG_fail_ptr("Point2PointConstraint_GetTAU",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45200  }
45201 
45202  result = (Mezzanine::Real)((Mezzanine::Physics::Point2PointConstraint const *)arg1)->GetTAU();
45203  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
45204  return SWIG_arg;
45205 
45206  if(0) SWIG_fail;
45207 
45208 fail:
45209  lua_error(L);
45210  return SWIG_arg;
45211 }
45212 
45213 
45214 static int _wrap_Point2PointConstraint_ValidParamOnAxis(lua_State* L) {
45215  int SWIG_arg = 0;
45217  int arg2 ;
45218  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
45219 
45220  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::ValidParamOnAxis",2,2)
45221  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ValidParamOnAxis",1,"Mezzanine::Physics::Point2PointConstraint const *");
45222  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ValidParamOnAxis",2,"int");
45223 
45224  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45225  SWIG_fail_ptr("Point2PointConstraint_ValidParamOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45226  }
45227 
45228  arg2 = (int)lua_tonumber(L, 2);
45229  result = ((Mezzanine::Physics::Point2PointConstraint const *)arg1)->ValidParamOnAxis(arg2);
45230  {
45232  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
45233  }
45234  return SWIG_arg;
45235 
45236  if(0) SWIG_fail;
45237 
45238 fail:
45239  lua_error(L);
45240  return SWIG_arg;
45241 }
45242 
45243 
45244 static int _wrap_Point2PointConstraint_ValidLinearAxis(lua_State* L) {
45245  int SWIG_arg = 0;
45247  SwigValueWrapper< std::vector< int > > result;
45248 
45249  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::ValidLinearAxis",1,1)
45250  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ValidLinearAxis",1,"Mezzanine::Physics::Point2PointConstraint const *");
45251 
45252  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45253  SWIG_fail_ptr("Point2PointConstraint_ValidLinearAxis",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45254  }
45255 
45256  result = ((Mezzanine::Physics::Point2PointConstraint const *)arg1)->ValidLinearAxis();
45257  {
45259  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
45260  }
45261  return SWIG_arg;
45262 
45263  if(0) SWIG_fail;
45264 
45265 fail:
45266  lua_error(L);
45267  return SWIG_arg;
45268 }
45269 
45270 
45271 static int _wrap_Point2PointConstraint_ValidAngularAxis(lua_State* L) {
45272  int SWIG_arg = 0;
45274  SwigValueWrapper< std::vector< int > > result;
45275 
45276  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::ValidAngularAxis",1,1)
45277  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ValidAngularAxis",1,"Mezzanine::Physics::Point2PointConstraint const *");
45278 
45279  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45280  SWIG_fail_ptr("Point2PointConstraint_ValidAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45281  }
45282 
45283  result = ((Mezzanine::Physics::Point2PointConstraint const *)arg1)->ValidAngularAxis();
45284  {
45286  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
45287  }
45288  return SWIG_arg;
45289 
45290  if(0) SWIG_fail;
45291 
45292 fail:
45293  lua_error(L);
45294  return SWIG_arg;
45295 }
45296 
45297 
45298 static int _wrap_Point2PointConstraint_HasParamBeenSet(lua_State* L) {
45299  int SWIG_arg = 0;
45302  int arg3 ;
45303  Mezzanine::Boole result;
45304 
45305  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::HasParamBeenSet",3,3)
45306  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::HasParamBeenSet",1,"Mezzanine::Physics::Point2PointConstraint const *");
45307  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::HasParamBeenSet",2,"Mezzanine::Physics::ConstraintParam");
45308  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::HasParamBeenSet",3,"int");
45309 
45310  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45311  SWIG_fail_ptr("Point2PointConstraint_HasParamBeenSet",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45312  }
45313 
45314  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
45315  arg3 = (int)lua_tonumber(L, 3);
45316  result = (Mezzanine::Boole)((Mezzanine::Physics::Point2PointConstraint const *)arg1)->HasParamBeenSet(arg2,arg3);
45317  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
45318  return SWIG_arg;
45319 
45320  if(0) SWIG_fail;
45321 
45322 fail:
45323  lua_error(L);
45324  return SWIG_arg;
45325 }
45326 
45327 
45328 static int _wrap_Point2PointConstraint_GetConstraintBase(lua_State* L) {
45329  int SWIG_arg = 0;
45331  btTypedConstraint *result = 0 ;
45332 
45333  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::GetConstraintBase",1,1)
45334  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::GetConstraintBase",1,"Mezzanine::Physics::Point2PointConstraint const *");
45335 
45336  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45337  SWIG_fail_ptr("Point2PointConstraint_GetConstraintBase",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45338  }
45339 
45340  result = (btTypedConstraint *)((Mezzanine::Physics::Point2PointConstraint const *)arg1)->GetConstraintBase();
45341  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btTypedConstraint,0); SWIG_arg++;
45342  return SWIG_arg;
45343 
45344  if(0) SWIG_fail;
45345 
45346 fail:
45347  lua_error(L);
45348  return SWIG_arg;
45349 }
45350 
45351 
45352 static int _wrap_Point2PointConstraint_ProtoSerialize(lua_State* L) {
45353  int SWIG_arg = 0;
45355  XML::Node *arg2 = 0 ;
45356 
45357  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::ProtoSerialize",2,2)
45358  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ProtoSerialize",1,"Mezzanine::Physics::Point2PointConstraint const *");
45359  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ProtoSerialize",2,"XML::Node &");
45360 
45361  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45362  SWIG_fail_ptr("Point2PointConstraint_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45363  }
45364 
45365 
45366  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
45367  SWIG_fail_ptr("Point2PointConstraint_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
45368  }
45369 
45370  ((Mezzanine::Physics::Point2PointConstraint const *)arg1)->ProtoSerialize(*arg2);
45371 
45372  return SWIG_arg;
45373 
45374  if(0) SWIG_fail;
45375 
45376 fail:
45377  lua_error(L);
45378  return SWIG_arg;
45379 }
45380 
45381 
45382 static int _wrap_Point2PointConstraint_ProtoDeSerialize(lua_State* L) {
45383  int SWIG_arg = 0;
45385  XML::Node *arg2 = 0 ;
45386 
45387  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::ProtoDeSerialize",2,2)
45388  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ProtoDeSerialize",1,"Mezzanine::Physics::Point2PointConstraint *");
45389  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::Point2PointConstraint::ProtoDeSerialize",2,"XML::Node const &");
45390 
45391  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,0))){
45392  SWIG_fail_ptr("Point2PointConstraint_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint);
45393  }
45394 
45395 
45396  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
45397  SWIG_fail_ptr("Point2PointConstraint_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
45398  }
45399 
45400  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
45401 
45402  return SWIG_arg;
45403 
45404  if(0) SWIG_fail;
45405 
45406 fail:
45407  lua_error(L);
45408  return SWIG_arg;
45409 }
45410 
45411 
45412 static int _wrap_Point2PointConstraint_SerializableName(lua_State* L) {
45413  int SWIG_arg = 0;
45414  Mezzanine::String result;
45415 
45416  SWIG_check_num_args("Mezzanine::Physics::Point2PointConstraint::SerializableName",0,0)
45417  result = Mezzanine::Physics::Point2PointConstraint::SerializableName();
45418  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
45419  return SWIG_arg;
45420 
45421  if(0) SWIG_fail;
45422 
45423 fail:
45424  lua_error(L);
45425  return SWIG_arg;
45426 }
45427 
45428 
45429 static void swig_delete_Point2PointConstraint(void *obj) {
45431 delete arg1;
45432 }
45433 static swig_lua_method swig_Mezzanine_Physics_Point2PointConstraint_methods[] = {
45434  {"SetPivotALocation", _wrap_Point2PointConstraint_SetPivotALocation},
45435  {"SetPivotBLocation", _wrap_Point2PointConstraint_SetPivotBLocation},
45436  {"GetPivotALocation", _wrap_Point2PointConstraint_GetPivotALocation},
45437  {"GetPivotBLocation", _wrap_Point2PointConstraint_GetPivotBLocation},
45438  {"SetImpulseClamping", _wrap_Point2PointConstraint_SetImpulseClamping},
45439  {"GetImpulseClamping", _wrap_Point2PointConstraint_GetImpulseClamping},
45440  {"SetDamping", _wrap_Point2PointConstraint_SetDamping},
45441  {"GetDamping", _wrap_Point2PointConstraint_GetDamping},
45442  {"SetTAU", _wrap_Point2PointConstraint_SetTAU},
45443  {"GetTAU", _wrap_Point2PointConstraint_GetTAU},
45444  {"ValidParamOnAxis", _wrap_Point2PointConstraint_ValidParamOnAxis},
45445  {"ValidLinearAxis", _wrap_Point2PointConstraint_ValidLinearAxis},
45446  {"ValidAngularAxis", _wrap_Point2PointConstraint_ValidAngularAxis},
45447  {"HasParamBeenSet", _wrap_Point2PointConstraint_HasParamBeenSet},
45448  {"GetConstraintBase", _wrap_Point2PointConstraint_GetConstraintBase},
45449  {"ProtoSerialize", _wrap_Point2PointConstraint_ProtoSerialize},
45450  {"ProtoDeSerialize", _wrap_Point2PointConstraint_ProtoDeSerialize},
45451  {0,0}
45452 };
45453 static swig_lua_attribute swig_Mezzanine_Physics_Point2PointConstraint_attributes[] = {
45454  {0,0,0}
45455 };
45456 static swig_lua_class *swig_Mezzanine_Physics_Point2PointConstraint_bases[] = {0,0};
45457 static const char *swig_Mezzanine_Physics_Point2PointConstraint_base_names[] = {"Mezzanine::Physics::Constraint *",0};
45458 static swig_lua_class _wrap_class_Mezzanine_Physics_Point2PointConstraint = { "Point2PointConstraint", &SWIGTYPE_p_Mezzanine__Physics__Point2PointConstraint,_wrap_new_Point2PointConstraint, swig_delete_Point2PointConstraint, swig_Mezzanine_Physics_Point2PointConstraint_methods, swig_Mezzanine_Physics_Point2PointConstraint_attributes, swig_Mezzanine_Physics_Point2PointConstraint_bases, swig_Mezzanine_Physics_Point2PointConstraint_base_names };
45459 
45460 static int _wrap_StickyConstraintConstructionInfo_TransA_set(lua_State* L) {
45461  int SWIG_arg = 0;
45464 
45465  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::TransA",2,2)
45466  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::TransA",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45467  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::TransA",2,"Mezzanine::Transform *");
45468 
45469  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45470  SWIG_fail_ptr("StickyConstraintConstructionInfo_TransA_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45471  }
45472 
45473 
45474  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
45475  SWIG_fail_ptr("StickyConstraintConstructionInfo_TransA_set",2,SWIGTYPE_p_Mezzanine__Transform);
45476  }
45477 
45478  if (arg1) (arg1)->TransA = *arg2;
45479 
45480  return SWIG_arg;
45481 
45482  if(0) SWIG_fail;
45483 
45484 fail:
45485  lua_error(L);
45486  return SWIG_arg;
45487 }
45488 
45489 
45490 static int _wrap_StickyConstraintConstructionInfo_TransA_get(lua_State* L) {
45491  int SWIG_arg = 0;
45493  Mezzanine::Transform *result = 0 ;
45494 
45495  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::TransA",1,1)
45496  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::TransA",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45497 
45498  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45499  SWIG_fail_ptr("StickyConstraintConstructionInfo_TransA_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45500  }
45501 
45502  result = (Mezzanine::Transform *)& ((arg1)->TransA);
45503  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,0); SWIG_arg++;
45504  return SWIG_arg;
45505 
45506  if(0) SWIG_fail;
45507 
45508 fail:
45509  lua_error(L);
45510  return SWIG_arg;
45511 }
45512 
45513 
45514 static int _wrap_StickyConstraintConstructionInfo_TransB_set(lua_State* L) {
45515  int SWIG_arg = 0;
45518 
45519  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::TransB",2,2)
45520  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::TransB",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45521  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::TransB",2,"Mezzanine::Transform *");
45522 
45523  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45524  SWIG_fail_ptr("StickyConstraintConstructionInfo_TransB_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45525  }
45526 
45527 
45528  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
45529  SWIG_fail_ptr("StickyConstraintConstructionInfo_TransB_set",2,SWIGTYPE_p_Mezzanine__Transform);
45530  }
45531 
45532  if (arg1) (arg1)->TransB = *arg2;
45533 
45534  return SWIG_arg;
45535 
45536  if(0) SWIG_fail;
45537 
45538 fail:
45539  lua_error(L);
45540  return SWIG_arg;
45541 }
45542 
45543 
45544 static int _wrap_StickyConstraintConstructionInfo_TransB_get(lua_State* L) {
45545  int SWIG_arg = 0;
45547  Mezzanine::Transform *result = 0 ;
45548 
45549  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::TransB",1,1)
45550  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::TransB",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45551 
45552  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45553  SWIG_fail_ptr("StickyConstraintConstructionInfo_TransB_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45554  }
45555 
45556  result = (Mezzanine::Transform *)& ((arg1)->TransB);
45557  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Transform,0); SWIG_arg++;
45558  return SWIG_arg;
45559 
45560  if(0) SWIG_fail;
45561 
45562 fail:
45563  lua_error(L);
45564  return SWIG_arg;
45565 }
45566 
45567 
45568 static int _wrap_StickyConstraintConstructionInfo_ProxA_set(lua_State* L) {
45569  int SWIG_arg = 0;
45572 
45573  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxA",2,2)
45574  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxA",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45575  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxA",2,"Mezzanine::Physics::RigidProxy *");
45576 
45577  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45578  SWIG_fail_ptr("StickyConstraintConstructionInfo_ProxA_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45579  }
45580 
45581 
45582  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,SWIG_POINTER_DISOWN))){
45583  SWIG_fail_ptr("StickyConstraintConstructionInfo_ProxA_set",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
45584  }
45585 
45586  if (arg1) (arg1)->ProxA = arg2;
45587 
45588  return SWIG_arg;
45589 
45590  if(0) SWIG_fail;
45591 
45592 fail:
45593  lua_error(L);
45594  return SWIG_arg;
45595 }
45596 
45597 
45598 static int _wrap_StickyConstraintConstructionInfo_ProxA_get(lua_State* L) {
45599  int SWIG_arg = 0;
45601  Mezzanine::Physics::RigidProxy *result = 0 ;
45602 
45603  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxA",1,1)
45604  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxA",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45605 
45606  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45607  SWIG_fail_ptr("StickyConstraintConstructionInfo_ProxA_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45608  }
45609 
45610  result = (Mezzanine::Physics::RigidProxy *) ((arg1)->ProxA);
45611  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
45612  return SWIG_arg;
45613 
45614  if(0) SWIG_fail;
45615 
45616 fail:
45617  lua_error(L);
45618  return SWIG_arg;
45619 }
45620 
45621 
45622 static int _wrap_StickyConstraintConstructionInfo_ProxB_set(lua_State* L) {
45623  int SWIG_arg = 0;
45626 
45627  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxB",2,2)
45628  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxB",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45629  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxB",2,"Mezzanine::Physics::RigidProxy *");
45630 
45631  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45632  SWIG_fail_ptr("StickyConstraintConstructionInfo_ProxB_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45633  }
45634 
45635 
45636  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,SWIG_POINTER_DISOWN))){
45637  SWIG_fail_ptr("StickyConstraintConstructionInfo_ProxB_set",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
45638  }
45639 
45640  if (arg1) (arg1)->ProxB = arg2;
45641 
45642  return SWIG_arg;
45643 
45644  if(0) SWIG_fail;
45645 
45646 fail:
45647  lua_error(L);
45648  return SWIG_arg;
45649 }
45650 
45651 
45652 static int _wrap_StickyConstraintConstructionInfo_ProxB_get(lua_State* L) {
45653  int SWIG_arg = 0;
45655  Mezzanine::Physics::RigidProxy *result = 0 ;
45656 
45657  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxB",1,1)
45658  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::ProxB",1,"Mezzanine::Physics::StickyConstraintConstructionInfo *");
45659 
45660  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45661  SWIG_fail_ptr("StickyConstraintConstructionInfo_ProxB_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45662  }
45663 
45664  result = (Mezzanine::Physics::RigidProxy *) ((arg1)->ProxB);
45665  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0); SWIG_arg++;
45666  return SWIG_arg;
45667 
45668  if(0) SWIG_fail;
45669 
45670 fail:
45671  lua_error(L);
45672  return SWIG_arg;
45673 }
45674 
45675 
45676 static int _wrap_new_StickyConstraintConstructionInfo__SWIG_0(lua_State* L) {
45677  int SWIG_arg = 0;
45679 
45680  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::StickyConstraintConstructionInfo",0,0)
45681  result = (Mezzanine::Physics::StickyConstraintConstructionInfo *)new Mezzanine::Physics::StickyConstraintConstructionInfo();
45682  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,1); SWIG_arg++;
45683  return SWIG_arg;
45684 
45685  if(0) SWIG_fail;
45686 
45687 fail:
45688  lua_error(L);
45689  return SWIG_arg;
45690 }
45691 
45692 
45693 static int _wrap_new_StickyConstraintConstructionInfo__SWIG_1(lua_State* L) {
45694  int SWIG_arg = 0;
45697 
45698  SWIG_check_num_args("Mezzanine::Physics::StickyConstraintConstructionInfo::StickyConstraintConstructionInfo",1,1)
45699  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyConstraintConstructionInfo::StickyConstraintConstructionInfo",1,"Mezzanine::Physics::StickyConstraintConstructionInfo const &");
45700 
45701  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,0))){
45702  SWIG_fail_ptr("new_StickyConstraintConstructionInfo",1,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo);
45703  }
45704 
45706  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,1); SWIG_arg++;
45707  return SWIG_arg;
45708 
45709  if(0) SWIG_fail;
45710 
45711 fail:
45712  lua_error(L);
45713  return SWIG_arg;
45714 }
45715 
45716 
45717 static int _wrap_new_StickyConstraintConstructionInfo(lua_State* L) {
45718  int argc;
45719  int argv[2]={
45720  1,2
45721  };
45722 
45723  argc = lua_gettop(L);
45724  if (argc == 0) {
45725  return _wrap_new_StickyConstraintConstructionInfo__SWIG_0(L);
45726  }
45727  if (argc == 1) {
45728  int _v;
45729  {
45730  void *ptr;
45731  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo, 0)) {
45732  _v = 0;
45733  } else {
45734  _v = 1;
45735  }
45736  }
45737  if (_v) {
45738  return _wrap_new_StickyConstraintConstructionInfo__SWIG_1(L);
45739  }
45740  }
45741 
45742  lua_pushstring(L,"Wrong arguments for overloaded function 'new_StickyConstraintConstructionInfo'\n"
45743  " Possible C/C++ prototypes are:\n"
45744  " Mezzanine::Physics::StickyConstraintConstructionInfo::StickyConstraintConstructionInfo()\n"
45745  " Mezzanine::Physics::StickyConstraintConstructionInfo::StickyConstraintConstructionInfo(Mezzanine::Physics::StickyConstraintConstructionInfo const &)\n");
45746  lua_error(L);return 0;
45747 }
45748 
45749 
45750 static void swig_delete_StickyConstraintConstructionInfo(void *obj) {
45752 delete arg1;
45753 }
45754 static swig_lua_method swig_Mezzanine_Physics_StickyConstraintConstructionInfo_methods[] = {
45755  {0,0}
45756 };
45757 static swig_lua_attribute swig_Mezzanine_Physics_StickyConstraintConstructionInfo_attributes[] = {
45758  { "TransA", _wrap_StickyConstraintConstructionInfo_TransA_get, _wrap_StickyConstraintConstructionInfo_TransA_set},
45759  { "TransB", _wrap_StickyConstraintConstructionInfo_TransB_get, _wrap_StickyConstraintConstructionInfo_TransB_set},
45760  { "ProxA", _wrap_StickyConstraintConstructionInfo_ProxA_get, _wrap_StickyConstraintConstructionInfo_ProxA_set},
45761  { "ProxB", _wrap_StickyConstraintConstructionInfo_ProxB_get, _wrap_StickyConstraintConstructionInfo_ProxB_set},
45762  {0,0,0}
45763 };
45764 static swig_lua_class *swig_Mezzanine_Physics_StickyConstraintConstructionInfo_bases[] = {0};
45765 static const char *swig_Mezzanine_Physics_StickyConstraintConstructionInfo_base_names[] = {0};
45766 static swig_lua_class _wrap_class_Mezzanine_Physics_StickyConstraintConstructionInfo = { "StickyConstraintConstructionInfo", &SWIGTYPE_p_Mezzanine__Physics__StickyConstraintConstructionInfo,_wrap_new_StickyConstraintConstructionInfo, swig_delete_StickyConstraintConstructionInfo, swig_Mezzanine_Physics_StickyConstraintConstructionInfo_methods, swig_Mezzanine_Physics_StickyConstraintConstructionInfo_attributes, swig_Mezzanine_Physics_StickyConstraintConstructionInfo_bases, swig_Mezzanine_Physics_StickyConstraintConstructionInfo_base_names };
45767 
45768 static int _wrap_new_StickyData(lua_State* L) {
45769  int SWIG_arg = 0;
45770  Mezzanine::Physics::StickyData *result = 0 ;
45771 
45772  SWIG_check_num_args("Mezzanine::Physics::StickyData::StickyData",0,0)
45773  result = (Mezzanine::Physics::StickyData *)new Mezzanine::Physics::StickyData();
45774  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StickyData,1); SWIG_arg++;
45775  return SWIG_arg;
45776 
45777  if(0) SWIG_fail;
45778 
45779 fail:
45780  lua_error(L);
45781  return SWIG_arg;
45782 }
45783 
45784 
45785 static int _wrap_StickyData_StickyConstraints_set(lua_State* L) {
45786  int SWIG_arg = 0;
45788  std::vector< Mezzanine::Physics::StickyConstraint * > *arg2 = (std::vector< Mezzanine::Physics::StickyConstraint * > *) 0 ;
45789 
45790  SWIG_check_num_args("Mezzanine::Physics::StickyData::StickyConstraints",2,2)
45791  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyData::StickyConstraints",1,"Mezzanine::Physics::StickyData *");
45792  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyData::StickyConstraints",2,"std::vector< Mezzanine::Physics::StickyConstraint * > *");
45793 
45794  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyData,0))){
45795  SWIG_fail_ptr("StickyData_StickyConstraints_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyData);
45796  }
45797 
45798 
45799  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t,0))){
45800  SWIG_fail_ptr("StickyData_StickyConstraints_set",2,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t);
45801  }
45802 
45803  if (arg1) (arg1)->StickyConstraints = *arg2;
45804 
45805  return SWIG_arg;
45806 
45807  if(0) SWIG_fail;
45808 
45809 fail:
45810  lua_error(L);
45811  return SWIG_arg;
45812 }
45813 
45814 
45815 static int _wrap_StickyData_StickyConstraints_get(lua_State* L) {
45816  int SWIG_arg = 0;
45818  std::vector< Mezzanine::Physics::StickyConstraint * > *result = 0 ;
45819 
45820  SWIG_check_num_args("Mezzanine::Physics::StickyData::StickyConstraints",1,1)
45821  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyData::StickyConstraints",1,"Mezzanine::Physics::StickyData *");
45822 
45823  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyData,0))){
45824  SWIG_fail_ptr("StickyData_StickyConstraints_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyData);
45825  }
45826 
45827  result = (std::vector< Mezzanine::Physics::StickyConstraint * > *)& ((arg1)->StickyConstraints);
45828  SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t,0); SWIG_arg++;
45829  return SWIG_arg;
45830 
45831  if(0) SWIG_fail;
45832 
45833 fail:
45834  lua_error(L);
45835  return SWIG_arg;
45836 }
45837 
45838 
45839 static int _wrap_StickyData_CreationQueue_set(lua_State* L) {
45840  int SWIG_arg = 0;
45842  std::vector< Mezzanine::Physics::StickyConstraintConstructionInfo > *arg2 = (std::vector< Mezzanine::Physics::StickyConstraintConstructionInfo > *) 0 ;
45843 
45844  SWIG_check_num_args("Mezzanine::Physics::StickyData::CreationQueue",2,2)
45845  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyData::CreationQueue",1,"Mezzanine::Physics::StickyData *");
45846  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyData::CreationQueue",2,"std::vector< Mezzanine::Physics::StickyConstraintConstructionInfo > *");
45847 
45848  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyData,0))){
45849  SWIG_fail_ptr("StickyData_CreationQueue_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyData);
45850  }
45851 
45852 
45853  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t,0))){
45854  SWIG_fail_ptr("StickyData_CreationQueue_set",2,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t);
45855  }
45856 
45857  if (arg1) (arg1)->CreationQueue = *arg2;
45858 
45859  return SWIG_arg;
45860 
45861  if(0) SWIG_fail;
45862 
45863 fail:
45864  lua_error(L);
45865  return SWIG_arg;
45866 }
45867 
45868 
45869 static int _wrap_StickyData_CreationQueue_get(lua_State* L) {
45870  int SWIG_arg = 0;
45872  std::vector< Mezzanine::Physics::StickyConstraintConstructionInfo > *result = 0 ;
45873 
45874  SWIG_check_num_args("Mezzanine::Physics::StickyData::CreationQueue",1,1)
45875  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyData::CreationQueue",1,"Mezzanine::Physics::StickyData *");
45876 
45877  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyData,0))){
45878  SWIG_fail_ptr("StickyData_CreationQueue_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyData);
45879  }
45880 
45881  result = (std::vector< Mezzanine::Physics::StickyConstraintConstructionInfo > *)& ((arg1)->CreationQueue);
45882  SWIG_NewPointerObj(L,result,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t,0); SWIG_arg++;
45883  return SWIG_arg;
45884 
45885  if(0) SWIG_fail;
45886 
45887 fail:
45888  lua_error(L);
45889  return SWIG_arg;
45890 }
45891 
45892 
45893 static int _wrap_StickyData_MaxNumContacts_set(lua_State* L) {
45894  int SWIG_arg = 0;
45896  Mezzanine::Whole arg2 ;
45897 
45898  SWIG_check_num_args("Mezzanine::Physics::StickyData::MaxNumContacts",2,2)
45899  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyData::MaxNumContacts",1,"Mezzanine::Physics::StickyData *");
45900  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::StickyData::MaxNumContacts",2,"Mezzanine::Whole");
45901 
45902  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyData,0))){
45903  SWIG_fail_ptr("StickyData_MaxNumContacts_set",1,SWIGTYPE_p_Mezzanine__Physics__StickyData);
45904  }
45905 
45906  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
45907  arg2 = (Mezzanine::Whole)lua_tonumber(L, 2);
45908  if (arg1) (arg1)->MaxNumContacts = arg2;
45909 
45910  return SWIG_arg;
45911 
45912  if(0) SWIG_fail;
45913 
45914 fail:
45915  lua_error(L);
45916  return SWIG_arg;
45917 }
45918 
45919 
45920 static int _wrap_StickyData_MaxNumContacts_get(lua_State* L) {
45921  int SWIG_arg = 0;
45923  Mezzanine::Whole result;
45924 
45925  SWIG_check_num_args("Mezzanine::Physics::StickyData::MaxNumContacts",1,1)
45926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StickyData::MaxNumContacts",1,"Mezzanine::Physics::StickyData *");
45927 
45928  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StickyData,0))){
45929  SWIG_fail_ptr("StickyData_MaxNumContacts_get",1,SWIGTYPE_p_Mezzanine__Physics__StickyData);
45930  }
45931 
45932  result = (Mezzanine::Whole) ((arg1)->MaxNumContacts);
45933  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
45934  return SWIG_arg;
45935 
45936  if(0) SWIG_fail;
45937 
45938 fail:
45939  lua_error(L);
45940  return SWIG_arg;
45941 }
45942 
45943 
45944 static void swig_delete_StickyData(void *obj) {
45946 delete arg1;
45947 }
45948 static swig_lua_method swig_Mezzanine_Physics_StickyData_methods[] = {
45949  {0,0}
45950 };
45951 static swig_lua_attribute swig_Mezzanine_Physics_StickyData_attributes[] = {
45952  { "StickyConstraints", _wrap_StickyData_StickyConstraints_get, _wrap_StickyData_StickyConstraints_set},
45953  { "CreationQueue", _wrap_StickyData_CreationQueue_get, _wrap_StickyData_CreationQueue_set},
45954  { "MaxNumContacts", _wrap_StickyData_MaxNumContacts_get, _wrap_StickyData_MaxNumContacts_set},
45955  {0,0,0}
45956 };
45957 static swig_lua_class *swig_Mezzanine_Physics_StickyData_bases[] = {0};
45958 static const char *swig_Mezzanine_Physics_StickyData_base_names[] = {0};
45959 static swig_lua_class _wrap_class_Mezzanine_Physics_StickyData = { "StickyData", &SWIGTYPE_p_Mezzanine__Physics__StickyData,_wrap_new_StickyData, swig_delete_StickyData, swig_Mezzanine_Physics_StickyData_methods, swig_Mezzanine_Physics_StickyData_attributes, swig_Mezzanine_Physics_StickyData_bases, swig_Mezzanine_Physics_StickyData_base_names };
45960 
45961 static int _wrap_new_RigidProxy__SWIG_0(lua_State* L) {
45962  int SWIG_arg = 0;
45963  Mezzanine::Real arg1 ;
45965  Mezzanine::Physics::RigidProxy *result = 0 ;
45966 
45967  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::RigidProxy",2,2)
45968  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",1,"Mezzanine::Real const");
45969  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",2,"Mezzanine::Physics::PhysicsManager *");
45970  arg1 = (Mezzanine::Real const)lua_tonumber(L, 1);
45971 
45972  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
45973  SWIG_fail_ptr("new_RigidProxy",2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
45974  }
45975 
45977  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,1); SWIG_arg++;
45978  return SWIG_arg;
45979 
45980  if(0) SWIG_fail;
45981 
45982 fail:
45983  lua_error(L);
45984  return SWIG_arg;
45985 }
45986 
45987 
45988 static int _wrap_new_RigidProxy__SWIG_1(lua_State* L) {
45989  int SWIG_arg = 0;
45990  Mezzanine::Real arg1 ;
45993  Mezzanine::Physics::RigidProxy *result = 0 ;
45994 
45995  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::RigidProxy",3,3)
45996  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",1,"Mezzanine::Real const");
45997  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",2,"Mezzanine::Physics::CollisionShape *");
45998  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",3,"Mezzanine::Physics::PhysicsManager *");
45999  arg1 = (Mezzanine::Real const)lua_tonumber(L, 1);
46000 
46001  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
46002  SWIG_fail_ptr("new_RigidProxy",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
46003  }
46004 
46005 
46006  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
46007  SWIG_fail_ptr("new_RigidProxy",3,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
46008  }
46009 
46010  result = (Mezzanine::Physics::RigidProxy *)new Mezzanine::Physics::RigidProxy(arg1,arg2,arg3);
46011  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,1); SWIG_arg++;
46012  return SWIG_arg;
46013 
46014  if(0) SWIG_fail;
46015 
46016 fail:
46017  lua_error(L);
46018  return SWIG_arg;
46019 }
46020 
46021 
46022 static int _wrap_new_RigidProxy__SWIG_2(lua_State* L) {
46023  int SWIG_arg = 0;
46024  XML::Node *arg1 = 0 ;
46026  Mezzanine::Physics::RigidProxy *result = 0 ;
46027 
46028  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::RigidProxy",2,2)
46029  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",1,"XML::Node const &");
46030  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RigidProxy",2,"Mezzanine::Physics::PhysicsManager *");
46031 
46032  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
46033  SWIG_fail_ptr("new_RigidProxy",1,SWIGTYPE_p_XML__Node);
46034  }
46035 
46036 
46037  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
46038  SWIG_fail_ptr("new_RigidProxy",2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
46039  }
46040 
46041  result = (Mezzanine::Physics::RigidProxy *)new Mezzanine::Physics::RigidProxy((XML::Node const &)*arg1,arg2);
46042  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,1); SWIG_arg++;
46043  return SWIG_arg;
46044 
46045  if(0) SWIG_fail;
46046 
46047 fail:
46048  lua_error(L);
46049  return SWIG_arg;
46050 }
46051 
46052 
46053 static int _wrap_new_RigidProxy(lua_State* L) {
46054  int argc;
46055  int argv[4]={
46056  1,2,3,4
46057  };
46058 
46059  argc = lua_gettop(L);
46060  if (argc == 2) {
46061  int _v;
46062  {
46063  void *ptr;
46064  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
46065  _v = 0;
46066  } else {
46067  _v = 1;
46068  }
46069  }
46070  if (_v) {
46071  {
46072  void *ptr;
46073  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
46074  _v = 0;
46075  } else {
46076  _v = 1;
46077  }
46078  }
46079  if (_v) {
46080  return _wrap_new_RigidProxy__SWIG_2(L);
46081  }
46082  }
46083  }
46084  if (argc == 2) {
46085  int _v;
46086  {
46087  _v = lua_isnumber(L,argv[0]);
46088  }
46089  if (_v) {
46090  {
46091  void *ptr;
46092  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
46093  _v = 0;
46094  } else {
46095  _v = 1;
46096  }
46097  }
46098  if (_v) {
46099  return _wrap_new_RigidProxy__SWIG_0(L);
46100  }
46101  }
46102  }
46103  if (argc == 3) {
46104  int _v;
46105  {
46106  _v = lua_isnumber(L,argv[0]);
46107  }
46108  if (_v) {
46109  {
46110  void *ptr;
46111  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__CollisionShape, 0)) {
46112  _v = 0;
46113  } else {
46114  _v = 1;
46115  }
46116  }
46117  if (_v) {
46118  {
46119  void *ptr;
46120  if (SWIG_isptrtype(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
46121  _v = 0;
46122  } else {
46123  _v = 1;
46124  }
46125  }
46126  if (_v) {
46127  return _wrap_new_RigidProxy__SWIG_1(L);
46128  }
46129  }
46130  }
46131  }
46132 
46133  lua_pushstring(L,"Wrong arguments for overloaded function 'new_RigidProxy'\n"
46134  " Possible C/C++ prototypes are:\n"
46135  " Mezzanine::Physics::RigidProxy::RigidProxy(Mezzanine::Real const,Mezzanine::Physics::PhysicsManager *)\n"
46136  " Mezzanine::Physics::RigidProxy::RigidProxy(Mezzanine::Real const,Mezzanine::Physics::CollisionShape *,Mezzanine::Physics::PhysicsManager *)\n"
46137  " Mezzanine::Physics::RigidProxy::RigidProxy(XML::Node const &,Mezzanine::Physics::PhysicsManager *)\n");
46138  lua_error(L);return 0;
46139 }
46140 
46141 
46142 static int _wrap_RigidProxy_GetProxyType(lua_State* L) {
46143  int SWIG_arg = 0;
46145  Mezzanine::ProxyType result;
46146 
46147  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetProxyType",1,1)
46148  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetProxyType",1,"Mezzanine::Physics::RigidProxy const *");
46149 
46150  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46151  SWIG_fail_ptr("RigidProxy_GetProxyType",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46152  }
46153 
46154  result = (Mezzanine::ProxyType)((Mezzanine::Physics::RigidProxy const *)arg1)->GetProxyType();
46155  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
46156  return SWIG_arg;
46157 
46158  if(0) SWIG_fail;
46159 
46160 fail:
46161  lua_error(L);
46162  return SWIG_arg;
46163 }
46164 
46165 
46166 static int _wrap_RigidProxy_AddToWorld(lua_State* L) {
46167  int SWIG_arg = 0;
46169 
46170  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::AddToWorld",1,1)
46171  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::AddToWorld",1,"Mezzanine::Physics::RigidProxy *");
46172 
46173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46174  SWIG_fail_ptr("RigidProxy_AddToWorld",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46175  }
46176 
46177  (arg1)->AddToWorld();
46178 
46179  return SWIG_arg;
46180 
46181  if(0) SWIG_fail;
46182 
46183 fail:
46184  lua_error(L);
46185  return SWIG_arg;
46186 }
46187 
46188 
46189 static int _wrap_RigidProxy_RemoveFromWorld(lua_State* L) {
46190  int SWIG_arg = 0;
46192 
46193  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::RemoveFromWorld",1,1)
46194  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RemoveFromWorld",1,"Mezzanine::Physics::RigidProxy *");
46195 
46196  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46197  SWIG_fail_ptr("RigidProxy_RemoveFromWorld",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46198  }
46199 
46200  (arg1)->RemoveFromWorld();
46201 
46202  return SWIG_arg;
46203 
46204  if(0) SWIG_fail;
46205 
46206 fail:
46207  lua_error(L);
46208  return SWIG_arg;
46209 }
46210 
46211 
46212 static int _wrap_RigidProxy_SetCollisionShape(lua_State* L) {
46213  int SWIG_arg = 0;
46216 
46217  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetCollisionShape",2,2)
46218  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetCollisionShape",1,"Mezzanine::Physics::RigidProxy *");
46219  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetCollisionShape",2,"Mezzanine::Physics::CollisionShape *");
46220 
46221  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46222  SWIG_fail_ptr("RigidProxy_SetCollisionShape",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46223  }
46224 
46225 
46226  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
46227  SWIG_fail_ptr("RigidProxy_SetCollisionShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
46228  }
46229 
46230  (arg1)->SetCollisionShape(arg2);
46231 
46232  return SWIG_arg;
46233 
46234  if(0) SWIG_fail;
46235 
46236 fail:
46237  lua_error(L);
46238  return SWIG_arg;
46239 }
46240 
46241 
46242 static int _wrap_RigidProxy_SetLinearMovementFactor(lua_State* L) {
46243  int SWIG_arg = 0;
46245  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46246 
46247  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetLinearMovementFactor",2,2)
46248  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetLinearMovementFactor",1,"Mezzanine::Physics::RigidProxy *");
46249  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetLinearMovementFactor",2,"Mezzanine::Physics::Vector3 const &");
46250 
46251  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46252  SWIG_fail_ptr("RigidProxy_SetLinearMovementFactor",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46253  }
46254 
46255 
46256  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46257  SWIG_fail_ptr("RigidProxy_SetLinearMovementFactor",2,SWIGTYPE_p_Mezzanine__Vector3);
46258  }
46259 
46260  (arg1)->SetLinearMovementFactor((Mezzanine::Physics::Vector3 const &)*arg2);
46261 
46262  return SWIG_arg;
46263 
46264  if(0) SWIG_fail;
46265 
46266 fail:
46267  lua_error(L);
46268  return SWIG_arg;
46269 }
46270 
46271 
46272 static int _wrap_RigidProxy_GetLinearMovementFactor(lua_State* L) {
46273  int SWIG_arg = 0;
46276 
46277  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetLinearMovementFactor",1,1)
46278  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetLinearMovementFactor",1,"Mezzanine::Physics::RigidProxy const *");
46279 
46280  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46281  SWIG_fail_ptr("RigidProxy_GetLinearMovementFactor",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46282  }
46283 
46284  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetLinearMovementFactor();
46285  {
46287  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46288  }
46289  return SWIG_arg;
46290 
46291  if(0) SWIG_fail;
46292 
46293 fail:
46294  lua_error(L);
46295  return SWIG_arg;
46296 }
46297 
46298 
46299 static int _wrap_RigidProxy_SetAngularMovementFactor(lua_State* L) {
46300  int SWIG_arg = 0;
46302  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46303 
46304  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetAngularMovementFactor",2,2)
46305  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetAngularMovementFactor",1,"Mezzanine::Physics::RigidProxy *");
46306  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetAngularMovementFactor",2,"Mezzanine::Physics::Vector3 const &");
46307 
46308  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46309  SWIG_fail_ptr("RigidProxy_SetAngularMovementFactor",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46310  }
46311 
46312 
46313  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46314  SWIG_fail_ptr("RigidProxy_SetAngularMovementFactor",2,SWIGTYPE_p_Mezzanine__Vector3);
46315  }
46316 
46317  (arg1)->SetAngularMovementFactor((Mezzanine::Physics::Vector3 const &)*arg2);
46318 
46319  return SWIG_arg;
46320 
46321  if(0) SWIG_fail;
46322 
46323 fail:
46324  lua_error(L);
46325  return SWIG_arg;
46326 }
46327 
46328 
46329 static int _wrap_RigidProxy_GetAngularMovementFactor(lua_State* L) {
46330  int SWIG_arg = 0;
46333 
46334  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetAngularMovementFactor",1,1)
46335  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetAngularMovementFactor",1,"Mezzanine::Physics::RigidProxy const *");
46336 
46337  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46338  SWIG_fail_ptr("RigidProxy_GetAngularMovementFactor",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46339  }
46340 
46341  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetAngularMovementFactor();
46342  {
46344  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46345  }
46346  return SWIG_arg;
46347 
46348  if(0) SWIG_fail;
46349 
46350 fail:
46351  lua_error(L);
46352  return SWIG_arg;
46353 }
46354 
46355 
46356 static int _wrap_RigidProxy_SetMass(lua_State* L) {
46357  int SWIG_arg = 0;
46359  Mezzanine::Real arg2 ;
46360 
46361  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetMass",2,2)
46362  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetMass",1,"Mezzanine::Physics::RigidProxy *");
46363  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetMass",2,"Mezzanine::Real const");
46364 
46365  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46366  SWIG_fail_ptr("RigidProxy_SetMass",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46367  }
46368 
46369  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
46370  (arg1)->SetMass(arg2);
46371 
46372  return SWIG_arg;
46373 
46374  if(0) SWIG_fail;
46375 
46376 fail:
46377  lua_error(L);
46378  return SWIG_arg;
46379 }
46380 
46381 
46382 static int _wrap_RigidProxy_GetMass(lua_State* L) {
46383  int SWIG_arg = 0;
46385  Mezzanine::Real result;
46386 
46387  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetMass",1,1)
46388  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetMass",1,"Mezzanine::Physics::RigidProxy const *");
46389 
46390  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46391  SWIG_fail_ptr("RigidProxy_GetMass",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46392  }
46393 
46394  result = (Mezzanine::Real)((Mezzanine::Physics::RigidProxy const *)arg1)->GetMass();
46395  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
46396  return SWIG_arg;
46397 
46398  if(0) SWIG_fail;
46399 
46400 fail:
46401  lua_error(L);
46402  return SWIG_arg;
46403 }
46404 
46405 
46406 static int _wrap_RigidProxy_SetDamping(lua_State* L) {
46407  int SWIG_arg = 0;
46409  Mezzanine::Real arg2 ;
46410  Mezzanine::Real arg3 ;
46411 
46412  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetDamping",3,3)
46413  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetDamping",1,"Mezzanine::Physics::RigidProxy *");
46414  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetDamping",2,"Mezzanine::Real const");
46415  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetDamping",3,"Mezzanine::Real const");
46416 
46417  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46418  SWIG_fail_ptr("RigidProxy_SetDamping",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46419  }
46420 
46421  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
46422  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
46423  (arg1)->SetDamping(arg2,arg3);
46424 
46425  return SWIG_arg;
46426 
46427  if(0) SWIG_fail;
46428 
46429 fail:
46430  lua_error(L);
46431  return SWIG_arg;
46432 }
46433 
46434 
46435 static int _wrap_RigidProxy_GetLinearDamping(lua_State* L) {
46436  int SWIG_arg = 0;
46438  Mezzanine::Real result;
46439 
46440  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetLinearDamping",1,1)
46441  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetLinearDamping",1,"Mezzanine::Physics::RigidProxy const *");
46442 
46443  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46444  SWIG_fail_ptr("RigidProxy_GetLinearDamping",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46445  }
46446 
46447  result = (Mezzanine::Real)((Mezzanine::Physics::RigidProxy const *)arg1)->GetLinearDamping();
46448  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
46449  return SWIG_arg;
46450 
46451  if(0) SWIG_fail;
46452 
46453 fail:
46454  lua_error(L);
46455  return SWIG_arg;
46456 }
46457 
46458 
46459 static int _wrap_RigidProxy_GetAngularDamping(lua_State* L) {
46460  int SWIG_arg = 0;
46462  Mezzanine::Real result;
46463 
46464  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetAngularDamping",1,1)
46465  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetAngularDamping",1,"Mezzanine::Physics::RigidProxy const *");
46466 
46467  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46468  SWIG_fail_ptr("RigidProxy_GetAngularDamping",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46469  }
46470 
46471  result = (Mezzanine::Real)((Mezzanine::Physics::RigidProxy const *)arg1)->GetAngularDamping();
46472  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
46473  return SWIG_arg;
46474 
46475  if(0) SWIG_fail;
46476 
46477 fail:
46478  lua_error(L);
46479  return SWIG_arg;
46480 }
46481 
46482 
46483 static int _wrap_RigidProxy_SetLinearVelocity(lua_State* L) {
46484  int SWIG_arg = 0;
46486  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46487 
46488  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetLinearVelocity",2,2)
46489  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetLinearVelocity",1,"Mezzanine::Physics::RigidProxy *");
46490  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetLinearVelocity",2,"Mezzanine::Physics::Vector3 const &");
46491 
46492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46493  SWIG_fail_ptr("RigidProxy_SetLinearVelocity",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46494  }
46495 
46496 
46497  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46498  SWIG_fail_ptr("RigidProxy_SetLinearVelocity",2,SWIGTYPE_p_Mezzanine__Vector3);
46499  }
46500 
46501  (arg1)->SetLinearVelocity((Mezzanine::Physics::Vector3 const &)*arg2);
46502 
46503  return SWIG_arg;
46504 
46505  if(0) SWIG_fail;
46506 
46507 fail:
46508  lua_error(L);
46509  return SWIG_arg;
46510 }
46511 
46512 
46513 static int _wrap_RigidProxy_GetLinearVelocity(lua_State* L) {
46514  int SWIG_arg = 0;
46517 
46518  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetLinearVelocity",1,1)
46519  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetLinearVelocity",1,"Mezzanine::Physics::RigidProxy const *");
46520 
46521  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46522  SWIG_fail_ptr("RigidProxy_GetLinearVelocity",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46523  }
46524 
46525  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetLinearVelocity();
46526  {
46528  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46529  }
46530  return SWIG_arg;
46531 
46532  if(0) SWIG_fail;
46533 
46534 fail:
46535  lua_error(L);
46536  return SWIG_arg;
46537 }
46538 
46539 
46540 static int _wrap_RigidProxy_SetAngularVelocity(lua_State* L) {
46541  int SWIG_arg = 0;
46543  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46544 
46545  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetAngularVelocity",2,2)
46546  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetAngularVelocity",1,"Mezzanine::Physics::RigidProxy *");
46547  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetAngularVelocity",2,"Mezzanine::Physics::Vector3 const &");
46548 
46549  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46550  SWIG_fail_ptr("RigidProxy_SetAngularVelocity",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46551  }
46552 
46553 
46554  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46555  SWIG_fail_ptr("RigidProxy_SetAngularVelocity",2,SWIGTYPE_p_Mezzanine__Vector3);
46556  }
46557 
46558  (arg1)->SetAngularVelocity((Mezzanine::Physics::Vector3 const &)*arg2);
46559 
46560  return SWIG_arg;
46561 
46562  if(0) SWIG_fail;
46563 
46564 fail:
46565  lua_error(L);
46566  return SWIG_arg;
46567 }
46568 
46569 
46570 static int _wrap_RigidProxy_GetAngularVelocity(lua_State* L) {
46571  int SWIG_arg = 0;
46574 
46575  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetAngularVelocity",1,1)
46576  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetAngularVelocity",1,"Mezzanine::Physics::RigidProxy const *");
46577 
46578  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46579  SWIG_fail_ptr("RigidProxy_GetAngularVelocity",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46580  }
46581 
46582  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetAngularVelocity();
46583  {
46585  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46586  }
46587  return SWIG_arg;
46588 
46589  if(0) SWIG_fail;
46590 
46591 fail:
46592  lua_error(L);
46593  return SWIG_arg;
46594 }
46595 
46596 
46597 static int _wrap_RigidProxy_SetGravity(lua_State* L) {
46598  int SWIG_arg = 0;
46600  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46601 
46602  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::SetGravity",2,2)
46603  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetGravity",1,"Mezzanine::Physics::RigidProxy *");
46604  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::SetGravity",2,"Mezzanine::Physics::Vector3 const &");
46605 
46606  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46607  SWIG_fail_ptr("RigidProxy_SetGravity",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46608  }
46609 
46610 
46611  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46612  SWIG_fail_ptr("RigidProxy_SetGravity",2,SWIGTYPE_p_Mezzanine__Vector3);
46613  }
46614 
46615  (arg1)->SetGravity((Mezzanine::Physics::Vector3 const &)*arg2);
46616 
46617  return SWIG_arg;
46618 
46619  if(0) SWIG_fail;
46620 
46621 fail:
46622  lua_error(L);
46623  return SWIG_arg;
46624 }
46625 
46626 
46627 static int _wrap_RigidProxy_GetGravity(lua_State* L) {
46628  int SWIG_arg = 0;
46631 
46632  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetGravity",1,1)
46633  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetGravity",1,"Mezzanine::Physics::RigidProxy const *");
46634 
46635  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46636  SWIG_fail_ptr("RigidProxy_GetGravity",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46637  }
46638 
46639  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetGravity();
46640  {
46642  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46643  }
46644  return SWIG_arg;
46645 
46646  if(0) SWIG_fail;
46647 
46648 fail:
46649  lua_error(L);
46650  return SWIG_arg;
46651 }
46652 
46653 
46654 static int _wrap_RigidProxy_ApplyForce(lua_State* L) {
46655  int SWIG_arg = 0;
46657  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46658 
46659  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::ApplyForce",2,2)
46660  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ApplyForce",1,"Mezzanine::Physics::RigidProxy *");
46661  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ApplyForce",2,"Mezzanine::Physics::Vector3 const &");
46662 
46663  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46664  SWIG_fail_ptr("RigidProxy_ApplyForce",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46665  }
46666 
46667 
46668  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46669  SWIG_fail_ptr("RigidProxy_ApplyForce",2,SWIGTYPE_p_Mezzanine__Vector3);
46670  }
46671 
46672  (arg1)->ApplyForce((Mezzanine::Physics::Vector3 const &)*arg2);
46673 
46674  return SWIG_arg;
46675 
46676  if(0) SWIG_fail;
46677 
46678 fail:
46679  lua_error(L);
46680  return SWIG_arg;
46681 }
46682 
46683 
46684 static int _wrap_RigidProxy_GetAppliedForce(lua_State* L) {
46685  int SWIG_arg = 0;
46688 
46689  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetAppliedForce",1,1)
46690  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetAppliedForce",1,"Mezzanine::Physics::RigidProxy const *");
46691 
46692  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46693  SWIG_fail_ptr("RigidProxy_GetAppliedForce",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46694  }
46695 
46696  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetAppliedForce();
46697  {
46699  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46700  }
46701  return SWIG_arg;
46702 
46703  if(0) SWIG_fail;
46704 
46705 fail:
46706  lua_error(L);
46707  return SWIG_arg;
46708 }
46709 
46710 
46711 static int _wrap_RigidProxy_ApplyTorque(lua_State* L) {
46712  int SWIG_arg = 0;
46714  Mezzanine::Physics::Vector3 *arg2 = 0 ;
46715 
46716  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::ApplyTorque",2,2)
46717  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ApplyTorque",1,"Mezzanine::Physics::RigidProxy *");
46718  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ApplyTorque",2,"Mezzanine::Physics::Vector3 const &");
46719 
46720  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46721  SWIG_fail_ptr("RigidProxy_ApplyTorque",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46722  }
46723 
46724 
46725  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
46726  SWIG_fail_ptr("RigidProxy_ApplyTorque",2,SWIGTYPE_p_Mezzanine__Vector3);
46727  }
46728 
46729  (arg1)->ApplyTorque((Mezzanine::Physics::Vector3 const &)*arg2);
46730 
46731  return SWIG_arg;
46732 
46733  if(0) SWIG_fail;
46734 
46735 fail:
46736  lua_error(L);
46737  return SWIG_arg;
46738 }
46739 
46740 
46741 static int _wrap_RigidProxy_GetAppliedTorque(lua_State* L) {
46742  int SWIG_arg = 0;
46745 
46746  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetAppliedTorque",1,1)
46747  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetAppliedTorque",1,"Mezzanine::Physics::RigidProxy const *");
46748 
46749  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46750  SWIG_fail_ptr("RigidProxy_GetAppliedTorque",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46751  }
46752 
46753  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetAppliedTorque();
46754  {
46756  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
46757  }
46758  return SWIG_arg;
46759 
46760  if(0) SWIG_fail;
46761 
46762 fail:
46763  lua_error(L);
46764  return SWIG_arg;
46765 }
46766 
46767 
46768 static int _wrap_RigidProxy_AddSyncObject(lua_State* L) {
46769  int SWIG_arg = 0;
46772 
46773  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::AddSyncObject",2,2)
46774  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::AddSyncObject",1,"Mezzanine::Physics::RigidProxy *");
46775  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::AddSyncObject",2,"Mezzanine::TransformableObject *");
46776 
46777  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46778  SWIG_fail_ptr("RigidProxy_AddSyncObject",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46779  }
46780 
46781 
46782  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
46783  SWIG_fail_ptr("RigidProxy_AddSyncObject",2,SWIGTYPE_p_Mezzanine__TransformableObject);
46784  }
46785 
46786  (arg1)->AddSyncObject(arg2);
46787 
46788  return SWIG_arg;
46789 
46790  if(0) SWIG_fail;
46791 
46792 fail:
46793  lua_error(L);
46794  return SWIG_arg;
46795 }
46796 
46797 
46798 static int _wrap_RigidProxy_GetSyncObject(lua_State* L) {
46799  int SWIG_arg = 0;
46801  Mezzanine::UInt32 arg2 ;
46802  Mezzanine::TransformableObject *result = 0 ;
46803 
46804  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetSyncObject",2,2)
46805  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetSyncObject",1,"Mezzanine::Physics::RigidProxy const *");
46806  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetSyncObject",2,"Mezzanine::UInt32 const");
46807 
46808  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46809  SWIG_fail_ptr("RigidProxy_GetSyncObject",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46810  }
46811 
46812  SWIG_contract_assert((lua_tonumber(L,2)>=0),"number must not be negative")
46813  arg2 = (Mezzanine::UInt32 const)lua_tonumber(L, 2);
46814  result = (Mezzanine::TransformableObject *)((Mezzanine::Physics::RigidProxy const *)arg1)->GetSyncObject(arg2);
46815  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__TransformableObject,0); SWIG_arg++;
46816  return SWIG_arg;
46817 
46818  if(0) SWIG_fail;
46819 
46820 fail:
46821  lua_error(L);
46822  return SWIG_arg;
46823 }
46824 
46825 
46826 static int _wrap_RigidProxy_GetNumSyncObjects(lua_State* L) {
46827  int SWIG_arg = 0;
46829  Mezzanine::UInt32 result;
46830 
46831  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetNumSyncObjects",1,1)
46832  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetNumSyncObjects",1,"Mezzanine::Physics::RigidProxy const *");
46833 
46834  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46835  SWIG_fail_ptr("RigidProxy_GetNumSyncObjects",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46836  }
46837 
46838  result = (Mezzanine::UInt32)((Mezzanine::Physics::RigidProxy const *)arg1)->GetNumSyncObjects();
46839  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
46840  return SWIG_arg;
46841 
46842  if(0) SWIG_fail;
46843 
46844 fail:
46845  lua_error(L);
46846  return SWIG_arg;
46847 }
46848 
46849 
46850 static int _wrap_RigidProxy_RemoveSyncObject(lua_State* L) {
46851  int SWIG_arg = 0;
46854 
46855  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::RemoveSyncObject",2,2)
46856  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RemoveSyncObject",1,"Mezzanine::Physics::RigidProxy *");
46857  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RemoveSyncObject",2,"Mezzanine::TransformableObject *");
46858 
46859  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46860  SWIG_fail_ptr("RigidProxy_RemoveSyncObject",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46861  }
46862 
46863 
46864  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__TransformableObject,0))){
46865  SWIG_fail_ptr("RigidProxy_RemoveSyncObject",2,SWIGTYPE_p_Mezzanine__TransformableObject);
46866  }
46867 
46868  (arg1)->RemoveSyncObject(arg2);
46869 
46870  return SWIG_arg;
46871 
46872  if(0) SWIG_fail;
46873 
46874 fail:
46875  lua_error(L);
46876  return SWIG_arg;
46877 }
46878 
46879 
46880 static int _wrap_RigidProxy_RemoveAllSyncObjects(lua_State* L) {
46881  int SWIG_arg = 0;
46883 
46884  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::RemoveAllSyncObjects",1,1)
46885  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::RemoveAllSyncObjects",1,"Mezzanine::Physics::RigidProxy *");
46886 
46887  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46888  SWIG_fail_ptr("RigidProxy_RemoveAllSyncObjects",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46889  }
46890 
46891  (arg1)->RemoveAllSyncObjects();
46892 
46893  return SWIG_arg;
46894 
46895  if(0) SWIG_fail;
46896 
46897 fail:
46898  lua_error(L);
46899  return SWIG_arg;
46900 }
46901 
46902 
46903 static int _wrap_RigidProxy_ProtoSerializeProperties(lua_State* L) {
46904  int SWIG_arg = 0;
46906  XML::Node *arg2 = 0 ;
46907 
46908  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::ProtoSerializeProperties",2,2)
46909  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ProtoSerializeProperties",1,"Mezzanine::Physics::RigidProxy const *");
46910  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ProtoSerializeProperties",2,"XML::Node &");
46911 
46912  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46913  SWIG_fail_ptr("RigidProxy_ProtoSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46914  }
46915 
46916 
46917  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
46918  SWIG_fail_ptr("RigidProxy_ProtoSerializeProperties",2,SWIGTYPE_p_XML__Node);
46919  }
46920 
46921  ((Mezzanine::Physics::RigidProxy const *)arg1)->ProtoSerializeProperties(*arg2);
46922 
46923  return SWIG_arg;
46924 
46925  if(0) SWIG_fail;
46926 
46927 fail:
46928  lua_error(L);
46929  return SWIG_arg;
46930 }
46931 
46932 
46933 static int _wrap_RigidProxy_ProtoDeSerializeProperties(lua_State* L) {
46934  int SWIG_arg = 0;
46936  XML::Node *arg2 = 0 ;
46937 
46938  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::ProtoDeSerializeProperties",2,2)
46939  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ProtoDeSerializeProperties",1,"Mezzanine::Physics::RigidProxy *");
46940  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::ProtoDeSerializeProperties",2,"XML::Node const &");
46941 
46942  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46943  SWIG_fail_ptr("RigidProxy_ProtoDeSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46944  }
46945 
46946 
46947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
46948  SWIG_fail_ptr("RigidProxy_ProtoDeSerializeProperties",2,SWIGTYPE_p_XML__Node);
46949  }
46950 
46951  (arg1)->ProtoDeSerializeProperties((XML::Node const &)*arg2);
46952 
46953  return SWIG_arg;
46954 
46955  if(0) SWIG_fail;
46956 
46957 fail:
46958  lua_error(L);
46959  return SWIG_arg;
46960 }
46961 
46962 
46963 static int _wrap_RigidProxy_GetDerivedSerializableName(lua_State* L) {
46964  int SWIG_arg = 0;
46966  Mezzanine::String result;
46967 
46968  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetDerivedSerializableName",1,1)
46969  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::GetDerivedSerializableName",1,"Mezzanine::Physics::RigidProxy const *");
46970 
46971  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
46972  SWIG_fail_ptr("RigidProxy_GetDerivedSerializableName",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
46973  }
46974 
46975  result = ((Mezzanine::Physics::RigidProxy const *)arg1)->GetDerivedSerializableName();
46976  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
46977  return SWIG_arg;
46978 
46979  if(0) SWIG_fail;
46980 
46981 fail:
46982  lua_error(L);
46983  return SWIG_arg;
46984 }
46985 
46986 
46987 static int _wrap_RigidProxy_GetSerializableName(lua_State* L) {
46988  int SWIG_arg = 0;
46989  Mezzanine::String result;
46990 
46991  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::GetSerializableName",0,0)
46992  result = Mezzanine::Physics::RigidProxy::GetSerializableName();
46993  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
46994  return SWIG_arg;
46995 
46996  if(0) SWIG_fail;
46997 
46998 fail:
46999  lua_error(L);
47000  return SWIG_arg;
47001 }
47002 
47003 
47004 static int _wrap_RigidProxy__GetPhysicsObject(lua_State* L) {
47005  int SWIG_arg = 0;
47007  btRigidBody *result = 0 ;
47008 
47009  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::_GetPhysicsObject",1,1)
47010  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::_GetPhysicsObject",1,"Mezzanine::Physics::RigidProxy const *");
47011 
47012  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47013  SWIG_fail_ptr("RigidProxy__GetPhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47014  }
47015 
47016  result = (btRigidBody *)((Mezzanine::Physics::RigidProxy const *)arg1)->_GetPhysicsObject();
47017  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btRigidBody,0); SWIG_arg++;
47018  return SWIG_arg;
47019 
47020  if(0) SWIG_fail;
47021 
47022 fail:
47023  lua_error(L);
47024  return SWIG_arg;
47025 }
47026 
47027 
47028 static int _wrap_RigidProxy__GetBasePhysicsObject(lua_State* L) {
47029  int SWIG_arg = 0;
47031  btCollisionObject *result = 0 ;
47032 
47033  SWIG_check_num_args("Mezzanine::Physics::RigidProxy::_GetBasePhysicsObject",1,1)
47034  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::RigidProxy::_GetBasePhysicsObject",1,"Mezzanine::Physics::RigidProxy const *");
47035 
47036  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47037  SWIG_fail_ptr("RigidProxy__GetBasePhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47038  }
47039 
47040  result = (btCollisionObject *)((Mezzanine::Physics::RigidProxy const *)arg1)->_GetBasePhysicsObject();
47041  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCollisionObject,0); SWIG_arg++;
47042  return SWIG_arg;
47043 
47044  if(0) SWIG_fail;
47045 
47046 fail:
47047  lua_error(L);
47048  return SWIG_arg;
47049 }
47050 
47051 
47052 static void swig_delete_RigidProxy(void *obj) {
47054 delete arg1;
47055 }
47056 static swig_lua_method swig_Mezzanine_Physics_RigidProxy_methods[] = {
47057  {"GetProxyType", _wrap_RigidProxy_GetProxyType},
47058  {"AddToWorld", _wrap_RigidProxy_AddToWorld},
47059  {"RemoveFromWorld", _wrap_RigidProxy_RemoveFromWorld},
47060  {"SetCollisionShape", _wrap_RigidProxy_SetCollisionShape},
47061  {"SetLinearMovementFactor", _wrap_RigidProxy_SetLinearMovementFactor},
47062  {"GetLinearMovementFactor", _wrap_RigidProxy_GetLinearMovementFactor},
47063  {"SetAngularMovementFactor", _wrap_RigidProxy_SetAngularMovementFactor},
47064  {"GetAngularMovementFactor", _wrap_RigidProxy_GetAngularMovementFactor},
47065  {"SetMass", _wrap_RigidProxy_SetMass},
47066  {"GetMass", _wrap_RigidProxy_GetMass},
47067  {"SetDamping", _wrap_RigidProxy_SetDamping},
47068  {"GetLinearDamping", _wrap_RigidProxy_GetLinearDamping},
47069  {"GetAngularDamping", _wrap_RigidProxy_GetAngularDamping},
47070  {"SetLinearVelocity", _wrap_RigidProxy_SetLinearVelocity},
47071  {"GetLinearVelocity", _wrap_RigidProxy_GetLinearVelocity},
47072  {"SetAngularVelocity", _wrap_RigidProxy_SetAngularVelocity},
47073  {"GetAngularVelocity", _wrap_RigidProxy_GetAngularVelocity},
47074  {"SetGravity", _wrap_RigidProxy_SetGravity},
47075  {"GetGravity", _wrap_RigidProxy_GetGravity},
47076  {"ApplyForce", _wrap_RigidProxy_ApplyForce},
47077  {"GetAppliedForce", _wrap_RigidProxy_GetAppliedForce},
47078  {"ApplyTorque", _wrap_RigidProxy_ApplyTorque},
47079  {"GetAppliedTorque", _wrap_RigidProxy_GetAppliedTorque},
47080  {"AddSyncObject", _wrap_RigidProxy_AddSyncObject},
47081  {"GetSyncObject", _wrap_RigidProxy_GetSyncObject},
47082  {"GetNumSyncObjects", _wrap_RigidProxy_GetNumSyncObjects},
47083  {"RemoveSyncObject", _wrap_RigidProxy_RemoveSyncObject},
47084  {"RemoveAllSyncObjects", _wrap_RigidProxy_RemoveAllSyncObjects},
47085  {"ProtoSerializeProperties", _wrap_RigidProxy_ProtoSerializeProperties},
47086  {"ProtoDeSerializeProperties", _wrap_RigidProxy_ProtoDeSerializeProperties},
47087  {"GetDerivedSerializableName", _wrap_RigidProxy_GetDerivedSerializableName},
47088  {"_GetPhysicsObject", _wrap_RigidProxy__GetPhysicsObject},
47089  {"_GetBasePhysicsObject", _wrap_RigidProxy__GetBasePhysicsObject},
47090  {0,0}
47091 };
47092 static swig_lua_attribute swig_Mezzanine_Physics_RigidProxy_attributes[] = {
47093  {0,0,0}
47094 };
47095 static swig_lua_class *swig_Mezzanine_Physics_RigidProxy_bases[] = {0,0};
47096 static const char *swig_Mezzanine_Physics_RigidProxy_base_names[] = {"Mezzanine::Physics::CollidableProxy *",0};
47097 static swig_lua_class _wrap_class_Mezzanine_Physics_RigidProxy = { "RigidProxy", &SWIGTYPE_p_Mezzanine__Physics__RigidProxy,_wrap_new_RigidProxy, swig_delete_RigidProxy, swig_Mezzanine_Physics_RigidProxy_methods, swig_Mezzanine_Physics_RigidProxy_attributes, swig_Mezzanine_Physics_RigidProxy_bases, swig_Mezzanine_Physics_RigidProxy_base_names };
47098 
47099 static int _wrap_new_SliderConstraint__SWIG_0(lua_State* L) {
47100  int SWIG_arg = 0;
47103  Mezzanine::Physics::Vector3 *arg3 = 0 ;
47104  Mezzanine::Physics::Vector3 *arg4 = 0 ;
47105  Mezzanine::Quaternion *arg5 = 0 ;
47106  Mezzanine::Quaternion *arg6 = 0 ;
47107  Mezzanine::Boole arg7 ;
47109 
47110  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SliderConstraint",7,7)
47111  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",1,"Mezzanine::Physics::RigidProxy *");
47112  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",2,"Mezzanine::Physics::RigidProxy *");
47113  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",3,"Mezzanine::Physics::Vector3 const &");
47114  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",4,"Mezzanine::Physics::Vector3 const &");
47115  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",5,"Mezzanine::Quaternion const &");
47116  if(!lua_isuserdata(L,6)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",6,"Mezzanine::Quaternion const &");
47117  if(!lua_isboolean(L,7)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",7,"Mezzanine::Boole");
47118 
47119  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47120  SWIG_fail_ptr("new_SliderConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47121  }
47122 
47123 
47124  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47125  SWIG_fail_ptr("new_SliderConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47126  }
47127 
47128 
47129  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
47130  SWIG_fail_ptr("new_SliderConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
47131  }
47132 
47133 
47134  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
47135  SWIG_fail_ptr("new_SliderConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
47136  }
47137 
47138 
47139  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Quaternion,0))){
47140  SWIG_fail_ptr("new_SliderConstraint",5,SWIGTYPE_p_Mezzanine__Quaternion);
47141  }
47142 
47143 
47144  if (!SWIG_IsOK(SWIG_ConvertPtr(L,6,(void**)&arg6,SWIGTYPE_p_Mezzanine__Quaternion,0))){
47145  SWIG_fail_ptr("new_SliderConstraint",6,SWIGTYPE_p_Mezzanine__Quaternion);
47146  }
47147 
47148  arg7 = (lua_toboolean(L, 7)!=0);
47150  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,1); SWIG_arg++;
47151  return SWIG_arg;
47152 
47153  if(0) SWIG_fail;
47154 
47155 fail:
47156  lua_error(L);
47157  return SWIG_arg;
47158 }
47159 
47160 
47161 static int _wrap_new_SliderConstraint__SWIG_1(lua_State* L) {
47162  int SWIG_arg = 0;
47165  Mezzanine::Transform *arg3 = 0 ;
47166  Mezzanine::Transform *arg4 = 0 ;
47167  Mezzanine::Boole arg5 ;
47169 
47170  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SliderConstraint",5,5)
47171  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",1,"Mezzanine::Physics::RigidProxy *");
47172  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",2,"Mezzanine::Physics::RigidProxy *");
47173  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",3,"Mezzanine::Transform const &");
47174  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",4,"Mezzanine::Transform const &");
47175  if(!lua_isboolean(L,5)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",5,"Mezzanine::Boole");
47176 
47177  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47178  SWIG_fail_ptr("new_SliderConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47179  }
47180 
47181 
47182  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47183  SWIG_fail_ptr("new_SliderConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47184  }
47185 
47186 
47187  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
47188  SWIG_fail_ptr("new_SliderConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
47189  }
47190 
47191 
47192  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
47193  SWIG_fail_ptr("new_SliderConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
47194  }
47195 
47196  arg5 = (lua_toboolean(L, 5)!=0);
47198  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,1); SWIG_arg++;
47199  return SWIG_arg;
47200 
47201  if(0) SWIG_fail;
47202 
47203 fail:
47204  lua_error(L);
47205  return SWIG_arg;
47206 }
47207 
47208 
47209 static int _wrap_new_SliderConstraint__SWIG_2(lua_State* L) {
47210  int SWIG_arg = 0;
47213  Mezzanine::Transform *arg3 = 0 ;
47214  Mezzanine::Transform *arg4 = 0 ;
47216 
47217  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SliderConstraint",4,4)
47218  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",1,"Mezzanine::Physics::RigidProxy *");
47219  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",2,"Mezzanine::Physics::RigidProxy *");
47220  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",3,"Mezzanine::Transform const &");
47221  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",4,"Mezzanine::Transform const &");
47222 
47223  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47224  SWIG_fail_ptr("new_SliderConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47225  }
47226 
47227 
47228  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47229  SWIG_fail_ptr("new_SliderConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47230  }
47231 
47232 
47233  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Transform,0))){
47234  SWIG_fail_ptr("new_SliderConstraint",3,SWIGTYPE_p_Mezzanine__Transform);
47235  }
47236 
47237 
47238  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Transform,0))){
47239  SWIG_fail_ptr("new_SliderConstraint",4,SWIGTYPE_p_Mezzanine__Transform);
47240  }
47241 
47243  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,1); SWIG_arg++;
47244  return SWIG_arg;
47245 
47246  if(0) SWIG_fail;
47247 
47248 fail:
47249  lua_error(L);
47250  return SWIG_arg;
47251 }
47252 
47253 
47254 static int _wrap_new_SliderConstraint__SWIG_3(lua_State* L) {
47255  int SWIG_arg = 0;
47257  Mezzanine::Physics::Vector3 *arg2 = 0 ;
47258  Mezzanine::Quaternion *arg3 = 0 ;
47259  Mezzanine::Boole arg4 ;
47261 
47262  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SliderConstraint",4,4)
47263  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",1,"Mezzanine::Physics::RigidProxy *");
47264  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",2,"Mezzanine::Physics::Vector3 const &");
47265  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",3,"Mezzanine::Quaternion const &");
47266  if(!lua_isboolean(L,4)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SliderConstraint",4,"Mezzanine::Boole");
47267 
47268  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
47269  SWIG_fail_ptr("new_SliderConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
47270  }
47271 
47272 
47273  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
47274  SWIG_fail_ptr("new_SliderConstraint",2,SWIGTYPE_p_Mezzanine__Vector3);
47275  }
47276 
47277 
47278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Quaternion,0))){
47279  SWIG_fail_ptr("new_SliderConstraint",3,SWIGTYPE_p_Mezzanine__Quaternion);
47280  }
47281 
47282  arg4 = (lua_toboolean(L, 4)!=0);
47284  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,1); SWIG_arg++;
47285  return SWIG_arg;
47286 
47287  if(0) SWIG_fail;
47288 
47289 fail:
47290  lua_error(L);
47291  return SWIG_arg;
47292 }
47293 
47294 
47295 static int _wrap_new_SliderConstraint(lua_State* L) {
47296  int argc;
47297  int argv[8]={
47298  1,2,3,4,5,6,7,8
47299  };
47300 
47301  argc = lua_gettop(L);
47302  if (argc == 4) {
47303  int _v;
47304  {
47305  void *ptr;
47306  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47307  _v = 0;
47308  } else {
47309  _v = 1;
47310  }
47311  }
47312  if (_v) {
47313  {
47314  void *ptr;
47315  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47316  _v = 0;
47317  } else {
47318  _v = 1;
47319  }
47320  }
47321  if (_v) {
47322  {
47323  void *ptr;
47324  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
47325  _v = 0;
47326  } else {
47327  _v = 1;
47328  }
47329  }
47330  if (_v) {
47331  {
47332  void *ptr;
47333  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
47334  _v = 0;
47335  } else {
47336  _v = 1;
47337  }
47338  }
47339  if (_v) {
47340  return _wrap_new_SliderConstraint__SWIG_2(L);
47341  }
47342  }
47343  }
47344  }
47345  }
47346  if (argc == 4) {
47347  int _v;
47348  {
47349  void *ptr;
47350  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47351  _v = 0;
47352  } else {
47353  _v = 1;
47354  }
47355  }
47356  if (_v) {
47357  {
47358  void *ptr;
47359  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
47360  _v = 0;
47361  } else {
47362  _v = 1;
47363  }
47364  }
47365  if (_v) {
47366  {
47367  void *ptr;
47368  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
47369  _v = 0;
47370  } else {
47371  _v = 1;
47372  }
47373  }
47374  if (_v) {
47375  {
47376  _v = lua_isboolean(L,argv[3]);
47377  }
47378  if (_v) {
47379  return _wrap_new_SliderConstraint__SWIG_3(L);
47380  }
47381  }
47382  }
47383  }
47384  }
47385  if (argc == 5) {
47386  int _v;
47387  {
47388  void *ptr;
47389  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47390  _v = 0;
47391  } else {
47392  _v = 1;
47393  }
47394  }
47395  if (_v) {
47396  {
47397  void *ptr;
47398  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47399  _v = 0;
47400  } else {
47401  _v = 1;
47402  }
47403  }
47404  if (_v) {
47405  {
47406  void *ptr;
47407  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
47408  _v = 0;
47409  } else {
47410  _v = 1;
47411  }
47412  }
47413  if (_v) {
47414  {
47415  void *ptr;
47416  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Transform, 0)) {
47417  _v = 0;
47418  } else {
47419  _v = 1;
47420  }
47421  }
47422  if (_v) {
47423  {
47424  _v = lua_isboolean(L,argv[4]);
47425  }
47426  if (_v) {
47427  return _wrap_new_SliderConstraint__SWIG_1(L);
47428  }
47429  }
47430  }
47431  }
47432  }
47433  }
47434  if (argc == 7) {
47435  int _v;
47436  {
47437  void *ptr;
47438  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47439  _v = 0;
47440  } else {
47441  _v = 1;
47442  }
47443  }
47444  if (_v) {
47445  {
47446  void *ptr;
47447  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__RigidProxy, 0)) {
47448  _v = 0;
47449  } else {
47450  _v = 1;
47451  }
47452  }
47453  if (_v) {
47454  {
47455  void *ptr;
47456  if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
47457  _v = 0;
47458  } else {
47459  _v = 1;
47460  }
47461  }
47462  if (_v) {
47463  {
47464  void *ptr;
47465  if (lua_isuserdata(L,argv[3])==0 || SWIG_ConvertPtr(L,argv[3], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
47466  _v = 0;
47467  } else {
47468  _v = 1;
47469  }
47470  }
47471  if (_v) {
47472  {
47473  void *ptr;
47474  if (lua_isuserdata(L,argv[4])==0 || SWIG_ConvertPtr(L,argv[4], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
47475  _v = 0;
47476  } else {
47477  _v = 1;
47478  }
47479  }
47480  if (_v) {
47481  {
47482  void *ptr;
47483  if (lua_isuserdata(L,argv[5])==0 || SWIG_ConvertPtr(L,argv[5], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
47484  _v = 0;
47485  } else {
47486  _v = 1;
47487  }
47488  }
47489  if (_v) {
47490  {
47491  _v = lua_isboolean(L,argv[6]);
47492  }
47493  if (_v) {
47494  return _wrap_new_SliderConstraint__SWIG_0(L);
47495  }
47496  }
47497  }
47498  }
47499  }
47500  }
47501  }
47502  }
47503 
47504  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SliderConstraint'\n"
47505  " Possible C/C++ prototypes are:\n"
47506  " Mezzanine::Physics::SliderConstraint::SliderConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Quaternion const &,Mezzanine::Boole)\n"
47507  " Mezzanine::Physics::SliderConstraint::SliderConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &,Mezzanine::Boole)\n"
47508  " Mezzanine::Physics::SliderConstraint::SliderConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::RigidProxy *,Mezzanine::Transform const &,Mezzanine::Transform const &)\n"
47509  " Mezzanine::Physics::SliderConstraint::SliderConstraint(Mezzanine::Physics::RigidProxy *,Mezzanine::Physics::Vector3 const &,Mezzanine::Quaternion const &,Mezzanine::Boole)\n");
47510  lua_error(L);return 0;
47511 }
47512 
47513 
47514 static int _wrap_SliderConstraint_SetPivotATransform(lua_State* L) {
47515  int SWIG_arg = 0;
47517  Mezzanine::Transform *arg2 = 0 ;
47518 
47519  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPivotATransform",2,2)
47520  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotATransform",1,"Mezzanine::Physics::SliderConstraint *");
47521  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotATransform",2,"Mezzanine::Transform const &");
47522 
47523  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47524  SWIG_fail_ptr("SliderConstraint_SetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47525  }
47526 
47527 
47528  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
47529  SWIG_fail_ptr("SliderConstraint_SetPivotATransform",2,SWIGTYPE_p_Mezzanine__Transform);
47530  }
47531 
47532  (arg1)->SetPivotATransform((Mezzanine::Transform const &)*arg2);
47533 
47534  return SWIG_arg;
47535 
47536  if(0) SWIG_fail;
47537 
47538 fail:
47539  lua_error(L);
47540  return SWIG_arg;
47541 }
47542 
47543 
47544 static int _wrap_SliderConstraint_SetPivotBTransform(lua_State* L) {
47545  int SWIG_arg = 0;
47547  Mezzanine::Transform *arg2 = 0 ;
47548 
47549  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPivotBTransform",2,2)
47550  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotBTransform",1,"Mezzanine::Physics::SliderConstraint *");
47551  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotBTransform",2,"Mezzanine::Transform const &");
47552 
47553  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47554  SWIG_fail_ptr("SliderConstraint_SetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47555  }
47556 
47557 
47558  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Transform,0))){
47559  SWIG_fail_ptr("SliderConstraint_SetPivotBTransform",2,SWIGTYPE_p_Mezzanine__Transform);
47560  }
47561 
47562  (arg1)->SetPivotBTransform((Mezzanine::Transform const &)*arg2);
47563 
47564  return SWIG_arg;
47565 
47566  if(0) SWIG_fail;
47567 
47568 fail:
47569  lua_error(L);
47570  return SWIG_arg;
47571 }
47572 
47573 
47574 static int _wrap_SliderConstraint_GetPivotATransform(lua_State* L) {
47575  int SWIG_arg = 0;
47577  Mezzanine::Transform result;
47578 
47579  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetPivotATransform",1,1)
47580  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetPivotATransform",1,"Mezzanine::Physics::SliderConstraint const *");
47581 
47582  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47583  SWIG_fail_ptr("SliderConstraint_GetPivotATransform",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47584  }
47585 
47586  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->GetPivotATransform();
47587  {
47588  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
47589  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
47590  }
47591  return SWIG_arg;
47592 
47593  if(0) SWIG_fail;
47594 
47595 fail:
47596  lua_error(L);
47597  return SWIG_arg;
47598 }
47599 
47600 
47601 static int _wrap_SliderConstraint_GetPivotBTransform(lua_State* L) {
47602  int SWIG_arg = 0;
47604  Mezzanine::Transform result;
47605 
47606  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetPivotBTransform",1,1)
47607  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetPivotBTransform",1,"Mezzanine::Physics::SliderConstraint const *");
47608 
47609  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47610  SWIG_fail_ptr("SliderConstraint_GetPivotBTransform",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47611  }
47612 
47613  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->GetPivotBTransform();
47614  {
47615  Mezzanine::Transform * resultptr = new Mezzanine::Transform((const Mezzanine::Transform &) result);
47616  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Transform,1); SWIG_arg++;
47617  }
47618  return SWIG_arg;
47619 
47620  if(0) SWIG_fail;
47621 
47622 fail:
47623  lua_error(L);
47624  return SWIG_arg;
47625 }
47626 
47627 
47628 static int _wrap_SliderConstraint_SetPivotALocation(lua_State* L) {
47629  int SWIG_arg = 0;
47631  Mezzanine::Physics::Vector3 *arg2 = 0 ;
47632 
47633  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPivotALocation",2,2)
47634  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotALocation",1,"Mezzanine::Physics::SliderConstraint *");
47635  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotALocation",2,"Mezzanine::Physics::Vector3 const &");
47636 
47637  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47638  SWIG_fail_ptr("SliderConstraint_SetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47639  }
47640 
47641 
47642  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
47643  SWIG_fail_ptr("SliderConstraint_SetPivotALocation",2,SWIGTYPE_p_Mezzanine__Vector3);
47644  }
47645 
47646  (arg1)->SetPivotALocation((Mezzanine::Physics::Vector3 const &)*arg2);
47647 
47648  return SWIG_arg;
47649 
47650  if(0) SWIG_fail;
47651 
47652 fail:
47653  lua_error(L);
47654  return SWIG_arg;
47655 }
47656 
47657 
47658 static int _wrap_SliderConstraint_SetPivotBLocation(lua_State* L) {
47659  int SWIG_arg = 0;
47661  Mezzanine::Physics::Vector3 *arg2 = 0 ;
47662 
47663  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPivotBLocation",2,2)
47664  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotBLocation",1,"Mezzanine::Physics::SliderConstraint *");
47665  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotBLocation",2,"Mezzanine::Physics::Vector3 const &");
47666 
47667  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47668  SWIG_fail_ptr("SliderConstraint_SetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47669  }
47670 
47671 
47672  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
47673  SWIG_fail_ptr("SliderConstraint_SetPivotBLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
47674  }
47675 
47676  (arg1)->SetPivotBLocation((Mezzanine::Physics::Vector3 const &)*arg2);
47677 
47678  return SWIG_arg;
47679 
47680  if(0) SWIG_fail;
47681 
47682 fail:
47683  lua_error(L);
47684  return SWIG_arg;
47685 }
47686 
47687 
47688 static int _wrap_SliderConstraint_GetPivotALocation(lua_State* L) {
47689  int SWIG_arg = 0;
47692 
47693  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetPivotALocation",1,1)
47694  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetPivotALocation",1,"Mezzanine::Physics::SliderConstraint const *");
47695 
47696  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47697  SWIG_fail_ptr("SliderConstraint_GetPivotALocation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47698  }
47699 
47700  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->GetPivotALocation();
47701  {
47703  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
47704  }
47705  return SWIG_arg;
47706 
47707  if(0) SWIG_fail;
47708 
47709 fail:
47710  lua_error(L);
47711  return SWIG_arg;
47712 }
47713 
47714 
47715 static int _wrap_SliderConstraint_GetPivotBLocation(lua_State* L) {
47716  int SWIG_arg = 0;
47719 
47720  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetPivotBLocation",1,1)
47721  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetPivotBLocation",1,"Mezzanine::Physics::SliderConstraint const *");
47722 
47723  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47724  SWIG_fail_ptr("SliderConstraint_GetPivotBLocation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47725  }
47726 
47727  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->GetPivotBLocation();
47728  {
47730  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
47731  }
47732  return SWIG_arg;
47733 
47734  if(0) SWIG_fail;
47735 
47736 fail:
47737  lua_error(L);
47738  return SWIG_arg;
47739 }
47740 
47741 
47742 static int _wrap_SliderConstraint_SetPivotARotation(lua_State* L) {
47743  int SWIG_arg = 0;
47745  Mezzanine::Quaternion *arg2 = 0 ;
47746 
47747  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPivotARotation",2,2)
47748  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotARotation",1,"Mezzanine::Physics::SliderConstraint *");
47749  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotARotation",2,"Mezzanine::Quaternion const &");
47750 
47751  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47752  SWIG_fail_ptr("SliderConstraint_SetPivotARotation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47753  }
47754 
47755 
47756  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
47757  SWIG_fail_ptr("SliderConstraint_SetPivotARotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
47758  }
47759 
47760  (arg1)->SetPivotARotation((Mezzanine::Quaternion const &)*arg2);
47761 
47762  return SWIG_arg;
47763 
47764  if(0) SWIG_fail;
47765 
47766 fail:
47767  lua_error(L);
47768  return SWIG_arg;
47769 }
47770 
47771 
47772 static int _wrap_SliderConstraint_SetPivotBRotation(lua_State* L) {
47773  int SWIG_arg = 0;
47775  Mezzanine::Quaternion *arg2 = 0 ;
47776 
47777  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPivotBRotation",2,2)
47778  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotBRotation",1,"Mezzanine::Physics::SliderConstraint *");
47779  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPivotBRotation",2,"Mezzanine::Quaternion const &");
47780 
47781  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47782  SWIG_fail_ptr("SliderConstraint_SetPivotBRotation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47783  }
47784 
47785 
47786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
47787  SWIG_fail_ptr("SliderConstraint_SetPivotBRotation",2,SWIGTYPE_p_Mezzanine__Quaternion);
47788  }
47789 
47790  (arg1)->SetPivotBRotation((Mezzanine::Quaternion const &)*arg2);
47791 
47792  return SWIG_arg;
47793 
47794  if(0) SWIG_fail;
47795 
47796 fail:
47797  lua_error(L);
47798  return SWIG_arg;
47799 }
47800 
47801 
47802 static int _wrap_SliderConstraint_GetPivotARotation(lua_State* L) {
47803  int SWIG_arg = 0;
47805  Mezzanine::Quaternion result;
47806 
47807  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetPivotARotation",1,1)
47808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetPivotARotation",1,"Mezzanine::Physics::SliderConstraint const *");
47809 
47810  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47811  SWIG_fail_ptr("SliderConstraint_GetPivotARotation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47812  }
47813 
47814  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->GetPivotARotation();
47815  {
47816  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
47817  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
47818  }
47819  return SWIG_arg;
47820 
47821  if(0) SWIG_fail;
47822 
47823 fail:
47824  lua_error(L);
47825  return SWIG_arg;
47826 }
47827 
47828 
47829 static int _wrap_SliderConstraint_GetPivotBRotation(lua_State* L) {
47830  int SWIG_arg = 0;
47832  Mezzanine::Quaternion result;
47833 
47834  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetPivotBRotation",1,1)
47835  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetPivotBRotation",1,"Mezzanine::Physics::SliderConstraint const *");
47836 
47837  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47838  SWIG_fail_ptr("SliderConstraint_GetPivotBRotation",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47839  }
47840 
47841  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->GetPivotBRotation();
47842  {
47843  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
47844  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
47845  }
47846  return SWIG_arg;
47847 
47848  if(0) SWIG_fail;
47849 
47850 fail:
47851  lua_error(L);
47852  return SWIG_arg;
47853 }
47854 
47855 
47856 static int _wrap_SliderConstraint_SetUpperLinLimit(lua_State* L) {
47857  int SWIG_arg = 0;
47859  Mezzanine::Real *arg2 = 0 ;
47860  Mezzanine::Real temp2 ;
47861 
47862  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetUpperLinLimit",2,2)
47863  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetUpperLinLimit",1,"Mezzanine::Physics::SliderConstraint *");
47864  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetUpperLinLimit",2,"Mezzanine::Real const &");
47865 
47866  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47867  SWIG_fail_ptr("SliderConstraint_SetUpperLinLimit",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47868  }
47869 
47870  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
47871  (arg1)->SetUpperLinLimit((Mezzanine::Real const &)*arg2);
47872 
47873  return SWIG_arg;
47874 
47875  if(0) SWIG_fail;
47876 
47877 fail:
47878  lua_error(L);
47879  return SWIG_arg;
47880 }
47881 
47882 
47883 static int _wrap_SliderConstraint_SetUpperAngLimit(lua_State* L) {
47884  int SWIG_arg = 0;
47886  Mezzanine::Real *arg2 = 0 ;
47887  Mezzanine::Real temp2 ;
47888 
47889  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetUpperAngLimit",2,2)
47890  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetUpperAngLimit",1,"Mezzanine::Physics::SliderConstraint *");
47891  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetUpperAngLimit",2,"Mezzanine::Real const &");
47892 
47893  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47894  SWIG_fail_ptr("SliderConstraint_SetUpperAngLimit",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47895  }
47896 
47897  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
47898  (arg1)->SetUpperAngLimit((Mezzanine::Real const &)*arg2);
47899 
47900  return SWIG_arg;
47901 
47902  if(0) SWIG_fail;
47903 
47904 fail:
47905  lua_error(L);
47906  return SWIG_arg;
47907 }
47908 
47909 
47910 static int _wrap_SliderConstraint_SetLowerLinLimit(lua_State* L) {
47911  int SWIG_arg = 0;
47913  Mezzanine::Real *arg2 = 0 ;
47914  Mezzanine::Real temp2 ;
47915 
47916  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetLowerLinLimit",2,2)
47917  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetLowerLinLimit",1,"Mezzanine::Physics::SliderConstraint *");
47918  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetLowerLinLimit",2,"Mezzanine::Real const &");
47919 
47920  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47921  SWIG_fail_ptr("SliderConstraint_SetLowerLinLimit",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47922  }
47923 
47924  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
47925  (arg1)->SetLowerLinLimit((Mezzanine::Real const &)*arg2);
47926 
47927  return SWIG_arg;
47928 
47929  if(0) SWIG_fail;
47930 
47931 fail:
47932  lua_error(L);
47933  return SWIG_arg;
47934 }
47935 
47936 
47937 static int _wrap_SliderConstraint_SetLowerAngLimit(lua_State* L) {
47938  int SWIG_arg = 0;
47940  Mezzanine::Real *arg2 = 0 ;
47941  Mezzanine::Real temp2 ;
47942 
47943  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetLowerAngLimit",2,2)
47944  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetLowerAngLimit",1,"Mezzanine::Physics::SliderConstraint *");
47945  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetLowerAngLimit",2,"Mezzanine::Real const &");
47946 
47947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47948  SWIG_fail_ptr("SliderConstraint_SetLowerAngLimit",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47949  }
47950 
47951  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
47952  (arg1)->SetLowerAngLimit((Mezzanine::Real const &)*arg2);
47953 
47954  return SWIG_arg;
47955 
47956  if(0) SWIG_fail;
47957 
47958 fail:
47959  lua_error(L);
47960  return SWIG_arg;
47961 }
47962 
47963 
47964 static int _wrap_SliderConstraint_SetPoweredLinMotor(lua_State* L) {
47965  int SWIG_arg = 0;
47967  Mezzanine::Boole arg2 ;
47968 
47969  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPoweredLinMotor",2,2)
47970  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPoweredLinMotor",1,"Mezzanine::Physics::SliderConstraint *");
47971  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPoweredLinMotor",2,"Mezzanine::Boole");
47972 
47973  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
47974  SWIG_fail_ptr("SliderConstraint_SetPoweredLinMotor",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
47975  }
47976 
47977  arg2 = (lua_toboolean(L, 2)!=0);
47978  (arg1)->SetPoweredLinMotor(arg2);
47979 
47980  return SWIG_arg;
47981 
47982  if(0) SWIG_fail;
47983 
47984 fail:
47985  lua_error(L);
47986  return SWIG_arg;
47987 }
47988 
47989 
47990 static int _wrap_SliderConstraint_SetTargetLinMotorVelocity(lua_State* L) {
47991  int SWIG_arg = 0;
47993  Mezzanine::Real *arg2 = 0 ;
47994  Mezzanine::Real temp2 ;
47995 
47996  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetTargetLinMotorVelocity",2,2)
47997  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetTargetLinMotorVelocity",1,"Mezzanine::Physics::SliderConstraint *");
47998  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetTargetLinMotorVelocity",2,"Mezzanine::Real const &");
47999 
48000  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48001  SWIG_fail_ptr("SliderConstraint_SetTargetLinMotorVelocity",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48002  }
48003 
48004  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48005  (arg1)->SetTargetLinMotorVelocity((Mezzanine::Real const &)*arg2);
48006 
48007  return SWIG_arg;
48008 
48009  if(0) SWIG_fail;
48010 
48011 fail:
48012  lua_error(L);
48013  return SWIG_arg;
48014 }
48015 
48016 
48017 static int _wrap_SliderConstraint_SetMaxLinMotorForce(lua_State* L) {
48018  int SWIG_arg = 0;
48020  Mezzanine::Real *arg2 = 0 ;
48021  Mezzanine::Real temp2 ;
48022 
48023  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetMaxLinMotorForce",2,2)
48024  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetMaxLinMotorForce",1,"Mezzanine::Physics::SliderConstraint *");
48025  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetMaxLinMotorForce",2,"Mezzanine::Real const &");
48026 
48027  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48028  SWIG_fail_ptr("SliderConstraint_SetMaxLinMotorForce",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48029  }
48030 
48031  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48032  (arg1)->SetMaxLinMotorForce((Mezzanine::Real const &)*arg2);
48033 
48034  return SWIG_arg;
48035 
48036  if(0) SWIG_fail;
48037 
48038 fail:
48039  lua_error(L);
48040  return SWIG_arg;
48041 }
48042 
48043 
48044 static int _wrap_SliderConstraint_SetPoweredAngMotor(lua_State* L) {
48045  int SWIG_arg = 0;
48047  Mezzanine::Boole arg2 ;
48048 
48049  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetPoweredAngMotor",2,2)
48050  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPoweredAngMotor",1,"Mezzanine::Physics::SliderConstraint *");
48051  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetPoweredAngMotor",2,"Mezzanine::Boole");
48052 
48053  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48054  SWIG_fail_ptr("SliderConstraint_SetPoweredAngMotor",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48055  }
48056 
48057  arg2 = (lua_toboolean(L, 2)!=0);
48058  (arg1)->SetPoweredAngMotor(arg2);
48059 
48060  return SWIG_arg;
48061 
48062  if(0) SWIG_fail;
48063 
48064 fail:
48065  lua_error(L);
48066  return SWIG_arg;
48067 }
48068 
48069 
48070 static int _wrap_SliderConstraint_SetTargetAngMotorVelocity(lua_State* L) {
48071  int SWIG_arg = 0;
48073  Mezzanine::Real *arg2 = 0 ;
48074  Mezzanine::Real temp2 ;
48075 
48076  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetTargetAngMotorVelocity",2,2)
48077  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetTargetAngMotorVelocity",1,"Mezzanine::Physics::SliderConstraint *");
48078  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetTargetAngMotorVelocity",2,"Mezzanine::Real const &");
48079 
48080  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48081  SWIG_fail_ptr("SliderConstraint_SetTargetAngMotorVelocity",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48082  }
48083 
48084  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48085  (arg1)->SetTargetAngMotorVelocity((Mezzanine::Real const &)*arg2);
48086 
48087  return SWIG_arg;
48088 
48089  if(0) SWIG_fail;
48090 
48091 fail:
48092  lua_error(L);
48093  return SWIG_arg;
48094 }
48095 
48096 
48097 static int _wrap_SliderConstraint_SetMaxAngMotorForce(lua_State* L) {
48098  int SWIG_arg = 0;
48100  Mezzanine::Real *arg2 = 0 ;
48101  Mezzanine::Real temp2 ;
48102 
48103  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetMaxAngMotorForce",2,2)
48104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetMaxAngMotorForce",1,"Mezzanine::Physics::SliderConstraint *");
48105  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetMaxAngMotorForce",2,"Mezzanine::Real const &");
48106 
48107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48108  SWIG_fail_ptr("SliderConstraint_SetMaxAngMotorForce",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48109  }
48110 
48111  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48112  (arg1)->SetMaxAngMotorForce((Mezzanine::Real const &)*arg2);
48113 
48114  return SWIG_arg;
48115 
48116  if(0) SWIG_fail;
48117 
48118 fail:
48119  lua_error(L);
48120  return SWIG_arg;
48121 }
48122 
48123 
48124 static int _wrap_SliderConstraint_SetUseFrameOffset(lua_State* L) {
48125  int SWIG_arg = 0;
48127  Mezzanine::Boole arg2 ;
48128 
48129  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetUseFrameOffset",2,2)
48130  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetUseFrameOffset",1,"Mezzanine::Physics::SliderConstraint *");
48131  if(!lua_isboolean(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetUseFrameOffset",2,"Mezzanine::Boole");
48132 
48133  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48134  SWIG_fail_ptr("SliderConstraint_SetUseFrameOffset",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48135  }
48136 
48137  arg2 = (lua_toboolean(L, 2)!=0);
48138  (arg1)->SetUseFrameOffset(arg2);
48139 
48140  return SWIG_arg;
48141 
48142  if(0) SWIG_fail;
48143 
48144 fail:
48145  lua_error(L);
48146  return SWIG_arg;
48147 }
48148 
48149 
48150 static int _wrap_SliderConstraint_SetSoftnessDirLin(lua_State* L) {
48151  int SWIG_arg = 0;
48153  Mezzanine::Real *arg2 = 0 ;
48154  Mezzanine::Real temp2 ;
48155 
48156  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetSoftnessDirLin",2,2)
48157  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessDirLin",1,"Mezzanine::Physics::SliderConstraint *");
48158  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessDirLin",2,"Mezzanine::Real const &");
48159 
48160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48161  SWIG_fail_ptr("SliderConstraint_SetSoftnessDirLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48162  }
48163 
48164  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48165  (arg1)->SetSoftnessDirLin((Mezzanine::Real const &)*arg2);
48166 
48167  return SWIG_arg;
48168 
48169  if(0) SWIG_fail;
48170 
48171 fail:
48172  lua_error(L);
48173  return SWIG_arg;
48174 }
48175 
48176 
48177 static int _wrap_SliderConstraint_SetRestitutionDirLin(lua_State* L) {
48178  int SWIG_arg = 0;
48180  Mezzanine::Real *arg2 = 0 ;
48181  Mezzanine::Real temp2 ;
48182 
48183  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetRestitutionDirLin",2,2)
48184  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionDirLin",1,"Mezzanine::Physics::SliderConstraint *");
48185  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionDirLin",2,"Mezzanine::Real const &");
48186 
48187  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48188  SWIG_fail_ptr("SliderConstraint_SetRestitutionDirLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48189  }
48190 
48191  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48192  (arg1)->SetRestitutionDirLin((Mezzanine::Real const &)*arg2);
48193 
48194  return SWIG_arg;
48195 
48196  if(0) SWIG_fail;
48197 
48198 fail:
48199  lua_error(L);
48200  return SWIG_arg;
48201 }
48202 
48203 
48204 static int _wrap_SliderConstraint_SetDampingDirLin(lua_State* L) {
48205  int SWIG_arg = 0;
48207  Mezzanine::Real *arg2 = 0 ;
48208  Mezzanine::Real temp2 ;
48209 
48210  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetDampingDirLin",2,2)
48211  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingDirLin",1,"Mezzanine::Physics::SliderConstraint *");
48212  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingDirLin",2,"Mezzanine::Real const &");
48213 
48214  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48215  SWIG_fail_ptr("SliderConstraint_SetDampingDirLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48216  }
48217 
48218  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48219  (arg1)->SetDampingDirLin((Mezzanine::Real const &)*arg2);
48220 
48221  return SWIG_arg;
48222 
48223  if(0) SWIG_fail;
48224 
48225 fail:
48226  lua_error(L);
48227  return SWIG_arg;
48228 }
48229 
48230 
48231 static int _wrap_SliderConstraint_SetSoftnessDirAng(lua_State* L) {
48232  int SWIG_arg = 0;
48234  Mezzanine::Real *arg2 = 0 ;
48235  Mezzanine::Real temp2 ;
48236 
48237  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetSoftnessDirAng",2,2)
48238  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessDirAng",1,"Mezzanine::Physics::SliderConstraint *");
48239  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessDirAng",2,"Mezzanine::Real const &");
48240 
48241  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48242  SWIG_fail_ptr("SliderConstraint_SetSoftnessDirAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48243  }
48244 
48245  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48246  (arg1)->SetSoftnessDirAng((Mezzanine::Real const &)*arg2);
48247 
48248  return SWIG_arg;
48249 
48250  if(0) SWIG_fail;
48251 
48252 fail:
48253  lua_error(L);
48254  return SWIG_arg;
48255 }
48256 
48257 
48258 static int _wrap_SliderConstraint_SetRestitutionDirAng(lua_State* L) {
48259  int SWIG_arg = 0;
48261  Mezzanine::Real *arg2 = 0 ;
48262  Mezzanine::Real temp2 ;
48263 
48264  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetRestitutionDirAng",2,2)
48265  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionDirAng",1,"Mezzanine::Physics::SliderConstraint *");
48266  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionDirAng",2,"Mezzanine::Real const &");
48267 
48268  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48269  SWIG_fail_ptr("SliderConstraint_SetRestitutionDirAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48270  }
48271 
48272  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48273  (arg1)->SetRestitutionDirAng((Mezzanine::Real const &)*arg2);
48274 
48275  return SWIG_arg;
48276 
48277  if(0) SWIG_fail;
48278 
48279 fail:
48280  lua_error(L);
48281  return SWIG_arg;
48282 }
48283 
48284 
48285 static int _wrap_SliderConstraint_SetDampingDirAng(lua_State* L) {
48286  int SWIG_arg = 0;
48288  Mezzanine::Real *arg2 = 0 ;
48289  Mezzanine::Real temp2 ;
48290 
48291  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetDampingDirAng",2,2)
48292  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingDirAng",1,"Mezzanine::Physics::SliderConstraint *");
48293  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingDirAng",2,"Mezzanine::Real const &");
48294 
48295  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48296  SWIG_fail_ptr("SliderConstraint_SetDampingDirAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48297  }
48298 
48299  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48300  (arg1)->SetDampingDirAng((Mezzanine::Real const &)*arg2);
48301 
48302  return SWIG_arg;
48303 
48304  if(0) SWIG_fail;
48305 
48306 fail:
48307  lua_error(L);
48308  return SWIG_arg;
48309 }
48310 
48311 
48312 static int _wrap_SliderConstraint_SetSoftnessLimLin(lua_State* L) {
48313  int SWIG_arg = 0;
48315  Mezzanine::Real *arg2 = 0 ;
48316  Mezzanine::Real temp2 ;
48317 
48318  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetSoftnessLimLin",2,2)
48319  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessLimLin",1,"Mezzanine::Physics::SliderConstraint *");
48320  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessLimLin",2,"Mezzanine::Real const &");
48321 
48322  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48323  SWIG_fail_ptr("SliderConstraint_SetSoftnessLimLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48324  }
48325 
48326  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48327  (arg1)->SetSoftnessLimLin((Mezzanine::Real const &)*arg2);
48328 
48329  return SWIG_arg;
48330 
48331  if(0) SWIG_fail;
48332 
48333 fail:
48334  lua_error(L);
48335  return SWIG_arg;
48336 }
48337 
48338 
48339 static int _wrap_SliderConstraint_SetRestitutionLimLin(lua_State* L) {
48340  int SWIG_arg = 0;
48342  Mezzanine::Real *arg2 = 0 ;
48343  Mezzanine::Real temp2 ;
48344 
48345  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetRestitutionLimLin",2,2)
48346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionLimLin",1,"Mezzanine::Physics::SliderConstraint *");
48347  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionLimLin",2,"Mezzanine::Real const &");
48348 
48349  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48350  SWIG_fail_ptr("SliderConstraint_SetRestitutionLimLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48351  }
48352 
48353  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48354  (arg1)->SetRestitutionLimLin((Mezzanine::Real const &)*arg2);
48355 
48356  return SWIG_arg;
48357 
48358  if(0) SWIG_fail;
48359 
48360 fail:
48361  lua_error(L);
48362  return SWIG_arg;
48363 }
48364 
48365 
48366 static int _wrap_SliderConstraint_SetDampingLimLin(lua_State* L) {
48367  int SWIG_arg = 0;
48369  Mezzanine::Real *arg2 = 0 ;
48370  Mezzanine::Real temp2 ;
48371 
48372  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetDampingLimLin",2,2)
48373  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingLimLin",1,"Mezzanine::Physics::SliderConstraint *");
48374  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingLimLin",2,"Mezzanine::Real const &");
48375 
48376  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48377  SWIG_fail_ptr("SliderConstraint_SetDampingLimLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48378  }
48379 
48380  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48381  (arg1)->SetDampingLimLin((Mezzanine::Real const &)*arg2);
48382 
48383  return SWIG_arg;
48384 
48385  if(0) SWIG_fail;
48386 
48387 fail:
48388  lua_error(L);
48389  return SWIG_arg;
48390 }
48391 
48392 
48393 static int _wrap_SliderConstraint_SetSoftnessLimAng(lua_State* L) {
48394  int SWIG_arg = 0;
48396  Mezzanine::Real *arg2 = 0 ;
48397  Mezzanine::Real temp2 ;
48398 
48399  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetSoftnessLimAng",2,2)
48400  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessLimAng",1,"Mezzanine::Physics::SliderConstraint *");
48401  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessLimAng",2,"Mezzanine::Real const &");
48402 
48403  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48404  SWIG_fail_ptr("SliderConstraint_SetSoftnessLimAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48405  }
48406 
48407  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48408  (arg1)->SetSoftnessLimAng((Mezzanine::Real const &)*arg2);
48409 
48410  return SWIG_arg;
48411 
48412  if(0) SWIG_fail;
48413 
48414 fail:
48415  lua_error(L);
48416  return SWIG_arg;
48417 }
48418 
48419 
48420 static int _wrap_SliderConstraint_SetRestitutionLimAng(lua_State* L) {
48421  int SWIG_arg = 0;
48423  Mezzanine::Real *arg2 = 0 ;
48424  Mezzanine::Real temp2 ;
48425 
48426  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetRestitutionLimAng",2,2)
48427  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionLimAng",1,"Mezzanine::Physics::SliderConstraint *");
48428  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionLimAng",2,"Mezzanine::Real const &");
48429 
48430  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48431  SWIG_fail_ptr("SliderConstraint_SetRestitutionLimAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48432  }
48433 
48434  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48435  (arg1)->SetRestitutionLimAng((Mezzanine::Real const &)*arg2);
48436 
48437  return SWIG_arg;
48438 
48439  if(0) SWIG_fail;
48440 
48441 fail:
48442  lua_error(L);
48443  return SWIG_arg;
48444 }
48445 
48446 
48447 static int _wrap_SliderConstraint_SetDampingLimAng(lua_State* L) {
48448  int SWIG_arg = 0;
48450  Mezzanine::Real *arg2 = 0 ;
48451  Mezzanine::Real temp2 ;
48452 
48453  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetDampingLimAng",2,2)
48454  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingLimAng",1,"Mezzanine::Physics::SliderConstraint *");
48455  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingLimAng",2,"Mezzanine::Real const &");
48456 
48457  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48458  SWIG_fail_ptr("SliderConstraint_SetDampingLimAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48459  }
48460 
48461  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48462  (arg1)->SetDampingLimAng((Mezzanine::Real const &)*arg2);
48463 
48464  return SWIG_arg;
48465 
48466  if(0) SWIG_fail;
48467 
48468 fail:
48469  lua_error(L);
48470  return SWIG_arg;
48471 }
48472 
48473 
48474 static int _wrap_SliderConstraint_SetSoftnessOrthoLin(lua_State* L) {
48475  int SWIG_arg = 0;
48477  Mezzanine::Real *arg2 = 0 ;
48478  Mezzanine::Real temp2 ;
48479 
48480  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetSoftnessOrthoLin",2,2)
48481  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessOrthoLin",1,"Mezzanine::Physics::SliderConstraint *");
48482  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessOrthoLin",2,"Mezzanine::Real const &");
48483 
48484  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48485  SWIG_fail_ptr("SliderConstraint_SetSoftnessOrthoLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48486  }
48487 
48488  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48489  (arg1)->SetSoftnessOrthoLin((Mezzanine::Real const &)*arg2);
48490 
48491  return SWIG_arg;
48492 
48493  if(0) SWIG_fail;
48494 
48495 fail:
48496  lua_error(L);
48497  return SWIG_arg;
48498 }
48499 
48500 
48501 static int _wrap_SliderConstraint_SetRestitutionOrthoLin(lua_State* L) {
48502  int SWIG_arg = 0;
48504  Mezzanine::Real *arg2 = 0 ;
48505  Mezzanine::Real temp2 ;
48506 
48507  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetRestitutionOrthoLin",2,2)
48508  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionOrthoLin",1,"Mezzanine::Physics::SliderConstraint *");
48509  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionOrthoLin",2,"Mezzanine::Real const &");
48510 
48511  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48512  SWIG_fail_ptr("SliderConstraint_SetRestitutionOrthoLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48513  }
48514 
48515  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48516  (arg1)->SetRestitutionOrthoLin((Mezzanine::Real const &)*arg2);
48517 
48518  return SWIG_arg;
48519 
48520  if(0) SWIG_fail;
48521 
48522 fail:
48523  lua_error(L);
48524  return SWIG_arg;
48525 }
48526 
48527 
48528 static int _wrap_SliderConstraint_SetDampingOrthoLin(lua_State* L) {
48529  int SWIG_arg = 0;
48531  Mezzanine::Real *arg2 = 0 ;
48532  Mezzanine::Real temp2 ;
48533 
48534  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetDampingOrthoLin",2,2)
48535  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingOrthoLin",1,"Mezzanine::Physics::SliderConstraint *");
48536  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingOrthoLin",2,"Mezzanine::Real const &");
48537 
48538  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48539  SWIG_fail_ptr("SliderConstraint_SetDampingOrthoLin",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48540  }
48541 
48542  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48543  (arg1)->SetDampingOrthoLin((Mezzanine::Real const &)*arg2);
48544 
48545  return SWIG_arg;
48546 
48547  if(0) SWIG_fail;
48548 
48549 fail:
48550  lua_error(L);
48551  return SWIG_arg;
48552 }
48553 
48554 
48555 static int _wrap_SliderConstraint_SetSoftnessOrthoAng(lua_State* L) {
48556  int SWIG_arg = 0;
48558  Mezzanine::Real *arg2 = 0 ;
48559  Mezzanine::Real temp2 ;
48560 
48561  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetSoftnessOrthoAng",2,2)
48562  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessOrthoAng",1,"Mezzanine::Physics::SliderConstraint *");
48563  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetSoftnessOrthoAng",2,"Mezzanine::Real const &");
48564 
48565  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48566  SWIG_fail_ptr("SliderConstraint_SetSoftnessOrthoAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48567  }
48568 
48569  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48570  (arg1)->SetSoftnessOrthoAng((Mezzanine::Real const &)*arg2);
48571 
48572  return SWIG_arg;
48573 
48574  if(0) SWIG_fail;
48575 
48576 fail:
48577  lua_error(L);
48578  return SWIG_arg;
48579 }
48580 
48581 
48582 static int _wrap_SliderConstraint_SetRestitutionOrthoAng(lua_State* L) {
48583  int SWIG_arg = 0;
48585  Mezzanine::Real *arg2 = 0 ;
48586  Mezzanine::Real temp2 ;
48587 
48588  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetRestitutionOrthoAng",2,2)
48589  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionOrthoAng",1,"Mezzanine::Physics::SliderConstraint *");
48590  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetRestitutionOrthoAng",2,"Mezzanine::Real const &");
48591 
48592  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48593  SWIG_fail_ptr("SliderConstraint_SetRestitutionOrthoAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48594  }
48595 
48596  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48597  (arg1)->SetRestitutionOrthoAng((Mezzanine::Real const &)*arg2);
48598 
48599  return SWIG_arg;
48600 
48601  if(0) SWIG_fail;
48602 
48603 fail:
48604  lua_error(L);
48605  return SWIG_arg;
48606 }
48607 
48608 
48609 static int _wrap_SliderConstraint_SetDampingOrthoAng(lua_State* L) {
48610  int SWIG_arg = 0;
48612  Mezzanine::Real *arg2 = 0 ;
48613  Mezzanine::Real temp2 ;
48614 
48615  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::SetDampingOrthoAng",2,2)
48616  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingOrthoAng",1,"Mezzanine::Physics::SliderConstraint *");
48617  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::SetDampingOrthoAng",2,"Mezzanine::Real const &");
48618 
48619  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48620  SWIG_fail_ptr("SliderConstraint_SetDampingOrthoAng",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48621  }
48622 
48623  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
48624  (arg1)->SetDampingOrthoAng((Mezzanine::Real const &)*arg2);
48625 
48626  return SWIG_arg;
48627 
48628  if(0) SWIG_fail;
48629 
48630 fail:
48631  lua_error(L);
48632  return SWIG_arg;
48633 }
48634 
48635 
48636 static int _wrap_SliderConstraint_ValidParamOnAxis(lua_State* L) {
48637  int SWIG_arg = 0;
48639  int arg2 ;
48640  SwigValueWrapper< std::vector< enum Mezzanine::Physics::ConstraintParam > > result;
48641 
48642  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::ValidParamOnAxis",2,2)
48643  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::ValidParamOnAxis",1,"Mezzanine::Physics::SliderConstraint const *");
48644  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::ValidParamOnAxis",2,"int");
48645 
48646  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48647  SWIG_fail_ptr("SliderConstraint_ValidParamOnAxis",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48648  }
48649 
48650  arg2 = (int)lua_tonumber(L, 2);
48651  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->ValidParamOnAxis(arg2);
48652  {
48654  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,1); SWIG_arg++;
48655  }
48656  return SWIG_arg;
48657 
48658  if(0) SWIG_fail;
48659 
48660 fail:
48661  lua_error(L);
48662  return SWIG_arg;
48663 }
48664 
48665 
48666 static int _wrap_SliderConstraint_ValidLinearAxis(lua_State* L) {
48667  int SWIG_arg = 0;
48669  SwigValueWrapper< std::vector< int > > result;
48670 
48671  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::ValidLinearAxis",1,1)
48672  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::ValidLinearAxis",1,"Mezzanine::Physics::SliderConstraint const *");
48673 
48674  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48675  SWIG_fail_ptr("SliderConstraint_ValidLinearAxis",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48676  }
48677 
48678  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->ValidLinearAxis();
48679  {
48681  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
48682  }
48683  return SWIG_arg;
48684 
48685  if(0) SWIG_fail;
48686 
48687 fail:
48688  lua_error(L);
48689  return SWIG_arg;
48690 }
48691 
48692 
48693 static int _wrap_SliderConstraint_ValidAngularAxis(lua_State* L) {
48694  int SWIG_arg = 0;
48696  SwigValueWrapper< std::vector< int > > result;
48697 
48698  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::ValidAngularAxis",1,1)
48699  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::ValidAngularAxis",1,"Mezzanine::Physics::SliderConstraint const *");
48700 
48701  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48702  SWIG_fail_ptr("SliderConstraint_ValidAngularAxis",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48703  }
48704 
48705  result = ((Mezzanine::Physics::SliderConstraint const *)arg1)->ValidAngularAxis();
48706  {
48708  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_std__vectorT_int_t,1); SWIG_arg++;
48709  }
48710  return SWIG_arg;
48711 
48712  if(0) SWIG_fail;
48713 
48714 fail:
48715  lua_error(L);
48716  return SWIG_arg;
48717 }
48718 
48719 
48720 static int _wrap_SliderConstraint_HasParamBeenSet(lua_State* L) {
48721  int SWIG_arg = 0;
48724  int arg3 ;
48725  Mezzanine::Boole result;
48726 
48727  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::HasParamBeenSet",3,3)
48728  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::HasParamBeenSet",1,"Mezzanine::Physics::SliderConstraint const *");
48729  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::HasParamBeenSet",2,"Mezzanine::Physics::ConstraintParam");
48730  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::HasParamBeenSet",3,"int");
48731 
48732  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48733  SWIG_fail_ptr("SliderConstraint_HasParamBeenSet",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48734  }
48735 
48736  arg2 = (Mezzanine::Physics::ConstraintParam)(int)lua_tonumber(L, 2);
48737  arg3 = (int)lua_tonumber(L, 3);
48738  result = (Mezzanine::Boole)((Mezzanine::Physics::SliderConstraint const *)arg1)->HasParamBeenSet(arg2,arg3);
48739  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
48740  return SWIG_arg;
48741 
48742  if(0) SWIG_fail;
48743 
48744 fail:
48745  lua_error(L);
48746  return SWIG_arg;
48747 }
48748 
48749 
48750 static int _wrap_SliderConstraint_GetConstraintBase(lua_State* L) {
48751  int SWIG_arg = 0;
48753  btTypedConstraint *result = 0 ;
48754 
48755  SWIG_check_num_args("Mezzanine::Physics::SliderConstraint::GetConstraintBase",1,1)
48756  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SliderConstraint::GetConstraintBase",1,"Mezzanine::Physics::SliderConstraint const *");
48757 
48758  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,0))){
48759  SWIG_fail_ptr("SliderConstraint_GetConstraintBase",1,SWIGTYPE_p_Mezzanine__Physics__SliderConstraint);
48760  }
48761 
48762  result = (btTypedConstraint *)((Mezzanine::Physics::SliderConstraint const *)arg1)->GetConstraintBase();
48763  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btTypedConstraint,0); SWIG_arg++;
48764  return SWIG_arg;
48765 
48766  if(0) SWIG_fail;
48767 
48768 fail:
48769  lua_error(L);
48770  return SWIG_arg;
48771 }
48772 
48773 
48774 static void swig_delete_SliderConstraint(void *obj) {
48776 delete arg1;
48777 }
48778 static swig_lua_method swig_Mezzanine_Physics_SliderConstraint_methods[] = {
48779  {"SetPivotATransform", _wrap_SliderConstraint_SetPivotATransform},
48780  {"SetPivotBTransform", _wrap_SliderConstraint_SetPivotBTransform},
48781  {"GetPivotATransform", _wrap_SliderConstraint_GetPivotATransform},
48782  {"GetPivotBTransform", _wrap_SliderConstraint_GetPivotBTransform},
48783  {"SetPivotALocation", _wrap_SliderConstraint_SetPivotALocation},
48784  {"SetPivotBLocation", _wrap_SliderConstraint_SetPivotBLocation},
48785  {"GetPivotALocation", _wrap_SliderConstraint_GetPivotALocation},
48786  {"GetPivotBLocation", _wrap_SliderConstraint_GetPivotBLocation},
48787  {"SetPivotARotation", _wrap_SliderConstraint_SetPivotARotation},
48788  {"SetPivotBRotation", _wrap_SliderConstraint_SetPivotBRotation},
48789  {"GetPivotARotation", _wrap_SliderConstraint_GetPivotARotation},
48790  {"GetPivotBRotation", _wrap_SliderConstraint_GetPivotBRotation},
48791  {"SetUpperLinLimit", _wrap_SliderConstraint_SetUpperLinLimit},
48792  {"SetUpperAngLimit", _wrap_SliderConstraint_SetUpperAngLimit},
48793  {"SetLowerLinLimit", _wrap_SliderConstraint_SetLowerLinLimit},
48794  {"SetLowerAngLimit", _wrap_SliderConstraint_SetLowerAngLimit},
48795  {"SetPoweredLinMotor", _wrap_SliderConstraint_SetPoweredLinMotor},
48796  {"SetTargetLinMotorVelocity", _wrap_SliderConstraint_SetTargetLinMotorVelocity},
48797  {"SetMaxLinMotorForce", _wrap_SliderConstraint_SetMaxLinMotorForce},
48798  {"SetPoweredAngMotor", _wrap_SliderConstraint_SetPoweredAngMotor},
48799  {"SetTargetAngMotorVelocity", _wrap_SliderConstraint_SetTargetAngMotorVelocity},
48800  {"SetMaxAngMotorForce", _wrap_SliderConstraint_SetMaxAngMotorForce},
48801  {"SetUseFrameOffset", _wrap_SliderConstraint_SetUseFrameOffset},
48802  {"SetSoftnessDirLin", _wrap_SliderConstraint_SetSoftnessDirLin},
48803  {"SetRestitutionDirLin", _wrap_SliderConstraint_SetRestitutionDirLin},
48804  {"SetDampingDirLin", _wrap_SliderConstraint_SetDampingDirLin},
48805  {"SetSoftnessDirAng", _wrap_SliderConstraint_SetSoftnessDirAng},
48806  {"SetRestitutionDirAng", _wrap_SliderConstraint_SetRestitutionDirAng},
48807  {"SetDampingDirAng", _wrap_SliderConstraint_SetDampingDirAng},
48808  {"SetSoftnessLimLin", _wrap_SliderConstraint_SetSoftnessLimLin},
48809  {"SetRestitutionLimLin", _wrap_SliderConstraint_SetRestitutionLimLin},
48810  {"SetDampingLimLin", _wrap_SliderConstraint_SetDampingLimLin},
48811  {"SetSoftnessLimAng", _wrap_SliderConstraint_SetSoftnessLimAng},
48812  {"SetRestitutionLimAng", _wrap_SliderConstraint_SetRestitutionLimAng},
48813  {"SetDampingLimAng", _wrap_SliderConstraint_SetDampingLimAng},
48814  {"SetSoftnessOrthoLin", _wrap_SliderConstraint_SetSoftnessOrthoLin},
48815  {"SetRestitutionOrthoLin", _wrap_SliderConstraint_SetRestitutionOrthoLin},
48816  {"SetDampingOrthoLin", _wrap_SliderConstraint_SetDampingOrthoLin},
48817  {"SetSoftnessOrthoAng", _wrap_SliderConstraint_SetSoftnessOrthoAng},
48818  {"SetRestitutionOrthoAng", _wrap_SliderConstraint_SetRestitutionOrthoAng},
48819  {"SetDampingOrthoAng", _wrap_SliderConstraint_SetDampingOrthoAng},
48820  {"ValidParamOnAxis", _wrap_SliderConstraint_ValidParamOnAxis},
48821  {"ValidLinearAxis", _wrap_SliderConstraint_ValidLinearAxis},
48822  {"ValidAngularAxis", _wrap_SliderConstraint_ValidAngularAxis},
48823  {"HasParamBeenSet", _wrap_SliderConstraint_HasParamBeenSet},
48824  {"GetConstraintBase", _wrap_SliderConstraint_GetConstraintBase},
48825  {0,0}
48826 };
48827 static swig_lua_attribute swig_Mezzanine_Physics_SliderConstraint_attributes[] = {
48828  {0,0,0}
48829 };
48830 static swig_lua_class *swig_Mezzanine_Physics_SliderConstraint_bases[] = {0,0};
48831 static const char *swig_Mezzanine_Physics_SliderConstraint_base_names[] = {"Mezzanine::Physics::DualTransformConstraint *",0};
48832 static swig_lua_class _wrap_class_Mezzanine_Physics_SliderConstraint = { "SliderConstraint", &SWIGTYPE_p_Mezzanine__Physics__SliderConstraint,_wrap_new_SliderConstraint, swig_delete_SliderConstraint, swig_Mezzanine_Physics_SliderConstraint_methods, swig_Mezzanine_Physics_SliderConstraint_attributes, swig_Mezzanine_Physics_SliderConstraint_bases, swig_Mezzanine_Physics_SliderConstraint_base_names };
48833 
48834 static int _wrap_new_SoftCollisionShape(lua_State* L) {
48835  int SWIG_arg = 0;
48836  Mezzanine::String *arg1 = 0 ;
48837  btSoftBodyCollisionShape *arg2 = (btSoftBodyCollisionShape *) 0 ;
48838  Mezzanine::String temp1 ;
48840 
48841  SWIG_check_num_args("Mezzanine::Physics::SoftCollisionShape::SoftCollisionShape",2,2)
48842  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftCollisionShape::SoftCollisionShape",1,"Mezzanine::String const &");
48843  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftCollisionShape::SoftCollisionShape",2,"btSoftBodyCollisionShape *");
48844  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
48845 
48846  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btSoftBodyCollisionShape,0))){
48847  SWIG_fail_ptr("new_SoftCollisionShape",2,SWIGTYPE_p_btSoftBodyCollisionShape);
48848  }
48849 
48851  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SoftCollisionShape,1); SWIG_arg++;
48852  return SWIG_arg;
48853 
48854  if(0) SWIG_fail;
48855 
48856 fail:
48857  lua_error(L);
48858  return SWIG_arg;
48859 }
48860 
48861 
48862 static int _wrap_SoftCollisionShape_GetType(lua_State* L) {
48863  int SWIG_arg = 0;
48866 
48867  SWIG_check_num_args("Mezzanine::Physics::SoftCollisionShape::GetType",1,1)
48868  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftCollisionShape::GetType",1,"Mezzanine::Physics::SoftCollisionShape const *");
48869 
48870  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftCollisionShape,0))){
48871  SWIG_fail_ptr("SoftCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__SoftCollisionShape);
48872  }
48873 
48875  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
48876  return SWIG_arg;
48877 
48878  if(0) SWIG_fail;
48879 
48880 fail:
48881  lua_error(L);
48882  return SWIG_arg;
48883 }
48884 
48885 
48886 static void swig_delete_SoftCollisionShape(void *obj) {
48888 delete arg1;
48889 }
48890 static swig_lua_method swig_Mezzanine_Physics_SoftCollisionShape_methods[] = {
48891  {"GetType", _wrap_SoftCollisionShape_GetType},
48892  {0,0}
48893 };
48894 static swig_lua_attribute swig_Mezzanine_Physics_SoftCollisionShape_attributes[] = {
48895  {0,0,0}
48896 };
48897 static swig_lua_class *swig_Mezzanine_Physics_SoftCollisionShape_bases[] = {0,0};
48898 static const char *swig_Mezzanine_Physics_SoftCollisionShape_base_names[] = {"Mezzanine::Physics::MeshCollisionShape *",0};
48899 static swig_lua_class _wrap_class_Mezzanine_Physics_SoftCollisionShape = { "SoftCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__SoftCollisionShape,_wrap_new_SoftCollisionShape, swig_delete_SoftCollisionShape, swig_Mezzanine_Physics_SoftCollisionShape_methods, swig_Mezzanine_Physics_SoftCollisionShape_attributes, swig_Mezzanine_Physics_SoftCollisionShape_bases, swig_Mezzanine_Physics_SoftCollisionShape_base_names };
48900 
48901 static int _wrap_new_SoftProxy__SWIG_0(lua_State* L) {
48902  int SWIG_arg = 0;
48903  Mezzanine::Real arg1 ;
48905  Mezzanine::Physics::SoftProxy *result = 0 ;
48906 
48907  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SoftProxy",2,2)
48908  if(!lua_isnumber(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SoftProxy",1,"Mezzanine::Real const");
48909  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SoftProxy",2,"Mezzanine::Physics::PhysicsManager *");
48910  arg1 = (Mezzanine::Real const)lua_tonumber(L, 1);
48911 
48912  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
48913  SWIG_fail_ptr("new_SoftProxy",2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
48914  }
48915 
48917  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,1); SWIG_arg++;
48918  return SWIG_arg;
48919 
48920  if(0) SWIG_fail;
48921 
48922 fail:
48923  lua_error(L);
48924  return SWIG_arg;
48925 }
48926 
48927 
48928 static int _wrap_new_SoftProxy__SWIG_1(lua_State* L) {
48929  int SWIG_arg = 0;
48930  XML::Node *arg1 = 0 ;
48932  Mezzanine::Physics::SoftProxy *result = 0 ;
48933 
48934  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SoftProxy",2,2)
48935  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SoftProxy",1,"XML::Node const &");
48936  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SoftProxy",2,"Mezzanine::Physics::PhysicsManager *");
48937 
48938  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_XML__Node,0))){
48939  SWIG_fail_ptr("new_SoftProxy",1,SWIGTYPE_p_XML__Node);
48940  }
48941 
48942 
48943  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager,0))){
48944  SWIG_fail_ptr("new_SoftProxy",2,SWIGTYPE_p_Mezzanine__Physics__PhysicsManager);
48945  }
48946 
48947  result = (Mezzanine::Physics::SoftProxy *)new Mezzanine::Physics::SoftProxy((XML::Node const &)*arg1,arg2);
48948  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,1); SWIG_arg++;
48949  return SWIG_arg;
48950 
48951  if(0) SWIG_fail;
48952 
48953 fail:
48954  lua_error(L);
48955  return SWIG_arg;
48956 }
48957 
48958 
48959 static int _wrap_new_SoftProxy(lua_State* L) {
48960  int argc;
48961  int argv[3]={
48962  1,2,3
48963  };
48964 
48965  argc = lua_gettop(L);
48966  if (argc == 2) {
48967  int _v;
48968  {
48969  void *ptr;
48970  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
48971  _v = 0;
48972  } else {
48973  _v = 1;
48974  }
48975  }
48976  if (_v) {
48977  {
48978  void *ptr;
48979  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
48980  _v = 0;
48981  } else {
48982  _v = 1;
48983  }
48984  }
48985  if (_v) {
48986  return _wrap_new_SoftProxy__SWIG_1(L);
48987  }
48988  }
48989  }
48990  if (argc == 2) {
48991  int _v;
48992  {
48993  _v = lua_isnumber(L,argv[0]);
48994  }
48995  if (_v) {
48996  {
48997  void *ptr;
48998  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__PhysicsManager, 0)) {
48999  _v = 0;
49000  } else {
49001  _v = 1;
49002  }
49003  }
49004  if (_v) {
49005  return _wrap_new_SoftProxy__SWIG_0(L);
49006  }
49007  }
49008  }
49009 
49010  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SoftProxy'\n"
49011  " Possible C/C++ prototypes are:\n"
49012  " Mezzanine::Physics::SoftProxy::SoftProxy(Mezzanine::Real const,Mezzanine::Physics::PhysicsManager *)\n"
49013  " Mezzanine::Physics::SoftProxy::SoftProxy(XML::Node const &,Mezzanine::Physics::PhysicsManager *)\n");
49014  lua_error(L);return 0;
49015 }
49016 
49017 
49018 static int _wrap_SoftProxy_GetProxyType(lua_State* L) {
49019  int SWIG_arg = 0;
49021  Mezzanine::ProxyType result;
49022 
49023  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::GetProxyType",1,1)
49024  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::GetProxyType",1,"Mezzanine::Physics::SoftProxy const *");
49025 
49026  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49027  SWIG_fail_ptr("SoftProxy_GetProxyType",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49028  }
49029 
49030  result = (Mezzanine::ProxyType)((Mezzanine::Physics::SoftProxy const *)arg1)->GetProxyType();
49031  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
49032  return SWIG_arg;
49033 
49034  if(0) SWIG_fail;
49035 
49036 fail:
49037  lua_error(L);
49038  return SWIG_arg;
49039 }
49040 
49041 
49042 static int _wrap_SoftProxy_AddToWorld(lua_State* L) {
49043  int SWIG_arg = 0;
49045 
49046  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::AddToWorld",1,1)
49047  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::AddToWorld",1,"Mezzanine::Physics::SoftProxy *");
49048 
49049  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49050  SWIG_fail_ptr("SoftProxy_AddToWorld",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49051  }
49052 
49053  (arg1)->AddToWorld();
49054 
49055  return SWIG_arg;
49056 
49057  if(0) SWIG_fail;
49058 
49059 fail:
49060  lua_error(L);
49061  return SWIG_arg;
49062 }
49063 
49064 
49065 static int _wrap_SoftProxy_RemoveFromWorld(lua_State* L) {
49066  int SWIG_arg = 0;
49068 
49069  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::RemoveFromWorld",1,1)
49070  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::RemoveFromWorld",1,"Mezzanine::Physics::SoftProxy *");
49071 
49072  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49073  SWIG_fail_ptr("SoftProxy_RemoveFromWorld",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49074  }
49075 
49076  (arg1)->RemoveFromWorld();
49077 
49078  return SWIG_arg;
49079 
49080  if(0) SWIG_fail;
49081 
49082 fail:
49083  lua_error(L);
49084  return SWIG_arg;
49085 }
49086 
49087 
49088 static int _wrap_SoftProxy_SetCollisionShape(lua_State* L) {
49089  int SWIG_arg = 0;
49092 
49093  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetCollisionShape",2,2)
49094  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetCollisionShape",1,"Mezzanine::Physics::SoftProxy *");
49095  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetCollisionShape",2,"Mezzanine::Physics::CollisionShape *");
49096 
49097  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49098  SWIG_fail_ptr("SoftProxy_SetCollisionShape",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49099  }
49100 
49101 
49102  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape,0))){
49103  SWIG_fail_ptr("SoftProxy_SetCollisionShape",2,SWIGTYPE_p_Mezzanine__Physics__CollisionShape);
49104  }
49105 
49106  (arg1)->SetCollisionShape(arg2);
49107 
49108  return SWIG_arg;
49109 
49110  if(0) SWIG_fail;
49111 
49112 fail:
49113  lua_error(L);
49114  return SWIG_arg;
49115 }
49116 
49117 
49118 static int _wrap_SoftProxy_SetLocation__SWIG_0(lua_State* L) {
49119  int SWIG_arg = 0;
49121  Mezzanine::Physics::Vector3 *arg2 = 0 ;
49122 
49123  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetLocation",2,2)
49124  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetLocation",1,"Mezzanine::Physics::SoftProxy *");
49125  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetLocation",2,"Mezzanine::Physics::Vector3 const &");
49126 
49127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49128  SWIG_fail_ptr("SoftProxy_SetLocation",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49129  }
49130 
49131 
49132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
49133  SWIG_fail_ptr("SoftProxy_SetLocation",2,SWIGTYPE_p_Mezzanine__Vector3);
49134  }
49135 
49136  (arg1)->SetLocation((Mezzanine::Physics::Vector3 const &)*arg2);
49137 
49138  return SWIG_arg;
49139 
49140  if(0) SWIG_fail;
49141 
49142 fail:
49143  lua_error(L);
49144  return SWIG_arg;
49145 }
49146 
49147 
49148 static int _wrap_SoftProxy_SetLocation__SWIG_1(lua_State* L) {
49149  int SWIG_arg = 0;
49151  Mezzanine::Real arg2 ;
49152  Mezzanine::Real arg3 ;
49153  Mezzanine::Real arg4 ;
49154 
49155  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetLocation",4,4)
49156  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetLocation",1,"Mezzanine::Physics::SoftProxy *");
49157  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetLocation",2,"Mezzanine::Real const");
49158  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetLocation",3,"Mezzanine::Real const");
49159  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetLocation",4,"Mezzanine::Real const");
49160 
49161  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49162  SWIG_fail_ptr("SoftProxy_SetLocation",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49163  }
49164 
49165  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
49166  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
49167  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
49168  (arg1)->SetLocation(arg2,arg3,arg4);
49169 
49170  return SWIG_arg;
49171 
49172  if(0) SWIG_fail;
49173 
49174 fail:
49175  lua_error(L);
49176  return SWIG_arg;
49177 }
49178 
49179 
49180 static int _wrap_SoftProxy_SetLocation(lua_State* L) {
49181  int argc;
49182  int argv[5]={
49183  1,2,3,4,5
49184  };
49185 
49186  argc = lua_gettop(L);
49187  if (argc == 2) {
49188  int _v;
49189  {
49190  void *ptr;
49191  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__SoftProxy, 0)) {
49192  _v = 0;
49193  } else {
49194  _v = 1;
49195  }
49196  }
49197  if (_v) {
49198  {
49199  void *ptr;
49200  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
49201  _v = 0;
49202  } else {
49203  _v = 1;
49204  }
49205  }
49206  if (_v) {
49207  return _wrap_SoftProxy_SetLocation__SWIG_0(L);
49208  }
49209  }
49210  }
49211  if (argc == 4) {
49212  int _v;
49213  {
49214  void *ptr;
49215  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__SoftProxy, 0)) {
49216  _v = 0;
49217  } else {
49218  _v = 1;
49219  }
49220  }
49221  if (_v) {
49222  {
49223  _v = lua_isnumber(L,argv[1]);
49224  }
49225  if (_v) {
49226  {
49227  _v = lua_isnumber(L,argv[2]);
49228  }
49229  if (_v) {
49230  {
49231  _v = lua_isnumber(L,argv[3]);
49232  }
49233  if (_v) {
49234  return _wrap_SoftProxy_SetLocation__SWIG_1(L);
49235  }
49236  }
49237  }
49238  }
49239  }
49240 
49241  lua_pushstring(L,"Wrong arguments for overloaded function 'SoftProxy_SetLocation'\n"
49242  " Possible C/C++ prototypes are:\n"
49243  " Mezzanine::Physics::SoftProxy::SetLocation(Mezzanine::Physics::Vector3 const &)\n"
49244  " Mezzanine::Physics::SoftProxy::SetLocation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
49245  lua_error(L);return 0;
49246 }
49247 
49248 
49249 static int _wrap_SoftProxy_GetLocation(lua_State* L) {
49250  int SWIG_arg = 0;
49253 
49254  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::GetLocation",1,1)
49255  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::GetLocation",1,"Mezzanine::Physics::SoftProxy const *");
49256 
49257  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49258  SWIG_fail_ptr("SoftProxy_GetLocation",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49259  }
49260 
49261  result = ((Mezzanine::Physics::SoftProxy const *)arg1)->GetLocation();
49262  {
49264  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
49265  }
49266  return SWIG_arg;
49267 
49268  if(0) SWIG_fail;
49269 
49270 fail:
49271  lua_error(L);
49272  return SWIG_arg;
49273 }
49274 
49275 
49276 static int _wrap_SoftProxy_SetOrientation__SWIG_0(lua_State* L) {
49277  int SWIG_arg = 0;
49279  Mezzanine::Quaternion *arg2 = 0 ;
49280 
49281  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetOrientation",2,2)
49282  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",1,"Mezzanine::Physics::SoftProxy *");
49283  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",2,"Mezzanine::Quaternion const &");
49284 
49285  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49286  SWIG_fail_ptr("SoftProxy_SetOrientation",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49287  }
49288 
49289 
49290  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Quaternion,0))){
49291  SWIG_fail_ptr("SoftProxy_SetOrientation",2,SWIGTYPE_p_Mezzanine__Quaternion);
49292  }
49293 
49294  (arg1)->SetOrientation((Mezzanine::Quaternion const &)*arg2);
49295 
49296  return SWIG_arg;
49297 
49298  if(0) SWIG_fail;
49299 
49300 fail:
49301  lua_error(L);
49302  return SWIG_arg;
49303 }
49304 
49305 
49306 static int _wrap_SoftProxy_SetOrientation__SWIG_1(lua_State* L) {
49307  int SWIG_arg = 0;
49309  Mezzanine::Real arg2 ;
49310  Mezzanine::Real arg3 ;
49311  Mezzanine::Real arg4 ;
49312  Mezzanine::Real arg5 ;
49313 
49314  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetOrientation",5,5)
49315  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",1,"Mezzanine::Physics::SoftProxy *");
49316  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",2,"Mezzanine::Real const");
49317  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",3,"Mezzanine::Real const");
49318  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",4,"Mezzanine::Real const");
49319  if(!lua_isnumber(L,5)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetOrientation",5,"Mezzanine::Real const");
49320 
49321  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49322  SWIG_fail_ptr("SoftProxy_SetOrientation",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49323  }
49324 
49325  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
49326  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
49327  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
49328  arg5 = (Mezzanine::Real const)lua_tonumber(L, 5);
49329  (arg1)->SetOrientation(arg2,arg3,arg4,arg5);
49330 
49331  return SWIG_arg;
49332 
49333  if(0) SWIG_fail;
49334 
49335 fail:
49336  lua_error(L);
49337  return SWIG_arg;
49338 }
49339 
49340 
49341 static int _wrap_SoftProxy_SetOrientation(lua_State* L) {
49342  int argc;
49343  int argv[6]={
49344  1,2,3,4,5,6
49345  };
49346 
49347  argc = lua_gettop(L);
49348  if (argc == 2) {
49349  int _v;
49350  {
49351  void *ptr;
49352  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__SoftProxy, 0)) {
49353  _v = 0;
49354  } else {
49355  _v = 1;
49356  }
49357  }
49358  if (_v) {
49359  {
49360  void *ptr;
49361  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Quaternion, 0)) {
49362  _v = 0;
49363  } else {
49364  _v = 1;
49365  }
49366  }
49367  if (_v) {
49368  return _wrap_SoftProxy_SetOrientation__SWIG_0(L);
49369  }
49370  }
49371  }
49372  if (argc == 5) {
49373  int _v;
49374  {
49375  void *ptr;
49376  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__SoftProxy, 0)) {
49377  _v = 0;
49378  } else {
49379  _v = 1;
49380  }
49381  }
49382  if (_v) {
49383  {
49384  _v = lua_isnumber(L,argv[1]);
49385  }
49386  if (_v) {
49387  {
49388  _v = lua_isnumber(L,argv[2]);
49389  }
49390  if (_v) {
49391  {
49392  _v = lua_isnumber(L,argv[3]);
49393  }
49394  if (_v) {
49395  {
49396  _v = lua_isnumber(L,argv[4]);
49397  }
49398  if (_v) {
49399  return _wrap_SoftProxy_SetOrientation__SWIG_1(L);
49400  }
49401  }
49402  }
49403  }
49404  }
49405  }
49406 
49407  lua_pushstring(L,"Wrong arguments for overloaded function 'SoftProxy_SetOrientation'\n"
49408  " Possible C/C++ prototypes are:\n"
49409  " Mezzanine::Physics::SoftProxy::SetOrientation(Mezzanine::Quaternion const &)\n"
49410  " Mezzanine::Physics::SoftProxy::SetOrientation(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
49411  lua_error(L);return 0;
49412 }
49413 
49414 
49415 static int _wrap_SoftProxy_GetOrientation(lua_State* L) {
49416  int SWIG_arg = 0;
49418  Mezzanine::Quaternion result;
49419 
49420  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::GetOrientation",1,1)
49421  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::GetOrientation",1,"Mezzanine::Physics::SoftProxy const *");
49422 
49423  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49424  SWIG_fail_ptr("SoftProxy_GetOrientation",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49425  }
49426 
49427  result = ((Mezzanine::Physics::SoftProxy const *)arg1)->GetOrientation();
49428  {
49429  Mezzanine::Quaternion * resultptr = new Mezzanine::Quaternion((const Mezzanine::Quaternion &) result);
49430  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Quaternion,1); SWIG_arg++;
49431  }
49432  return SWIG_arg;
49433 
49434  if(0) SWIG_fail;
49435 
49436 fail:
49437  lua_error(L);
49438  return SWIG_arg;
49439 }
49440 
49441 
49442 static int _wrap_SoftProxy_SetScale__SWIG_0(lua_State* L) {
49443  int SWIG_arg = 0;
49445  Mezzanine::Physics::Vector3 *arg2 = 0 ;
49446 
49447  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetScale",2,2)
49448  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetScale",1,"Mezzanine::Physics::SoftProxy *");
49449  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetScale",2,"Mezzanine::Physics::Vector3 const &");
49450 
49451  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49452  SWIG_fail_ptr("SoftProxy_SetScale",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49453  }
49454 
49455 
49456  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Vector3,0))){
49457  SWIG_fail_ptr("SoftProxy_SetScale",2,SWIGTYPE_p_Mezzanine__Vector3);
49458  }
49459 
49460  (arg1)->SetScale((Mezzanine::Physics::Vector3 const &)*arg2);
49461 
49462  return SWIG_arg;
49463 
49464  if(0) SWIG_fail;
49465 
49466 fail:
49467  lua_error(L);
49468  return SWIG_arg;
49469 }
49470 
49471 
49472 static int _wrap_SoftProxy_SetScale__SWIG_1(lua_State* L) {
49473  int SWIG_arg = 0;
49475  Mezzanine::Real arg2 ;
49476  Mezzanine::Real arg3 ;
49477  Mezzanine::Real arg4 ;
49478 
49479  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::SetScale",4,4)
49480  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetScale",1,"Mezzanine::Physics::SoftProxy *");
49481  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetScale",2,"Mezzanine::Real const");
49482  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetScale",3,"Mezzanine::Real const");
49483  if(!lua_isnumber(L,4)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::SetScale",4,"Mezzanine::Real const");
49484 
49485  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49486  SWIG_fail_ptr("SoftProxy_SetScale",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49487  }
49488 
49489  arg2 = (Mezzanine::Real const)lua_tonumber(L, 2);
49490  arg3 = (Mezzanine::Real const)lua_tonumber(L, 3);
49491  arg4 = (Mezzanine::Real const)lua_tonumber(L, 4);
49492  (arg1)->SetScale(arg2,arg3,arg4);
49493 
49494  return SWIG_arg;
49495 
49496  if(0) SWIG_fail;
49497 
49498 fail:
49499  lua_error(L);
49500  return SWIG_arg;
49501 }
49502 
49503 
49504 static int _wrap_SoftProxy_SetScale(lua_State* L) {
49505  int argc;
49506  int argv[5]={
49507  1,2,3,4,5
49508  };
49509 
49510  argc = lua_gettop(L);
49511  if (argc == 2) {
49512  int _v;
49513  {
49514  void *ptr;
49515  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__SoftProxy, 0)) {
49516  _v = 0;
49517  } else {
49518  _v = 1;
49519  }
49520  }
49521  if (_v) {
49522  {
49523  void *ptr;
49524  if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_Mezzanine__Vector3, 0)) {
49525  _v = 0;
49526  } else {
49527  _v = 1;
49528  }
49529  }
49530  if (_v) {
49531  return _wrap_SoftProxy_SetScale__SWIG_0(L);
49532  }
49533  }
49534  }
49535  if (argc == 4) {
49536  int _v;
49537  {
49538  void *ptr;
49539  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_Mezzanine__Physics__SoftProxy, 0)) {
49540  _v = 0;
49541  } else {
49542  _v = 1;
49543  }
49544  }
49545  if (_v) {
49546  {
49547  _v = lua_isnumber(L,argv[1]);
49548  }
49549  if (_v) {
49550  {
49551  _v = lua_isnumber(L,argv[2]);
49552  }
49553  if (_v) {
49554  {
49555  _v = lua_isnumber(L,argv[3]);
49556  }
49557  if (_v) {
49558  return _wrap_SoftProxy_SetScale__SWIG_1(L);
49559  }
49560  }
49561  }
49562  }
49563  }
49564 
49565  lua_pushstring(L,"Wrong arguments for overloaded function 'SoftProxy_SetScale'\n"
49566  " Possible C/C++ prototypes are:\n"
49567  " Mezzanine::Physics::SoftProxy::SetScale(Mezzanine::Physics::Vector3 const &)\n"
49568  " Mezzanine::Physics::SoftProxy::SetScale(Mezzanine::Real const,Mezzanine::Real const,Mezzanine::Real const)\n");
49569  lua_error(L);return 0;
49570 }
49571 
49572 
49573 static int _wrap_SoftProxy_GetScale(lua_State* L) {
49574  int SWIG_arg = 0;
49577 
49578  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::GetScale",1,1)
49579  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::GetScale",1,"Mezzanine::Physics::SoftProxy const *");
49580 
49581  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49582  SWIG_fail_ptr("SoftProxy_GetScale",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49583  }
49584 
49585  result = ((Mezzanine::Physics::SoftProxy const *)arg1)->GetScale();
49586  {
49588  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_Mezzanine__Vector3,1); SWIG_arg++;
49589  }
49590  return SWIG_arg;
49591 
49592  if(0) SWIG_fail;
49593 
49594 fail:
49595  lua_error(L);
49596  return SWIG_arg;
49597 }
49598 
49599 
49600 static int _wrap_SoftProxy_ProtoSerialize(lua_State* L) {
49601  int SWIG_arg = 0;
49603  XML::Node *arg2 = 0 ;
49604 
49605  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::ProtoSerialize",2,2)
49606  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoSerialize",1,"Mezzanine::Physics::SoftProxy const *");
49607  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoSerialize",2,"XML::Node &");
49608 
49609  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49610  SWIG_fail_ptr("SoftProxy_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49611  }
49612 
49613 
49614  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
49615  SWIG_fail_ptr("SoftProxy_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
49616  }
49617 
49618  ((Mezzanine::Physics::SoftProxy const *)arg1)->ProtoSerialize(*arg2);
49619 
49620  return SWIG_arg;
49621 
49622  if(0) SWIG_fail;
49623 
49624 fail:
49625  lua_error(L);
49626  return SWIG_arg;
49627 }
49628 
49629 
49630 static int _wrap_SoftProxy_ProtoSerializeProperties(lua_State* L) {
49631  int SWIG_arg = 0;
49633  XML::Node *arg2 = 0 ;
49634 
49635  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::ProtoSerializeProperties",2,2)
49636  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoSerializeProperties",1,"Mezzanine::Physics::SoftProxy const *");
49637  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoSerializeProperties",2,"XML::Node &");
49638 
49639  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49640  SWIG_fail_ptr("SoftProxy_ProtoSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49641  }
49642 
49643 
49644  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
49645  SWIG_fail_ptr("SoftProxy_ProtoSerializeProperties",2,SWIGTYPE_p_XML__Node);
49646  }
49647 
49648  ((Mezzanine::Physics::SoftProxy const *)arg1)->ProtoSerializeProperties(*arg2);
49649 
49650  return SWIG_arg;
49651 
49652  if(0) SWIG_fail;
49653 
49654 fail:
49655  lua_error(L);
49656  return SWIG_arg;
49657 }
49658 
49659 
49660 static int _wrap_SoftProxy_ProtoSeriailzeNodes(lua_State* L) {
49661  int SWIG_arg = 0;
49663  XML::Node *arg2 = 0 ;
49664 
49665  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::ProtoSeriailzeNodes",2,2)
49666  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoSeriailzeNodes",1,"Mezzanine::Physics::SoftProxy const *");
49667  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoSeriailzeNodes",2,"XML::Node &");
49668 
49669  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49670  SWIG_fail_ptr("SoftProxy_ProtoSeriailzeNodes",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49671  }
49672 
49673 
49674  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
49675  SWIG_fail_ptr("SoftProxy_ProtoSeriailzeNodes",2,SWIGTYPE_p_XML__Node);
49676  }
49677 
49678  ((Mezzanine::Physics::SoftProxy const *)arg1)->ProtoSeriailzeNodes(*arg2);
49679 
49680  return SWIG_arg;
49681 
49682  if(0) SWIG_fail;
49683 
49684 fail:
49685  lua_error(L);
49686  return SWIG_arg;
49687 }
49688 
49689 
49690 static int _wrap_SoftProxy_ProtoDeSerialize(lua_State* L) {
49691  int SWIG_arg = 0;
49693  XML::Node *arg2 = 0 ;
49694 
49695  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::ProtoDeSerialize",2,2)
49696  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoDeSerialize",1,"Mezzanine::Physics::SoftProxy *");
49697  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoDeSerialize",2,"XML::Node const &");
49698 
49699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49700  SWIG_fail_ptr("SoftProxy_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49701  }
49702 
49703 
49704  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
49705  SWIG_fail_ptr("SoftProxy_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
49706  }
49707 
49708  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
49709 
49710  return SWIG_arg;
49711 
49712  if(0) SWIG_fail;
49713 
49714 fail:
49715  lua_error(L);
49716  return SWIG_arg;
49717 }
49718 
49719 
49720 static int _wrap_SoftProxy_ProtoDeSerializeProperties(lua_State* L) {
49721  int SWIG_arg = 0;
49723  XML::Node *arg2 = 0 ;
49724 
49725  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::ProtoDeSerializeProperties",2,2)
49726  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoDeSerializeProperties",1,"Mezzanine::Physics::SoftProxy *");
49727  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoDeSerializeProperties",2,"XML::Node const &");
49728 
49729  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49730  SWIG_fail_ptr("SoftProxy_ProtoDeSerializeProperties",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49731  }
49732 
49733 
49734  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
49735  SWIG_fail_ptr("SoftProxy_ProtoDeSerializeProperties",2,SWIGTYPE_p_XML__Node);
49736  }
49737 
49738  (arg1)->ProtoDeSerializeProperties((XML::Node const &)*arg2);
49739 
49740  return SWIG_arg;
49741 
49742  if(0) SWIG_fail;
49743 
49744 fail:
49745  lua_error(L);
49746  return SWIG_arg;
49747 }
49748 
49749 
49750 static int _wrap_SoftProxy_ProtoDeSeriailzeNodes(lua_State* L) {
49751  int SWIG_arg = 0;
49753  XML::Node *arg2 = 0 ;
49754 
49755  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::ProtoDeSeriailzeNodes",2,2)
49756  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoDeSeriailzeNodes",1,"Mezzanine::Physics::SoftProxy const *");
49757  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::ProtoDeSeriailzeNodes",2,"XML::Node &");
49758 
49759  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49760  SWIG_fail_ptr("SoftProxy_ProtoDeSeriailzeNodes",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49761  }
49762 
49763 
49764  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
49765  SWIG_fail_ptr("SoftProxy_ProtoDeSeriailzeNodes",2,SWIGTYPE_p_XML__Node);
49766  }
49767 
49768  ((Mezzanine::Physics::SoftProxy const *)arg1)->ProtoDeSeriailzeNodes(*arg2);
49769 
49770  return SWIG_arg;
49771 
49772  if(0) SWIG_fail;
49773 
49774 fail:
49775  lua_error(L);
49776  return SWIG_arg;
49777 }
49778 
49779 
49780 static int _wrap_SoftProxy_GetDerivedSerializableName(lua_State* L) {
49781  int SWIG_arg = 0;
49783  Mezzanine::String result;
49784 
49785  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::GetDerivedSerializableName",1,1)
49786  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::GetDerivedSerializableName",1,"Mezzanine::Physics::SoftProxy const *");
49787 
49788  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49789  SWIG_fail_ptr("SoftProxy_GetDerivedSerializableName",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49790  }
49791 
49792  result = ((Mezzanine::Physics::SoftProxy const *)arg1)->GetDerivedSerializableName();
49793  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
49794  return SWIG_arg;
49795 
49796  if(0) SWIG_fail;
49797 
49798 fail:
49799  lua_error(L);
49800  return SWIG_arg;
49801 }
49802 
49803 
49804 static int _wrap_SoftProxy_GetSerializableName(lua_State* L) {
49805  int SWIG_arg = 0;
49806  Mezzanine::String result;
49807 
49808  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::GetSerializableName",0,0)
49809  result = Mezzanine::Physics::SoftProxy::GetSerializableName();
49810  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
49811  return SWIG_arg;
49812 
49813  if(0) SWIG_fail;
49814 
49815 fail:
49816  lua_error(L);
49817  return SWIG_arg;
49818 }
49819 
49820 
49821 static int _wrap_SoftProxy__GetPhysicsObject(lua_State* L) {
49822  int SWIG_arg = 0;
49824  btSoftBody *result = 0 ;
49825 
49826  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::_GetPhysicsObject",1,1)
49827  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::_GetPhysicsObject",1,"Mezzanine::Physics::SoftProxy const *");
49828 
49829  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49830  SWIG_fail_ptr("SoftProxy__GetPhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49831  }
49832 
49833  result = (btSoftBody *)((Mezzanine::Physics::SoftProxy const *)arg1)->_GetPhysicsObject();
49834  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btSoftBody,0); SWIG_arg++;
49835  return SWIG_arg;
49836 
49837  if(0) SWIG_fail;
49838 
49839 fail:
49840  lua_error(L);
49841  return SWIG_arg;
49842 }
49843 
49844 
49845 static int _wrap_SoftProxy__GetBasePhysicsObject(lua_State* L) {
49846  int SWIG_arg = 0;
49848  btCollisionObject *result = 0 ;
49849 
49850  SWIG_check_num_args("Mezzanine::Physics::SoftProxy::_GetBasePhysicsObject",1,1)
49851  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SoftProxy::_GetBasePhysicsObject",1,"Mezzanine::Physics::SoftProxy const *");
49852 
49853  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy,0))){
49854  SWIG_fail_ptr("SoftProxy__GetBasePhysicsObject",1,SWIGTYPE_p_Mezzanine__Physics__SoftProxy);
49855  }
49856 
49857  result = (btCollisionObject *)((Mezzanine::Physics::SoftProxy const *)arg1)->_GetBasePhysicsObject();
49858  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btCollisionObject,0); SWIG_arg++;
49859  return SWIG_arg;
49860 
49861  if(0) SWIG_fail;
49862 
49863 fail:
49864  lua_error(L);
49865  return SWIG_arg;
49866 }
49867 
49868 
49869 static void swig_delete_SoftProxy(void *obj) {
49871 delete arg1;
49872 }
49873 static swig_lua_method swig_Mezzanine_Physics_SoftProxy_methods[] = {
49874  {"GetProxyType", _wrap_SoftProxy_GetProxyType},
49875  {"AddToWorld", _wrap_SoftProxy_AddToWorld},
49876  {"RemoveFromWorld", _wrap_SoftProxy_RemoveFromWorld},
49877  {"SetCollisionShape", _wrap_SoftProxy_SetCollisionShape},
49878  {"SetLocation", _wrap_SoftProxy_SetLocation},
49879  {"GetLocation", _wrap_SoftProxy_GetLocation},
49880  {"SetOrientation", _wrap_SoftProxy_SetOrientation},
49881  {"GetOrientation", _wrap_SoftProxy_GetOrientation},
49882  {"SetScale", _wrap_SoftProxy_SetScale},
49883  {"GetScale", _wrap_SoftProxy_GetScale},
49884  {"ProtoSerialize", _wrap_SoftProxy_ProtoSerialize},
49885  {"ProtoSerializeProperties", _wrap_SoftProxy_ProtoSerializeProperties},
49886  {"ProtoSeriailzeNodes", _wrap_SoftProxy_ProtoSeriailzeNodes},
49887  {"ProtoDeSerialize", _wrap_SoftProxy_ProtoDeSerialize},
49888  {"ProtoDeSerializeProperties", _wrap_SoftProxy_ProtoDeSerializeProperties},
49889  {"ProtoDeSeriailzeNodes", _wrap_SoftProxy_ProtoDeSeriailzeNodes},
49890  {"GetDerivedSerializableName", _wrap_SoftProxy_GetDerivedSerializableName},
49891  {"_GetPhysicsObject", _wrap_SoftProxy__GetPhysicsObject},
49892  {"_GetBasePhysicsObject", _wrap_SoftProxy__GetBasePhysicsObject},
49893  {0,0}
49894 };
49895 static swig_lua_attribute swig_Mezzanine_Physics_SoftProxy_attributes[] = {
49896  {0,0,0}
49897 };
49898 static swig_lua_class *swig_Mezzanine_Physics_SoftProxy_bases[] = {0,0};
49899 static const char *swig_Mezzanine_Physics_SoftProxy_base_names[] = {"Mezzanine::Physics::CollidableProxy *",0};
49900 static swig_lua_class _wrap_class_Mezzanine_Physics_SoftProxy = { "SoftProxy", &SWIGTYPE_p_Mezzanine__Physics__SoftProxy,_wrap_new_SoftProxy, swig_delete_SoftProxy, swig_Mezzanine_Physics_SoftProxy_methods, swig_Mezzanine_Physics_SoftProxy_attributes, swig_Mezzanine_Physics_SoftProxy_bases, swig_Mezzanine_Physics_SoftProxy_base_names };
49901 
49902 static int _wrap_new_SphereCollisionShape__SWIG_0(lua_State* L) {
49903  int SWIG_arg = 0;
49904  Mezzanine::String *arg1 = 0 ;
49905  Mezzanine::Real *arg2 = 0 ;
49906  Mezzanine::String temp1 ;
49907  Mezzanine::Real temp2 ;
49909 
49910  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",2,2)
49911  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",1,"Mezzanine::String const &");
49912  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",2,"Mezzanine::Real const &");
49913  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
49914  temp2=(Mezzanine::Real)lua_tonumber(L,2); arg2=&temp2;
49915  result = (Mezzanine::Physics::SphereCollisionShape *)new Mezzanine::Physics::SphereCollisionShape((Mezzanine::String const &)*arg1,(Mezzanine::Real const &)*arg2);
49916  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,1); SWIG_arg++;
49917  return SWIG_arg;
49918 
49919  if(0) SWIG_fail;
49920 
49921 fail:
49922  lua_error(L);
49923  return SWIG_arg;
49924 }
49925 
49926 
49927 static int _wrap_new_SphereCollisionShape__SWIG_1(lua_State* L) {
49928  int SWIG_arg = 0;
49929  Mezzanine::String *arg1 = 0 ;
49930  btSphereShape *arg2 = (btSphereShape *) 0 ;
49931  Mezzanine::String temp1 ;
49933 
49934  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",2,2)
49935  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",1,"Mezzanine::String const &");
49936  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",2,"btSphereShape *");
49937  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
49938 
49939  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btSphereShape,0))){
49940  SWIG_fail_ptr("new_SphereCollisionShape",2,SWIGTYPE_p_btSphereShape);
49941  }
49942 
49944  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,1); SWIG_arg++;
49945  return SWIG_arg;
49946 
49947  if(0) SWIG_fail;
49948 
49949 fail:
49950  lua_error(L);
49951  return SWIG_arg;
49952 }
49953 
49954 
49955 static int _wrap_new_SphereCollisionShape__SWIG_2(lua_State* L) {
49956  int SWIG_arg = 0;
49957  XML::Node arg1 ;
49958  XML::Node *argp1 ;
49960 
49961  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",1,1)
49962  if(!lua_isuserdata(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape",1,"XML::Node");
49963 
49964  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&argp1,SWIGTYPE_p_XML__Node,0))){
49965  SWIG_fail_ptr("new_SphereCollisionShape",1,SWIGTYPE_p_XML__Node);
49966  }
49967  arg1 = *argp1;
49968 
49970  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,1); SWIG_arg++;
49971  return SWIG_arg;
49972 
49973  if(0) SWIG_fail;
49974 
49975 fail:
49976  lua_error(L);
49977  return SWIG_arg;
49978 }
49979 
49980 
49981 static int _wrap_new_SphereCollisionShape(lua_State* L) {
49982  int argc;
49983  int argv[3]={
49984  1,2,3
49985  };
49986 
49987  argc = lua_gettop(L);
49988  if (argc == 1) {
49989  int _v;
49990  {
49991  void *ptr;
49992  if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_XML__Node, 0)) {
49993  _v = 0;
49994  } else {
49995  _v = 1;
49996  }
49997  }
49998  if (_v) {
49999  return _wrap_new_SphereCollisionShape__SWIG_2(L);
50000  }
50001  }
50002  if (argc == 2) {
50003  int _v;
50004  {
50005  _v = lua_isstring(L,argv[0]);
50006  }
50007  if (_v) {
50008  {
50009  void *ptr;
50010  if (SWIG_isptrtype(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_btSphereShape, 0)) {
50011  _v = 0;
50012  } else {
50013  _v = 1;
50014  }
50015  }
50016  if (_v) {
50017  return _wrap_new_SphereCollisionShape__SWIG_1(L);
50018  }
50019  }
50020  }
50021  if (argc == 2) {
50022  int _v;
50023  {
50024  _v = lua_isstring(L,argv[0]);
50025  }
50026  if (_v) {
50027  {
50028  _v = lua_isnumber(L,argv[1]);
50029  }
50030  if (_v) {
50031  return _wrap_new_SphereCollisionShape__SWIG_0(L);
50032  }
50033  }
50034  }
50035 
50036  lua_pushstring(L,"Wrong arguments for overloaded function 'new_SphereCollisionShape'\n"
50037  " Possible C/C++ prototypes are:\n"
50038  " Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape(Mezzanine::String const &,Mezzanine::Real const &)\n"
50039  " Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape(Mezzanine::String const &,btSphereShape *)\n"
50040  " Mezzanine::Physics::SphereCollisionShape::SphereCollisionShape(XML::Node)\n");
50041  lua_error(L);return 0;
50042 }
50043 
50044 
50045 static int _wrap_SphereCollisionShape_GetRadius(lua_State* L) {
50046  int SWIG_arg = 0;
50048  Mezzanine::Real result;
50049 
50050  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::GetRadius",1,1)
50051  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::GetRadius",1,"Mezzanine::Physics::SphereCollisionShape const *");
50052 
50053  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,0))){
50054  SWIG_fail_ptr("SphereCollisionShape_GetRadius",1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape);
50055  }
50056 
50057  result = (Mezzanine::Real)((Mezzanine::Physics::SphereCollisionShape const *)arg1)->GetRadius();
50058  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
50059  return SWIG_arg;
50060 
50061  if(0) SWIG_fail;
50062 
50063 fail:
50064  lua_error(L);
50065  return SWIG_arg;
50066 }
50067 
50068 
50069 static int _wrap_SphereCollisionShape_GetType(lua_State* L) {
50070  int SWIG_arg = 0;
50073 
50074  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::GetType",1,1)
50075  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::GetType",1,"Mezzanine::Physics::SphereCollisionShape const *");
50076 
50077  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,0))){
50078  SWIG_fail_ptr("SphereCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape);
50079  }
50080 
50082  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
50083  return SWIG_arg;
50084 
50085  if(0) SWIG_fail;
50086 
50087 fail:
50088  lua_error(L);
50089  return SWIG_arg;
50090 }
50091 
50092 
50093 static int _wrap_SphereCollisionShape_GetSphereShape(lua_State* L) {
50094  int SWIG_arg = 0;
50096  btSphereShape *result = 0 ;
50097 
50098  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::GetSphereShape",1,1)
50099  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::GetSphereShape",1,"Mezzanine::Physics::SphereCollisionShape const *");
50100 
50101  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,0))){
50102  SWIG_fail_ptr("SphereCollisionShape_GetSphereShape",1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape);
50103  }
50104 
50105  result = (btSphereShape *)((Mezzanine::Physics::SphereCollisionShape const *)arg1)->GetSphereShape();
50106  SWIG_NewPointerObj(L,result,SWIGTYPE_p_btSphereShape,0); SWIG_arg++;
50107  return SWIG_arg;
50108 
50109  if(0) SWIG_fail;
50110 
50111 fail:
50112  lua_error(L);
50113  return SWIG_arg;
50114 }
50115 
50116 
50117 static int _wrap_SphereCollisionShape_ProtoSerialize(lua_State* L) {
50118  int SWIG_arg = 0;
50120  XML::Node *arg2 = 0 ;
50121 
50122  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::ProtoSerialize",2,2)
50123  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::ProtoSerialize",1,"Mezzanine::Physics::SphereCollisionShape const *");
50124  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::ProtoSerialize",2,"XML::Node &");
50125 
50126  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,0))){
50127  SWIG_fail_ptr("SphereCollisionShape_ProtoSerialize",1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape);
50128  }
50129 
50130 
50131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
50132  SWIG_fail_ptr("SphereCollisionShape_ProtoSerialize",2,SWIGTYPE_p_XML__Node);
50133  }
50134 
50135  ((Mezzanine::Physics::SphereCollisionShape const *)arg1)->ProtoSerialize(*arg2);
50136 
50137  return SWIG_arg;
50138 
50139  if(0) SWIG_fail;
50140 
50141 fail:
50142  lua_error(L);
50143  return SWIG_arg;
50144 }
50145 
50146 
50147 static int _wrap_SphereCollisionShape_ProtoDeSerialize(lua_State* L) {
50148  int SWIG_arg = 0;
50150  XML::Node *arg2 = 0 ;
50151 
50152  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::ProtoDeSerialize",2,2)
50153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::ProtoDeSerialize",1,"Mezzanine::Physics::SphereCollisionShape *");
50154  if(!lua_isuserdata(L,2)) SWIG_fail_arg("Mezzanine::Physics::SphereCollisionShape::ProtoDeSerialize",2,"XML::Node const &");
50155 
50156  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,0))){
50157  SWIG_fail_ptr("SphereCollisionShape_ProtoDeSerialize",1,SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape);
50158  }
50159 
50160 
50161  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_XML__Node,0))){
50162  SWIG_fail_ptr("SphereCollisionShape_ProtoDeSerialize",2,SWIGTYPE_p_XML__Node);
50163  }
50164 
50165  (arg1)->ProtoDeSerialize((XML::Node const &)*arg2);
50166 
50167  return SWIG_arg;
50168 
50169  if(0) SWIG_fail;
50170 
50171 fail:
50172  lua_error(L);
50173  return SWIG_arg;
50174 }
50175 
50176 
50177 static int _wrap_SphereCollisionShape_SerializableName(lua_State* L) {
50178  int SWIG_arg = 0;
50179  Mezzanine::String result;
50180 
50181  SWIG_check_num_args("Mezzanine::Physics::SphereCollisionShape::SerializableName",0,0)
50182  result = Mezzanine::Physics::SphereCollisionShape::SerializableName();
50183  lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++;
50184  return SWIG_arg;
50185 
50186  if(0) SWIG_fail;
50187 
50188 fail:
50189  lua_error(L);
50190  return SWIG_arg;
50191 }
50192 
50193 
50194 static void swig_delete_SphereCollisionShape(void *obj) {
50196 delete arg1;
50197 }
50198 static swig_lua_method swig_Mezzanine_Physics_SphereCollisionShape_methods[] = {
50199  {"GetRadius", _wrap_SphereCollisionShape_GetRadius},
50200  {"GetType", _wrap_SphereCollisionShape_GetType},
50201  {"GetSphereShape", _wrap_SphereCollisionShape_GetSphereShape},
50202  {"ProtoSerialize", _wrap_SphereCollisionShape_ProtoSerialize},
50203  {"ProtoDeSerialize", _wrap_SphereCollisionShape_ProtoDeSerialize},
50204  {0,0}
50205 };
50206 static swig_lua_attribute swig_Mezzanine_Physics_SphereCollisionShape_attributes[] = {
50207  {0,0,0}
50208 };
50209 static swig_lua_class *swig_Mezzanine_Physics_SphereCollisionShape_bases[] = {0,0};
50210 static const char *swig_Mezzanine_Physics_SphereCollisionShape_base_names[] = {"Mezzanine::Physics::PrimitiveCollisionShape *",0};
50211 static swig_lua_class _wrap_class_Mezzanine_Physics_SphereCollisionShape = { "SphereCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__SphereCollisionShape,_wrap_new_SphereCollisionShape, swig_delete_SphereCollisionShape, swig_Mezzanine_Physics_SphereCollisionShape_methods, swig_Mezzanine_Physics_SphereCollisionShape_attributes, swig_Mezzanine_Physics_SphereCollisionShape_bases, swig_Mezzanine_Physics_SphereCollisionShape_base_names };
50212 
50213 static int _wrap_new_StaticMeshCollisionShape(lua_State* L) {
50214  int SWIG_arg = 0;
50215  Mezzanine::String *arg1 = 0 ;
50216  btBvhTriangleMeshShape *arg2 = (btBvhTriangleMeshShape *) 0 ;
50217  Mezzanine::String temp1 ;
50219 
50220  SWIG_check_num_args("Mezzanine::Physics::StaticMeshCollisionShape::StaticMeshCollisionShape",2,2)
50221  if(!lua_isstring(L,1)) SWIG_fail_arg("Mezzanine::Physics::StaticMeshCollisionShape::StaticMeshCollisionShape",1,"Mezzanine::String const &");
50222  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::StaticMeshCollisionShape::StaticMeshCollisionShape",2,"btBvhTriangleMeshShape *");
50223  temp1.assign(lua_tostring(L,1),lua_rawlen(L,1)); arg1=&temp1;
50224 
50225  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_btBvhTriangleMeshShape,0))){
50226  SWIG_fail_ptr("new_StaticMeshCollisionShape",2,SWIGTYPE_p_btBvhTriangleMeshShape);
50227  }
50228 
50230  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,1); SWIG_arg++;
50231  return SWIG_arg;
50232 
50233  if(0) SWIG_fail;
50234 
50235 fail:
50236  lua_error(L);
50237  return SWIG_arg;
50238 }
50239 
50240 
50241 static int _wrap_StaticMeshCollisionShape_GetType(lua_State* L) {
50242  int SWIG_arg = 0;
50245 
50246  SWIG_check_num_args("Mezzanine::Physics::StaticMeshCollisionShape::GetType",1,1)
50247  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::StaticMeshCollisionShape::GetType",1,"Mezzanine::Physics::StaticMeshCollisionShape const *");
50248 
50249  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,0))){
50250  SWIG_fail_ptr("StaticMeshCollisionShape_GetType",1,SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape);
50251  }
50252 
50254  lua_pushnumber(L, (lua_Number)(int)(result)); SWIG_arg++;
50255  return SWIG_arg;
50256 
50257  if(0) SWIG_fail;
50258 
50259 fail:
50260  lua_error(L);
50261  return SWIG_arg;
50262 }
50263 
50264 
50265 static void swig_delete_StaticMeshCollisionShape(void *obj) {
50267 delete arg1;
50268 }
50269 static swig_lua_method swig_Mezzanine_Physics_StaticMeshCollisionShape_methods[] = {
50270  {"GetType", _wrap_StaticMeshCollisionShape_GetType},
50271  {0,0}
50272 };
50273 static swig_lua_attribute swig_Mezzanine_Physics_StaticMeshCollisionShape_attributes[] = {
50274  {0,0,0}
50275 };
50276 static swig_lua_class *swig_Mezzanine_Physics_StaticMeshCollisionShape_bases[] = {0,0};
50277 static const char *swig_Mezzanine_Physics_StaticMeshCollisionShape_base_names[] = {"Mezzanine::Physics::MeshCollisionShape *",0};
50278 static swig_lua_class _wrap_class_Mezzanine_Physics_StaticMeshCollisionShape = { "StaticMeshCollisionShape", &SWIGTYPE_p_Mezzanine__Physics__StaticMeshCollisionShape,_wrap_new_StaticMeshCollisionShape, swig_delete_StaticMeshCollisionShape, swig_Mezzanine_Physics_StaticMeshCollisionShape_methods, swig_Mezzanine_Physics_StaticMeshCollisionShape_attributes, swig_Mezzanine_Physics_StaticMeshCollisionShape_bases, swig_Mezzanine_Physics_StaticMeshCollisionShape_base_names };
50279 
50280 static int _wrap_new_UniversalConstraint(lua_State* L) {
50281  int SWIG_arg = 0;
50284  Mezzanine::Physics::Vector3 *arg3 = 0 ;
50285  Mezzanine::Physics::Vector3 *arg4 = 0 ;
50286  Mezzanine::Physics::Vector3 *arg5 = 0 ;
50288 
50289  SWIG_check_num_args("Mezzanine::Physics::UniversalConstraint::UniversalConstraint",5,5)
50290  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::UniversalConstraint",1,"Mezzanine::Physics::RigidProxy *");
50291  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::UniversalConstraint",2,"Mezzanine::Physics::RigidProxy *");
50292  if(!lua_isuserdata(L,3)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::UniversalConstraint",3,"Mezzanine::Physics::Vector3 const &");
50293  if(!lua_isuserdata(L,4)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::UniversalConstraint",4,"Mezzanine::Physics::Vector3 const &");
50294  if(!lua_isuserdata(L,5)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::UniversalConstraint",5,"Mezzanine::Physics::Vector3 const &");
50295 
50296  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
50297  SWIG_fail_ptr("new_UniversalConstraint",1,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
50298  }
50299 
50300 
50301  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy,0))){
50302  SWIG_fail_ptr("new_UniversalConstraint",2,SWIGTYPE_p_Mezzanine__Physics__RigidProxy);
50303  }
50304 
50305 
50306  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_Mezzanine__Vector3,0))){
50307  SWIG_fail_ptr("new_UniversalConstraint",3,SWIGTYPE_p_Mezzanine__Vector3);
50308  }
50309 
50310 
50311  if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_Mezzanine__Vector3,0))){
50312  SWIG_fail_ptr("new_UniversalConstraint",4,SWIGTYPE_p_Mezzanine__Vector3);
50313  }
50314 
50315 
50316  if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_Mezzanine__Vector3,0))){
50317  SWIG_fail_ptr("new_UniversalConstraint",5,SWIGTYPE_p_Mezzanine__Vector3);
50318  }
50319 
50321  SWIG_NewPointerObj(L,result,SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint,1); SWIG_arg++;
50322  return SWIG_arg;
50323 
50324  if(0) SWIG_fail;
50325 
50326 fail:
50327  lua_error(L);
50328  return SWIG_arg;
50329 }
50330 
50331 
50332 static int _wrap_UniversalConstraint_SetUpperLimit(lua_State* L) {
50333  int SWIG_arg = 0;
50335  Mezzanine::Real arg2 ;
50336  Mezzanine::Real arg3 ;
50337 
50338  SWIG_check_num_args("Mezzanine::Physics::UniversalConstraint::SetUpperLimit",3,3)
50339  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::SetUpperLimit",1,"Mezzanine::Physics::UniversalConstraint *");
50340  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::SetUpperLimit",2,"Mezzanine::Real");
50341  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::SetUpperLimit",3,"Mezzanine::Real");
50342 
50343  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint,0))){
50344  SWIG_fail_ptr("UniversalConstraint_SetUpperLimit",1,SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint);
50345  }
50346 
50347  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
50348  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
50349  (arg1)->SetUpperLimit(arg2,arg3);
50350 
50351  return SWIG_arg;
50352 
50353  if(0) SWIG_fail;
50354 
50355 fail:
50356  lua_error(L);
50357  return SWIG_arg;
50358 }
50359 
50360 
50361 static int _wrap_UniversalConstraint_SetLowerLimit(lua_State* L) {
50362  int SWIG_arg = 0;
50364  Mezzanine::Real arg2 ;
50365  Mezzanine::Real arg3 ;
50366 
50367  SWIG_check_num_args("Mezzanine::Physics::UniversalConstraint::SetLowerLimit",3,3)
50368  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::SetLowerLimit",1,"Mezzanine::Physics::UniversalConstraint *");
50369  if(!lua_isnumber(L,2)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::SetLowerLimit",2,"Mezzanine::Real");
50370  if(!lua_isnumber(L,3)) SWIG_fail_arg("Mezzanine::Physics::UniversalConstraint::SetLowerLimit",3,"Mezzanine::Real");
50371 
50372  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint,0))){
50373  SWIG_fail_ptr("UniversalConstraint_SetLowerLimit",1,SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint);
50374  }
50375 
50376  arg2 = (Mezzanine::Real)lua_tonumber(L, 2);
50377  arg3 = (Mezzanine::Real)lua_tonumber(L, 3);
50378  (arg1)->SetLowerLimit(arg2,arg3);
50379 
50380  return SWIG_arg;
50381 
50382  if(0) SWIG_fail;
50383 
50384 fail:
50385  lua_error(L);
50386  return SWIG_arg;
50387 }
50388 
50389 
50390 static void swig_delete_UniversalConstraint(void *obj) {
50392 delete arg1;
50393 }
50394 static swig_lua_method swig_Mezzanine_Physics_UniversalConstraint_methods[] = {
50395  {"SetUpperLimit", _wrap_UniversalConstraint_SetUpperLimit},
50396  {"SetLowerLimit", _wrap_UniversalConstraint_SetLowerLimit},
50397  {0,0}
50398 };
50399 static swig_lua_attribute swig_Mezzanine_Physics_UniversalConstraint_attributes[] = {
50400  {0,0,0}
50401 };
50402 static swig_lua_class *swig_Mezzanine_Physics_UniversalConstraint_bases[] = {0,0};
50403 static const char *swig_Mezzanine_Physics_UniversalConstraint_base_names[] = {"Mezzanine::Physics::Generic6DofConstraint *",0};
50404 static swig_lua_class _wrap_class_Mezzanine_Physics_UniversalConstraint = { "UniversalConstraint", &SWIGTYPE_p_Mezzanine__Physics__UniversalConstraint,_wrap_new_UniversalConstraint, swig_delete_UniversalConstraint, swig_Mezzanine_Physics_UniversalConstraint_methods, swig_Mezzanine_Physics_UniversalConstraint_attributes, swig_Mezzanine_Physics_UniversalConstraint_bases, swig_Mezzanine_Physics_UniversalConstraint_base_names };
50405 
50406 #ifdef __cplusplus
50407 }
50408 #endif
50409 
50410 static const struct luaL_Reg swig_commands[] = {
50411  { "CollisionShape_SerializableName", _wrap_CollisionShape_SerializableName},
50412  { "CreateShape",_wrap_CreateShape},
50413  { "InternalShapeTypeToShapeType", _wrap_InternalShapeTypeToShapeType},
50414  { "ShapeTypeToString", _wrap_ShapeTypeToString},
50415  { "StringToShapeType", _wrap_StringToShapeType},
50416  { "SingletonCollisionShapeManager_GetSingletonPtr", _wrap_SingletonCollisionShapeManager_GetSingletonPtr},
50417  { "SingletonCollisionShapeManager_SingletonValid", _wrap_SingletonCollisionShapeManager_SingletonValid},
50418  { "PrimitiveCollisionShape_SerializableName", _wrap_PrimitiveCollisionShape_SerializableName},
50419  { "BoxCollisionShape_SerializableName", _wrap_BoxCollisionShape_SerializableName},
50420  { "CapsuleCollisionShape_SerializableName", _wrap_CapsuleCollisionShape_SerializableName},
50421  { "SerializeError",_wrap_SerializeError},
50422  { "DeSerializeError",_wrap_DeSerializeError},
50423  { "Vector3_Unit_X", _wrap_Vector3_Unit_X},
50424  { "Vector3_Unit_Y", _wrap_Vector3_Unit_Y},
50425  { "Vector3_Unit_Z", _wrap_Vector3_Unit_Z},
50426  { "Vector3_Neg_Unit_X", _wrap_Vector3_Neg_Unit_X},
50427  { "Vector3_Neg_Unit_Y", _wrap_Vector3_Neg_Unit_Y},
50428  { "Vector3_Neg_Unit_Z", _wrap_Vector3_Neg_Unit_Z},
50429  { "Vector3_UnitOnAxis", _wrap_Vector3_UnitOnAxis},
50430  { "Vector3_SerializableName", _wrap_Vector3_SerializableName},
50431  { "__add",_wrap___add},
50432  { "__sub",_wrap___sub},
50433  { "__mul",_wrap___mul},
50434  { "__div",_wrap___div},
50435  { "Quaternion_SerializableName", _wrap_Quaternion_SerializableName},
50436  { "WorldProxy_GetSerializableName", _wrap_WorldProxy_GetSerializableName},
50437  { "CollidableProxy_GetSerializableName", _wrap_CollidableProxy_GetSerializableName},
50438  { "CompoundCollisionShape_SerializableName", _wrap_CompoundCollisionShape_SerializableName},
50439  { "ConeCollisionShape_SerializableName", _wrap_ConeCollisionShape_SerializableName},
50440  { "Transform_SerializableName", _wrap_Transform_SerializableName},
50441  { "ConstraintParamAsString", _wrap_ConstraintParamAsString},
50442  { "StringAsConstraintParam", _wrap_StringAsConstraintParam},
50443  { "char4ToAxis", _wrap_char4ToAxis},
50444  { "Constraint_SerializableName", _wrap_Constraint_SerializableName},
50445  { "ConvexHullCollisionShape_SerializableName", _wrap_ConvexHullCollisionShape_SerializableName},
50446  { "CylinderCollisionShape_CreateHalfExtents", _wrap_CylinderCollisionShape_CreateHalfExtents},
50447  { "CylinderCollisionShape_SerializableName", _wrap_CylinderCollisionShape_SerializableName},
50448  { "DualTransformConstraint_SerializableName", _wrap_DualTransformConstraint_SerializableName},
50449  { "MeshCollisionShape_SerializableName", _wrap_MeshCollisionShape_SerializableName},
50450  { "FieldCollisionShape_SerializableName", _wrap_FieldCollisionShape_SerializableName},
50451  { "GearConstraint_SerializableName", _wrap_GearConstraint_SerializableName},
50452  { "Generic6DofConstraint_SerializableName", _wrap_Generic6DofConstraint_SerializableName},
50453  { "Generic6DofSpringConstraint_SerializableName", _wrap_Generic6DofSpringConstraint_SerializableName},
50454  { "GhostProxy_GetSerializableName", _wrap_GhostProxy_GetSerializableName},
50455  { "HingeConstraint_SerializableName", _wrap_HingeConstraint_SerializableName},
50456  { "MultiSphereCollisionShape_SerializableName", _wrap_MultiSphereCollisionShape_SerializableName},
50457  { "Plane_GetSerializableName", _wrap_Plane_GetSerializableName},
50458  { "PlaneCollisionShape_SerializableName", _wrap_PlaneCollisionShape_SerializableName},
50459  { "Point2PointConstraint_SerializableName", _wrap_Point2PointConstraint_SerializableName},
50460  { "RigidProxy_GetSerializableName", _wrap_RigidProxy_GetSerializableName},
50461  { "SoftProxy_GetSerializableName", _wrap_SoftProxy_GetSerializableName},
50462  { "SphereCollisionShape_SerializableName", _wrap_SphereCollisionShape_SerializableName},
50463  {0,0}
50464 };
50465 
50466 static swig_lua_var_info swig_variables[] = {
50467  { "ConstraintParamCount", _wrap_ConstraintParamCount_get, SWIG_Lua_set_immutable },
50468  {0,0,0}
50469 };
50470 
50471 static swig_lua_const_info swig_constants[] = {
50472  {SWIG_LUA_CONSTTAB_INT("AS_Active", Mezzanine::Physics::AS_Active)},
50473  {SWIG_LUA_CONSTTAB_INT("AS_Island_Sleeping", Mezzanine::Physics::AS_Island_Sleeping)},
50474  {SWIG_LUA_CONSTTAB_INT("AS_Wants_Deactivation", Mezzanine::Physics::AS_Wants_Deactivation)},
50475  {SWIG_LUA_CONSTTAB_INT("AS_DisableDeactivation", Mezzanine::Physics::AS_DisableDeactivation)},
50476  {SWIG_LUA_CONSTTAB_INT("AS_DisableSimulation", Mezzanine::Physics::AS_DisableSimulation)},
50477  {SWIG_LUA_CONSTTAB_INT("AFF_AnisotropicFrictionDisabled", Mezzanine::Physics::AFF_AnisotropicFrictionDisabled)},
50478  {SWIG_LUA_CONSTTAB_INT("AFF_AnisotropicFriction", Mezzanine::Physics::AFF_AnisotropicFriction)},
50479  {SWIG_LUA_CONSTTAB_INT("AFF_AnisotropicRollingFriction", Mezzanine::Physics::AFF_AnisotropicRollingFriction)},
50480  {SWIG_LUA_CONSTTAB_INT("CF_GenericFilter", Mezzanine::Physics::CF_GenericFilter)},
50481  {SWIG_LUA_CONSTTAB_INT("CF_StaticFilter", Mezzanine::Physics::CF_StaticFilter)},
50482  {SWIG_LUA_CONSTTAB_INT("CF_KinematicFilter", Mezzanine::Physics::CF_KinematicFilter)},
50483  {SWIG_LUA_CONSTTAB_INT("CF_DebrisFilter", Mezzanine::Physics::CF_DebrisFilter)},
50484  {SWIG_LUA_CONSTTAB_INT("CF_SensorFilter", Mezzanine::Physics::CF_SensorFilter)},
50485  {SWIG_LUA_CONSTTAB_INT("CF_CharacterFilter", Mezzanine::Physics::CF_CharacterFilter)},
50486  {SWIG_LUA_CONSTTAB_INT("CF_AllFilter", Mezzanine::Physics::CF_AllFilter)},
50487  {SWIG_LUA_CONSTTAB_INT("CF_UserFilter1", Mezzanine::Physics::CF_UserFilter1)},
50488  {SWIG_LUA_CONSTTAB_INT("CF_UserFilter2", Mezzanine::Physics::CF_UserFilter2)},
50489  {SWIG_LUA_CONSTTAB_INT("CF_UserFilter3", Mezzanine::Physics::CF_UserFilter3)},
50490  {SWIG_LUA_CONSTTAB_INT("CF_UserFilter4", Mezzanine::Physics::CF_UserFilter4)},
50491  {SWIG_LUA_CONSTTAB_INT("CF_StaticObject", Mezzanine::Physics::CF_StaticObject)},
50492  {SWIG_LUA_CONSTTAB_INT("CF_KinematicObject", Mezzanine::Physics::CF_KinematicObject)},
50493  {SWIG_LUA_CONSTTAB_INT("CF_NoContactResponse", Mezzanine::Physics::CF_NoContactResponse)},
50494  {SWIG_LUA_CONSTTAB_INT("CF_CustomMaterialCallback", Mezzanine::Physics::CF_CustomMaterialCallback)},
50495  {SWIG_LUA_CONSTTAB_INT("CF_CharacterObject", Mezzanine::Physics::CF_CharacterObject)},
50496  {SWIG_LUA_CONSTTAB_INT("CF_DisableVisualizeObject", Mezzanine::Physics::CF_DisableVisualizeObject)},
50497  {SWIG_LUA_CONSTTAB_INT("CF_DisableSPUCollisionProcessing", Mezzanine::Physics::CF_DisableSPUCollisionProcessing)},
50498  {SWIG_LUA_CONSTTAB_INT("Col_Begin", Mezzanine::Physics::Col_Begin)},
50499  {SWIG_LUA_CONSTTAB_INT("Col_Contacts_Updated", Mezzanine::Physics::Col_Contacts_Updated)},
50500  {SWIG_LUA_CONSTTAB_INT("Col_End", Mezzanine::Physics::Col_End)},
50501  {SWIG_LUA_CONSTTAB_INT("Col_Actor_Actor", Mezzanine::Physics::Col_Actor_Actor)},
50502  {SWIG_LUA_CONSTTAB_INT("Col_Actor_AreaEffect", Mezzanine::Physics::Col_Actor_AreaEffect)},
50503  {SWIG_LUA_CONSTTAB_INT("Col_Actor_Debris", Mezzanine::Physics::Col_Actor_Debris)},
50504  {SWIG_LUA_CONSTTAB_INT("Col_Actor_Terrain", Mezzanine::Physics::Col_Actor_Terrain)},
50505  {SWIG_LUA_CONSTTAB_INT("Col_AreaEffect_AreaEffect", Mezzanine::Physics::Col_AreaEffect_AreaEffect)},
50506  {SWIG_LUA_CONSTTAB_INT("Col_AreaEffect_Debris", Mezzanine::Physics::Col_AreaEffect_Debris)},
50507  {SWIG_LUA_CONSTTAB_INT("Col_AreaEffect_Terrain", Mezzanine::Physics::Col_AreaEffect_Terrain)},
50508  {SWIG_LUA_CONSTTAB_INT("Col_Debris_Debris", Mezzanine::Physics::Col_Debris_Debris)},
50509  {SWIG_LUA_CONSTTAB_INT("Col_Debris_Terrain", Mezzanine::Physics::Col_Debris_Terrain)},
50510  {SWIG_LUA_CONSTTAB_INT("DDM_NoDebug", Mezzanine::Physics::DDM_NoDebug)},
50511  {SWIG_LUA_CONSTTAB_INT("DDM_DrawWireframe", Mezzanine::Physics::DDM_DrawWireframe)},
50512  {SWIG_LUA_CONSTTAB_INT("DDM_DrawAABB", Mezzanine::Physics::DDM_DrawAABB)},
50513  {SWIG_LUA_CONSTTAB_INT("DDM_DrawFeaturesText", Mezzanine::Physics::DDM_DrawFeaturesText)},
50514  {SWIG_LUA_CONSTTAB_INT("DDM_DrawContactPoints", Mezzanine::Physics::DDM_DrawContactPoints)},
50515  {SWIG_LUA_CONSTTAB_INT("DDM_NoDeactivation", Mezzanine::Physics::DDM_NoDeactivation)},
50516  {SWIG_LUA_CONSTTAB_INT("DDM_NoHelpText", Mezzanine::Physics::DDM_NoHelpText)},
50517  {SWIG_LUA_CONSTTAB_INT("DDM_DrawText", Mezzanine::Physics::DDM_DrawText)},
50518  {SWIG_LUA_CONSTTAB_INT("DDM_ProfileTimings", Mezzanine::Physics::DDM_ProfileTimings)},
50519  {SWIG_LUA_CONSTTAB_INT("DDM_EnableSatComparison", Mezzanine::Physics::DDM_EnableSatComparison)},
50520  {SWIG_LUA_CONSTTAB_INT("DDM_DisableBulletLCP", Mezzanine::Physics::DDM_DisableBulletLCP)},
50521  {SWIG_LUA_CONSTTAB_INT("DDM_EnableCCD", Mezzanine::Physics::DDM_EnableCCD)},
50522  {SWIG_LUA_CONSTTAB_INT("DDM_DrawConstraints", Mezzanine::Physics::DDM_DrawConstraints)},
50523  {SWIG_LUA_CONSTTAB_INT("DDM_DrawConstraintLimits", Mezzanine::Physics::DDM_DrawConstraintLimits)},
50524  {SWIG_LUA_CONSTTAB_INT("DDM_FastWireframe", Mezzanine::Physics::DDM_FastWireframe)},
50525  {SWIG_LUA_CONSTTAB_INT("DDM_DrawNormals", Mezzanine::Physics::DDM_DrawNormals)},
50526  {SWIG_LUA_CONSTTAB_INT("DDM_All", Mezzanine::Physics::DDM_All)},
50527  {SWIG_LUA_CONSTTAB_INT("PT_Rigid", Mezzanine::Physics::PT_Rigid)},
50528  {SWIG_LUA_CONSTTAB_INT("PT_Soft", Mezzanine::Physics::PT_Soft)},
50529  {SWIG_LUA_CONSTTAB_INT("PT_Ghost", Mezzanine::Physics::PT_Ghost)},
50530  {SWIG_LUA_CONSTTAB_INT("MEZZANINE_CORE", 1)},
50531  {SWIG_LUA_CONSTTAB_INT("MEZZ_FRAMESTOTRACK", 10)},
50532  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Box", Mezzanine::Physics::CollisionShape::ST_Box)},
50533  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Capsule", Mezzanine::Physics::CollisionShape::ST_Capsule)},
50534  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Compound", Mezzanine::Physics::CollisionShape::ST_Compound)},
50535  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Cone", Mezzanine::Physics::CollisionShape::ST_Cone)},
50536  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_ConvexHull", Mezzanine::Physics::CollisionShape::ST_ConvexHull)},
50537  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Cylinder", Mezzanine::Physics::CollisionShape::ST_Cylinder)},
50538  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_MultiSphere", Mezzanine::Physics::CollisionShape::ST_MultiSphere)},
50539  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Sphere", Mezzanine::Physics::CollisionShape::ST_Sphere)},
50540  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_DynamicTriMesh", Mezzanine::Physics::CollisionShape::ST_DynamicTriMesh)},
50541  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Heightfield", Mezzanine::Physics::CollisionShape::ST_Heightfield)},
50542  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Plane", Mezzanine::Physics::CollisionShape::ST_Plane)},
50543  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_Soft", Mezzanine::Physics::CollisionShape::ST_Soft)},
50544  {SWIG_LUA_CONSTTAB_INT("CollisionShape_ST_StaticTriMesh", Mezzanine::Physics::CollisionShape::ST_StaticTriMesh)},
50545  {SWIG_LUA_CONSTTAB_INT("AT_FileSystem", Mezzanine::AT_FileSystem)},
50546  {SWIG_LUA_CONSTTAB_INT("AT_Zip", Mezzanine::AT_Zip)},
50547  {SWIG_LUA_CONSTTAB_INT("AT_Invalid", Mezzanine::AT_Invalid)},
50548  {SWIG_LUA_CONSTTAB_INT("Att_None", Mezzanine::Att_None)},
50549  {SWIG_LUA_CONSTTAB_INT("Att_Linear", Mezzanine::Att_Linear)},
50550  {SWIG_LUA_CONSTTAB_INT("Att_Quadratic", Mezzanine::Att_Quadratic)},
50551  {SWIG_LUA_CONSTTAB_INT("OM_Degree_0", Mezzanine::OM_Degree_0)},
50552  {SWIG_LUA_CONSTTAB_INT("OM_Degree_90", Mezzanine::OM_Degree_90)},
50553  {SWIG_LUA_CONSTTAB_INT("OM_Degree_180", Mezzanine::OM_Degree_180)},
50554  {SWIG_LUA_CONSTTAB_INT("OM_Degree_270", Mezzanine::OM_Degree_270)},
50555  {SWIG_LUA_CONSTTAB_INT("OM_Portrait", Mezzanine::OM_Portrait)},
50556  {SWIG_LUA_CONSTTAB_INT("OM_LandscapeRight", Mezzanine::OM_LandscapeRight)},
50557  {SWIG_LUA_CONSTTAB_INT("OM_LandscapeLeft", Mezzanine::OM_LandscapeLeft)},
50558  {SWIG_LUA_CONSTTAB_INT("PL_Unpaused", Mezzanine::PL_Unpaused)},
50559  {SWIG_LUA_CONSTTAB_INT("PL_PausePhysics", Mezzanine::PL_PausePhysics)},
50560  {SWIG_LUA_CONSTTAB_INT("PL_PauseParticles", Mezzanine::PL_PauseParticles)},
50561  {SWIG_LUA_CONSTTAB_INT("PL_PauseAnimations", Mezzanine::PL_PauseAnimations)},
50562  {SWIG_LUA_CONSTTAB_INT("PL_PauseAll", Mezzanine::PL_PauseAll)},
50563  {SWIG_LUA_CONSTTAB_INT("PT_Audio_First", Mezzanine::PT_Audio_First)},
50564  {SWIG_LUA_CONSTTAB_INT("PT_Audio_Listener", Mezzanine::PT_Audio_Listener)},
50565  {SWIG_LUA_CONSTTAB_INT("PT_Audio_SoundProxy", Mezzanine::PT_Audio_SoundProxy)},
50566  {SWIG_LUA_CONSTTAB_INT("PT_Audio_Last", Mezzanine::PT_Audio_Last)},
50567  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_First", Mezzanine::PT_Graphics_First)},
50568  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_BillboardSetProxy", Mezzanine::PT_Graphics_BillboardSetProxy)},
50569  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_CameraProxy", Mezzanine::PT_Graphics_CameraProxy)},
50570  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_EntityProxy", Mezzanine::PT_Graphics_EntityProxy)},
50571  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_LightProxy", Mezzanine::PT_Graphics_LightProxy)},
50572  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_ParticleSystemProxy", Mezzanine::PT_Graphics_ParticleSystemProxy)},
50573  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_Last", Mezzanine::PT_Graphics_Last)},
50574  {SWIG_LUA_CONSTTAB_INT("PT_Physics_First", Mezzanine::PT_Physics_First)},
50575  {SWIG_LUA_CONSTTAB_INT("PT_Physics_GhostProxy", Mezzanine::PT_Physics_GhostProxy)},
50576  {SWIG_LUA_CONSTTAB_INT("PT_Physics_RigidProxy", Mezzanine::PT_Physics_RigidProxy)},
50577  {SWIG_LUA_CONSTTAB_INT("PT_Physics_SoftProxy", Mezzanine::PT_Physics_SoftProxy)},
50578  {SWIG_LUA_CONSTTAB_INT("PT_Physics_Last", Mezzanine::PT_Physics_Last)},
50579  {SWIG_LUA_CONSTTAB_INT("PT_Audio_All_Proxies", Mezzanine::PT_Audio_All_Proxies)},
50580  {SWIG_LUA_CONSTTAB_INT("PT_Graphics_All_Proxies", Mezzanine::PT_Graphics_All_Proxies)},
50581  {SWIG_LUA_CONSTTAB_INT("PT_Physics_All_Proxies", Mezzanine::PT_Physics_All_Proxies)},
50582  {SWIG_LUA_CONSTTAB_INT("Axis_Invalid", Mezzanine::Axis_Invalid)},
50583  {SWIG_LUA_CONSTTAB_INT("Axis_X", Mezzanine::Axis_X)},
50584  {SWIG_LUA_CONSTTAB_INT("Axis_Y", Mezzanine::Axis_Y)},
50585  {SWIG_LUA_CONSTTAB_INT("Axis_Z", Mezzanine::Axis_Z)},
50586  {SWIG_LUA_CONSTTAB_INT("TT_Simple", Mezzanine::TT_Simple)},
50587  {SWIG_LUA_CONSTTAB_INT("TT_Spline", Mezzanine::TT_Spline)},
50588  {SWIG_LUA_CONSTTAB_INT("TT_Bezier", Mezzanine::TT_Bezier)},
50589  {SWIG_LUA_CONSTTAB_INT("TS_Local", Mezzanine::TS_Local)},
50590  {SWIG_LUA_CONSTTAB_INT("TS_Parent", Mezzanine::TS_Parent)},
50591  {SWIG_LUA_CONSTTAB_INT("TS_World", Mezzanine::TS_World)},
50592  {SWIG_LUA_CONSTTAB_INT("WO_TerrainFirst", Mezzanine::WO_TerrainFirst)},
50593  {SWIG_LUA_CONSTTAB_INT("WO_MeshTerrain", Mezzanine::WO_MeshTerrain)},
50594  {SWIG_LUA_CONSTTAB_INT("WO_HeightfieldTerrain", Mezzanine::WO_HeightfieldTerrain)},
50595  {SWIG_LUA_CONSTTAB_INT("WO_VectorFieldTerrain", Mezzanine::WO_VectorFieldTerrain)},
50596  {SWIG_LUA_CONSTTAB_INT("WO_VoxelTerrain", Mezzanine::WO_VoxelTerrain)},
50597  {SWIG_LUA_CONSTTAB_INT("WO_MarchingCubeTerrain", Mezzanine::WO_MarchingCubeTerrain)},
50598  {SWIG_LUA_CONSTTAB_INT("WO_UnknownTerrain", Mezzanine::WO_UnknownTerrain)},
50599  {SWIG_LUA_CONSTTAB_INT("WO_TerrainLast", Mezzanine::WO_TerrainLast)},
50600  {SWIG_LUA_CONSTTAB_INT("WO_DebrisFirst", Mezzanine::WO_DebrisFirst)},
50601  {SWIG_LUA_CONSTTAB_INT("WO_DebrisRigid", Mezzanine::WO_DebrisRigid)},
50602  {SWIG_LUA_CONSTTAB_INT("WO_DebrisSoft", Mezzanine::WO_DebrisSoft)},
50603  {SWIG_LUA_CONSTTAB_INT("WO_DebrisUnknown", Mezzanine::WO_DebrisUnknown)},
50604  {SWIG_LUA_CONSTTAB_INT("WO_DebrisLast", Mezzanine::WO_DebrisLast)},
50605  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectFirst", Mezzanine::WO_AreaEffectFirst)},
50606  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectGravityField", Mezzanine::WO_AreaEffectGravityField)},
50607  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectGravityWell", Mezzanine::WO_AreaEffectGravityWell)},
50608  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectFieldOfForce", Mezzanine::WO_AreaEffectFieldOfForce)},
50609  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectPlaceHolder1", Mezzanine::WO_AreaEffectPlaceHolder1)},
50610  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectPlaceHolder2", Mezzanine::WO_AreaEffectPlaceHolder2)},
50611  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectUnknown", Mezzanine::WO_AreaEffectUnknown)},
50612  {SWIG_LUA_CONSTTAB_INT("WO_AreaEffectLast", Mezzanine::WO_AreaEffectLast)},
50613  {SWIG_LUA_CONSTTAB_INT("WO_ActorFirst", Mezzanine::WO_ActorFirst)},
50614  {SWIG_LUA_CONSTTAB_INT("WO_ActorPlaceHolder1", Mezzanine::WO_ActorPlaceHolder1)},
50615  {SWIG_LUA_CONSTTAB_INT("WO_ActorPlaceHolder2", Mezzanine::WO_ActorPlaceHolder2)},
50616  {SWIG_LUA_CONSTTAB_INT("WO_ActorPlaceHolder3", Mezzanine::WO_ActorPlaceHolder3)},
50617  {SWIG_LUA_CONSTTAB_INT("WO_ActorLast", Mezzanine::WO_ActorLast)},
50618  {SWIG_LUA_CONSTTAB_INT("WO_VehicleFirst", Mezzanine::WO_VehicleFirst)},
50619  {SWIG_LUA_CONSTTAB_INT("WO_VehiclePlaceHolder1", Mezzanine::WO_VehiclePlaceHolder1)},
50620  {SWIG_LUA_CONSTTAB_INT("WO_VehiclePlaceHolder2", Mezzanine::WO_VehiclePlaceHolder2)},
50621  {SWIG_LUA_CONSTTAB_INT("WO_VehiclePlaceHolder3", Mezzanine::WO_VehiclePlaceHolder3)},
50622  {SWIG_LUA_CONSTTAB_INT("WO_VehiclePlaceHolder4", Mezzanine::WO_VehiclePlaceHolder4)},
50623  {SWIG_LUA_CONSTTAB_INT("WO_VehiclePlaceHolder5", Mezzanine::WO_VehiclePlaceHolder5)},
50624  {SWIG_LUA_CONSTTAB_INT("WO_VehicleLast", Mezzanine::WO_VehicleLast)},
50625  {SWIG_LUA_CONSTTAB_INT("Exception_IO_EXCEPTION", Mezzanine::Exception::IO_EXCEPTION)},
50626  {SWIG_LUA_CONSTTAB_INT("Exception_IO_FILE_EXCEPTION", Mezzanine::Exception::IO_FILE_EXCEPTION)},
50627  {SWIG_LUA_CONSTTAB_INT("Exception_IO_FILE_READ_EXCEPTION", Mezzanine::Exception::IO_FILE_READ_EXCEPTION)},
50628  {SWIG_LUA_CONSTTAB_INT("Exception_IO_FILE_WRITE_EXCEPTION", Mezzanine::Exception::IO_FILE_WRITE_EXCEPTION)},
50629  {SWIG_LUA_CONSTTAB_INT("Exception_IO_FILE_NOT_FOUND_EXCEPTION", Mezzanine::Exception::IO_FILE_NOT_FOUND_EXCEPTION)},
50630  {SWIG_LUA_CONSTTAB_INT("Exception_IO_FILE_PERMISSION_EXCEPTION", Mezzanine::Exception::IO_FILE_PERMISSION_EXCEPTION)},
50631  {SWIG_LUA_CONSTTAB_INT("Exception_IO_DIRECTORY_EXCEPTION", Mezzanine::Exception::IO_DIRECTORY_EXCEPTION)},
50632  {SWIG_LUA_CONSTTAB_INT("Exception_IO_DIRECTORY_READ_EXCEPTION", Mezzanine::Exception::IO_DIRECTORY_READ_EXCEPTION)},
50633  {SWIG_LUA_CONSTTAB_INT("Exception_IO_DIRECTORY_WRITE_EXCEPTION", Mezzanine::Exception::IO_DIRECTORY_WRITE_EXCEPTION)},
50634  {SWIG_LUA_CONSTTAB_INT("Exception_IO_DIRECTORY_NOT_FOUND_EXCEPTION", Mezzanine::Exception::IO_DIRECTORY_NOT_FOUND_EXCEPTION)},
50635  {SWIG_LUA_CONSTTAB_INT("Exception_IO_DIRECTORY_PERMISSION_EXCEPTION", Mezzanine::Exception::IO_DIRECTORY_PERMISSION_EXCEPTION)},
50636  {SWIG_LUA_CONSTTAB_INT("Exception_IO_NETWORK_EXCEPTION", Mezzanine::Exception::IO_NETWORK_EXCEPTION)},
50637  {SWIG_LUA_CONSTTAB_INT("Exception_IO_NETWORK_READ_EXCEPTION", Mezzanine::Exception::IO_NETWORK_READ_EXCEPTION)},
50638  {SWIG_LUA_CONSTTAB_INT("Exception_IO_NETWORK_WRITE_EXCEPTION", Mezzanine::Exception::IO_NETWORK_WRITE_EXCEPTION)},
50639  {SWIG_LUA_CONSTTAB_INT("Exception_IO_NETWORK_NOT_FOUND_EXCEPTION", Mezzanine::Exception::IO_NETWORK_NOT_FOUND_EXCEPTION)},
50640  {SWIG_LUA_CONSTTAB_INT("Exception_IO_NETWORK_URL_EXCEPTION", Mezzanine::Exception::IO_NETWORK_URL_EXCEPTION)},
50641  {SWIG_LUA_CONSTTAB_INT("Exception_IO_NETWORK_PERMISSION_EXCEPTION", Mezzanine::Exception::IO_NETWORK_PERMISSION_EXCEPTION)},
50642  {SWIG_LUA_CONSTTAB_INT("Exception_IO_WRITE_EXCEPTION", Mezzanine::Exception::IO_WRITE_EXCEPTION)},
50643  {SWIG_LUA_CONSTTAB_INT("Exception_IO_READ_EXCEPTION", Mezzanine::Exception::IO_READ_EXCEPTION)},
50644  {SWIG_LUA_CONSTTAB_INT("Exception_II_EXCEPTION", Mezzanine::Exception::II_EXCEPTION)},
50645  {SWIG_LUA_CONSTTAB_INT("Exception_II_IDENTITY_INVALID_EXCEPTION", Mezzanine::Exception::II_IDENTITY_INVALID_EXCEPTION)},
50646  {SWIG_LUA_CONSTTAB_INT("Exception_II_IDENTITY_NOT_FOUND_EXCEPTION", Mezzanine::Exception::II_IDENTITY_NOT_FOUND_EXCEPTION)},
50647  {SWIG_LUA_CONSTTAB_INT("Exception_II_DUPLICATE_IDENTITY_EXCEPTION", Mezzanine::Exception::II_DUPLICATE_IDENTITY_EXCEPTION)},
50648  {SWIG_LUA_CONSTTAB_INT("Exception_MM_EXCEPTION", Mezzanine::Exception::MM_EXCEPTION)},
50649  {SWIG_LUA_CONSTTAB_INT("Exception_MM_OUT_OF_MEMORY_EXCEPTION", Mezzanine::Exception::MM_OUT_OF_MEMORY_EXCEPTION)},
50650  {SWIG_LUA_CONSTTAB_INT("Exception_MM_OUT_OF_BOUNDS_EXCEPTION", Mezzanine::Exception::MM_OUT_OF_BOUNDS_EXCEPTION)},
50651  {SWIG_LUA_CONSTTAB_INT("Exception_SYNTAX_ERROR_EXCEPTION", Mezzanine::Exception::SYNTAX_ERROR_EXCEPTION)},
50652  {SWIG_LUA_CONSTTAB_INT("Exception_SYNTAX_ERROR_EXCEPTION_XML", Mezzanine::Exception::SYNTAX_ERROR_EXCEPTION_XML)},
50653  {SWIG_LUA_CONSTTAB_INT("Exception_SYNTAX_ERROR_EXCEPTION_XPATH", Mezzanine::Exception::SYNTAX_ERROR_EXCEPTION_XPATH)},
50654  {SWIG_LUA_CONSTTAB_INT("Exception_SYNTAX_ERROR_EXCEPTION_LUA", Mezzanine::Exception::SYNTAX_ERROR_EXCEPTION_LUA)},
50655  {SWIG_LUA_CONSTTAB_INT("Exception_SCRIPT_EXCEPTION", Mezzanine::Exception::SCRIPT_EXCEPTION)},
50656  {SWIG_LUA_CONSTTAB_INT("Exception_SCRIPT_EXCEPTION_LUA", Mezzanine::Exception::SCRIPT_EXCEPTION_LUA)},
50657  {SWIG_LUA_CONSTTAB_INT("Exception_SCRIPT_EXCEPTION_LUA_YIELD", Mezzanine::Exception::SCRIPT_EXCEPTION_LUA_YIELD)},
50658  {SWIG_LUA_CONSTTAB_INT("Exception_SCRIPT_EXCEPTION_LUA_RUNTIME", Mezzanine::Exception::SCRIPT_EXCEPTION_LUA_RUNTIME)},
50659  {SWIG_LUA_CONSTTAB_INT("Exception_SCRIPT_EXCEPTION_LUA_ERRERR", Mezzanine::Exception::SCRIPT_EXCEPTION_LUA_ERRERR)},
50660  {SWIG_LUA_CONSTTAB_INT("Exception_PARAMETERS_EXCEPTION", Mezzanine::Exception::PARAMETERS_EXCEPTION)},
50661  {SWIG_LUA_CONSTTAB_INT("Exception_PARAMETERS_CAST_EXCEPTION", Mezzanine::Exception::PARAMETERS_CAST_EXCEPTION)},
50662  {SWIG_LUA_CONSTTAB_INT("Exception_PARAMETERS_RANGE_EXCEPTION", Mezzanine::Exception::PARAMETERS_RANGE_EXCEPTION)},
50663  {SWIG_LUA_CONSTTAB_INT("Exception_ARITHMETIC_EXCEPTION", Mezzanine::Exception::ARITHMETIC_EXCEPTION)},
50664  {SWIG_LUA_CONSTTAB_INT("Exception_INVALID_VERSION_EXCEPTION", Mezzanine::Exception::INVALID_VERSION_EXCEPTION)},
50665  {SWIG_LUA_CONSTTAB_INT("Exception_INVALID_STATE_EXCEPTION", Mezzanine::Exception::INVALID_STATE_EXCEPTION)},
50666  {SWIG_LUA_CONSTTAB_INT("Exception_RENDERINGAPI_EXCEPTION", Mezzanine::Exception::RENDERINGAPI_EXCEPTION)},
50667  {SWIG_LUA_CONSTTAB_INT("Exception_RT_ASSERTION_EXCEPTION", Mezzanine::Exception::RT_ASSERTION_EXCEPTION)},
50668  {SWIG_LUA_CONSTTAB_INT("Exception_INTERNAL_EXCEPTION", Mezzanine::Exception::INTERNAL_EXCEPTION)},
50669  {SWIG_LUA_CONSTTAB_INT("Exception_NOT_IMPLEMENTED_EXCEPTION", Mezzanine::Exception::NOT_IMPLEMENTED_EXCEPTION)},
50670  {SWIG_LUA_CONSTTAB_INT("Exception_INVALID_ASSIGNMENT", Mezzanine::Exception::INVALID_ASSIGNMENT)},
50671  {SWIG_LUA_CONSTTAB_INT("IOException_ExceptionCode", Mezzanine::IOException::ExceptionCode)},
50672  {SWIG_LUA_CONSTTAB_INT("FileException_ExceptionCode", Mezzanine::FileException::ExceptionCode)},
50673  {SWIG_LUA_CONSTTAB_INT("FileReadException_ExceptionCode", Mezzanine::FileReadException::ExceptionCode)},
50674  {SWIG_LUA_CONSTTAB_INT("FileWriteException_ExceptionCode", Mezzanine::FileWriteException::ExceptionCode)},
50675  {SWIG_LUA_CONSTTAB_INT("FileNotFoundException_ExceptionCode", Mezzanine::FileNotFoundException::ExceptionCode)},
50676  {SWIG_LUA_CONSTTAB_INT("FilePermissionException_ExceptionCode", Mezzanine::FilePermissionException::ExceptionCode)},
50677  {SWIG_LUA_CONSTTAB_INT("DirectoryException_ExceptionCode", Mezzanine::DirectoryException::ExceptionCode)},
50678  {SWIG_LUA_CONSTTAB_INT("DirectoryReadException_ExceptionCode", Mezzanine::DirectoryReadException::ExceptionCode)},
50679  {SWIG_LUA_CONSTTAB_INT("DirectoryWriteException_ExceptionCode", Mezzanine::DirectoryWriteException::ExceptionCode)},
50680  {SWIG_LUA_CONSTTAB_INT("DirectoryNotFoundException_ExceptionCode", Mezzanine::DirectoryNotFoundException::ExceptionCode)},
50681  {SWIG_LUA_CONSTTAB_INT("DirectoryPermissionException_ExceptionCode", Mezzanine::DirectoryPermissionException::ExceptionCode)},
50682  {SWIG_LUA_CONSTTAB_INT("NetworkException_ExceptionCode", Mezzanine::NetworkException::ExceptionCode)},
50683  {SWIG_LUA_CONSTTAB_INT("NetworkReadException_ExceptionCode", Mezzanine::NetworkReadException::ExceptionCode)},
50684  {SWIG_LUA_CONSTTAB_INT("NetworkWriteException_ExceptionCode", Mezzanine::NetworkWriteException::ExceptionCode)},
50685  {SWIG_LUA_CONSTTAB_INT("NetworkNotFoundException_ExceptionCode", Mezzanine::NetworkNotFoundException::ExceptionCode)},
50686  {SWIG_LUA_CONSTTAB_INT("NetworkURLException_ExceptionCode", Mezzanine::NetworkURLException::ExceptionCode)},
50687  {SWIG_LUA_CONSTTAB_INT("NetworkPermissionException_ExceptionCode", Mezzanine::NetworkPermissionException::ExceptionCode)},
50688  {SWIG_LUA_CONSTTAB_INT("IOWriteException_ExceptionCode", Mezzanine::IOWriteException::ExceptionCode)},
50689  {SWIG_LUA_CONSTTAB_INT("IOReadException_ExceptionCode", Mezzanine::IOReadException::ExceptionCode)},
50690  {SWIG_LUA_CONSTTAB_INT("InstanceIdentityException_ExceptionCode", Mezzanine::InstanceIdentityException::ExceptionCode)},
50691  {SWIG_LUA_CONSTTAB_INT("InstanceIdentityInvalidException_ExceptionCode", Mezzanine::InstanceIdentityInvalidException::ExceptionCode)},
50692  {SWIG_LUA_CONSTTAB_INT("InstanceIdentityNotFoundException_ExceptionCode", Mezzanine::InstanceIdentityNotFoundException::ExceptionCode)},
50693  {SWIG_LUA_CONSTTAB_INT("InstanceIdentityDuplicateException_ExceptionCode", Mezzanine::InstanceIdentityDuplicateException::ExceptionCode)},
50694  {SWIG_LUA_CONSTTAB_INT("MemoryManagementException_ExceptionCode", Mezzanine::MemoryManagementException::ExceptionCode)},
50695  {SWIG_LUA_CONSTTAB_INT("OutOfMemoryException_ExceptionCode", Mezzanine::OutOfMemoryException::ExceptionCode)},
50696  {SWIG_LUA_CONSTTAB_INT("MemoryOutOfBoundsException_ExceptionCode", Mezzanine::MemoryOutOfBoundsException::ExceptionCode)},
50697  {SWIG_LUA_CONSTTAB_INT("SyntaxErrorException_ExceptionCode", Mezzanine::SyntaxErrorException::ExceptionCode)},
50698  {SWIG_LUA_CONSTTAB_INT("SyntaxErrorXMLException_ExceptionCode", Mezzanine::SyntaxErrorXMLException::ExceptionCode)},
50699  {SWIG_LUA_CONSTTAB_INT("SyntaxErrorXPathException_ExceptionCode", Mezzanine::SyntaxErrorXPathException::ExceptionCode)},
50700  {SWIG_LUA_CONSTTAB_INT("SyntaxErrorLuaException_ExceptionCode", Mezzanine::SyntaxErrorLuaException::ExceptionCode)},
50701  {SWIG_LUA_CONSTTAB_INT("ScriptException_ExceptionCode", Mezzanine::ScriptException::ExceptionCode)},
50702  {SWIG_LUA_CONSTTAB_INT("ScriptLuaException_ExceptionCode", Mezzanine::ScriptLuaException::ExceptionCode)},
50703  {SWIG_LUA_CONSTTAB_INT("ScriptLuaYieldException_ExceptionCode", Mezzanine::ScriptLuaYieldException::ExceptionCode)},
50704  {SWIG_LUA_CONSTTAB_INT("ScriptLuaRuntimeException_ExceptionCode", Mezzanine::ScriptLuaRuntimeException::ExceptionCode)},
50705  {SWIG_LUA_CONSTTAB_INT("ScriptLuaErrErrException_ExceptionCode", Mezzanine::ScriptLuaErrErrException::ExceptionCode)},
50706  {SWIG_LUA_CONSTTAB_INT("ParametersException_ExceptionCode", Mezzanine::ParametersException::ExceptionCode)},
50707  {SWIG_LUA_CONSTTAB_INT("ParametersCastException_ExceptionCode", Mezzanine::ParametersCastException::ExceptionCode)},
50708  {SWIG_LUA_CONSTTAB_INT("ParametersRangeException_ExceptionCode", Mezzanine::ParametersRangeException::ExceptionCode)},
50709  {SWIG_LUA_CONSTTAB_INT("ArithmeticException_ExceptionCode", Mezzanine::ArithmeticException::ExceptionCode)},
50710  {SWIG_LUA_CONSTTAB_INT("InvalidVersionException_ExceptionCode", Mezzanine::InvalidVersionException::ExceptionCode)},
50711  {SWIG_LUA_CONSTTAB_INT("InvalidStateException_ExceptionCode", Mezzanine::InvalidStateException::ExceptionCode)},
50712  {SWIG_LUA_CONSTTAB_INT("RenderingAPIException_ExceptionCode", Mezzanine::RenderingAPIException::ExceptionCode)},
50713  {SWIG_LUA_CONSTTAB_INT("RuntimeAssertionException_ExceptionCode", Mezzanine::RuntimeAssertionException::ExceptionCode)},
50714  {SWIG_LUA_CONSTTAB_INT("InternalException_ExceptionCode", Mezzanine::InternalException::ExceptionCode)},
50715  {SWIG_LUA_CONSTTAB_INT("NotImplementedException_ExceptionCode", Mezzanine::NotImplementedException::ExceptionCode)},
50716  {SWIG_LUA_CONSTTAB_INT("InvalidAssignment_ExceptionCode", Mezzanine::InvalidAssignment::ExceptionCode)},
50717  {SWIG_LUA_CONSTTAB_INT("CastNoneError", Mezzanine::CastNoneError)},
50718  {SWIG_LUA_CONSTTAB_INT("CastNoneReturnZero", Mezzanine::CastNoneReturnZero)},
50719  {SWIG_LUA_CONSTTAB_INT("CastImplicit", Mezzanine::CastImplicit)},
50720  {SWIG_LUA_CONSTTAB_INT("CastStatic", Mezzanine::CastStatic)},
50721  {SWIG_LUA_CONSTTAB_INT("CastDynamic", Mezzanine::CastDynamic)},
50722  {SWIG_LUA_CONSTTAB_INT("Con_ERP", Mezzanine::Physics::Con_ERP)},
50723  {SWIG_LUA_CONSTTAB_INT("Con_Stop_ERP", Mezzanine::Physics::Con_Stop_ERP)},
50724  {SWIG_LUA_CONSTTAB_INT("Con_CFM", Mezzanine::Physics::Con_CFM)},
50725  {SWIG_LUA_CONSTTAB_INT("Con_Stop_CFM", Mezzanine::Physics::Con_Stop_CFM)},
50726  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_LinearX", Mezzanine::Physics::Generic6DofConstraint::LinearX)},
50727  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_LinearY", Mezzanine::Physics::Generic6DofConstraint::LinearY)},
50728  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_LinearZ", Mezzanine::Physics::Generic6DofConstraint::LinearZ)},
50729  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_AngularX", Mezzanine::Physics::Generic6DofConstraint::AngularX)},
50730  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_AngularY", Mezzanine::Physics::Generic6DofConstraint::AngularY)},
50731  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_AngularZ", Mezzanine::Physics::Generic6DofConstraint::AngularZ)},
50732  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_AngularXAsRotationalAxis", Mezzanine::Physics::Generic6DofConstraint::AngularXAsRotationalAxis)},
50733  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_AngularYAsRotationalAxis", Mezzanine::Physics::Generic6DofConstraint::AngularYAsRotationalAxis)},
50734  {SWIG_LUA_CONSTTAB_INT("Generic6DofConstraint_AngularZAsRotationalAxis", Mezzanine::Physics::Generic6DofConstraint::AngularZAsRotationalAxis)},
50735  {SWIG_LUA_CONSTTAB_INT("Generic6DofSpringConstraint_LinearX", Mezzanine::Physics::Generic6DofSpringConstraint::LinearX)},
50736  {SWIG_LUA_CONSTTAB_INT("Generic6DofSpringConstraint_LinearY", Mezzanine::Physics::Generic6DofSpringConstraint::LinearY)},
50737  {SWIG_LUA_CONSTTAB_INT("Generic6DofSpringConstraint_LinearZ", Mezzanine::Physics::Generic6DofSpringConstraint::LinearZ)},
50738  {SWIG_LUA_CONSTTAB_INT("Generic6DofSpringConstraint_AngularX", Mezzanine::Physics::Generic6DofSpringConstraint::AngularX)},
50739  {SWIG_LUA_CONSTTAB_INT("Generic6DofSpringConstraint_AngularY", Mezzanine::Physics::Generic6DofSpringConstraint::AngularY)},
50740  {SWIG_LUA_CONSTTAB_INT("Generic6DofSpringConstraint_AngularZ", Mezzanine::Physics::Generic6DofSpringConstraint::AngularZ)},
50741  {SWIG_LUA_CONSTTAB_INT("ManagerConstructionInfo_PCF_SoftRigidWorld", Mezzanine::Physics::ManagerConstructionInfo::PCF_SoftRigidWorld)},
50742  {SWIG_LUA_CONSTTAB_INT("ManagerConstructionInfo_PCF_LimitlessWorld", Mezzanine::Physics::ManagerConstructionInfo::PCF_LimitlessWorld)},
50743  {SWIG_LUA_CONSTTAB_INT("ManagerConstructionInfo_PCF_Multithreaded", Mezzanine::Physics::ManagerConstructionInfo::PCF_Multithreaded)},
50744  {SWIG_LUA_CONSTTAB_INT("Plane_S_None", Mezzanine::Plane::S_None)},
50745  {SWIG_LUA_CONSTTAB_INT("Plane_S_Positive", Mezzanine::Plane::S_Positive)},
50746  {SWIG_LUA_CONSTTAB_INT("Plane_S_Negative", Mezzanine::Plane::S_Negative)},
50747  {SWIG_LUA_CONSTTAB_INT("Plane_S_Both", Mezzanine::Plane::S_Both)},
50748  {0,0,0,0,0,0}
50749 };
50750 
50751 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
50752 
50753 static void *_p_Mezzanine__Physics__Generic6DofSpringConstraintTo_p_Mezzanine__Physics__Generic6DofConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50755 }
50756 static void *_p_Mezzanine__Physics__UniversalConstraintTo_p_Mezzanine__Physics__Generic6DofConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50758 }
50759 static void *_p_Mezzanine__Physics__Generic6DofConstraintTo_p_Mezzanine__Physics__DualTransformConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50761 }
50762 static void *_p_Mezzanine__Physics__Generic6DofSpringConstraintTo_p_Mezzanine__Physics__DualTransformConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50764 }
50765 static void *_p_Mezzanine__Physics__HingeConstraintTo_p_Mezzanine__Physics__DualTransformConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50767 }
50768 static void *_p_Mezzanine__Physics__SliderConstraintTo_p_Mezzanine__Physics__DualTransformConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50770 }
50771 static void *_p_Mezzanine__Physics__UniversalConstraintTo_p_Mezzanine__Physics__DualTransformConstraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50773 }
50774 static void *_p_Mezzanine__Physics__DualTransformConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50776 }
50777 static void *_p_Mezzanine__Physics__GearConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50779 }
50780 static void *_p_Mezzanine__Physics__Generic6DofConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50782 }
50783 static void *_p_Mezzanine__Physics__Generic6DofSpringConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50785 }
50786 static void *_p_Mezzanine__Physics__HingeConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50788 }
50789 static void *_p_Mezzanine__Physics__Point2PointConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50791 }
50792 static void *_p_Mezzanine__Physics__SliderConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50794 }
50795 static void *_p_Mezzanine__Physics__UniversalConstraintTo_p_Mezzanine__Physics__Constraint(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50797 }
50798 static void *_p_Mezzanine__Physics__HeightfieldCollisionShapeTo_p_Mezzanine__Physics__FieldCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50800 }
50801 static void *_p_Mezzanine__Physics__PlaneCollisionShapeTo_p_Mezzanine__Physics__FieldCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50803 }
50804 static void *_p_Mezzanine__Physics__DynamicMeshCollisionShapeTo_p_Mezzanine__Physics__MeshCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50806 }
50807 static void *_p_Mezzanine__Physics__SoftCollisionShapeTo_p_Mezzanine__Physics__MeshCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50809 }
50810 static void *_p_Mezzanine__Physics__StaticMeshCollisionShapeTo_p_Mezzanine__Physics__MeshCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50812 }
50813 static void *_p_Mezzanine__Physics__SoftCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50815 }
50816 static void *_p_Mezzanine__Physics__PlaneCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50818 }
50819 static void *_p_Mezzanine__Physics__MultiSphereCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50821 }
50822 static void *_p_Mezzanine__Physics__HeightfieldCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50824 }
50825 static void *_p_Mezzanine__Physics__FieldCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50827 }
50828 static void *_p_Mezzanine__Physics__DynamicMeshCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50830 }
50831 static void *_p_Mezzanine__Physics__MeshCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50833 }
50834 static void *_p_Mezzanine__Physics__CylinderCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50836 }
50837 static void *_p_Mezzanine__Physics__ConvexHullCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50839 }
50840 static void *_p_Mezzanine__Physics__ConeCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50842 }
50843 static void *_p_Mezzanine__Physics__CompoundCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50845 }
50846 static void *_p_Mezzanine__Physics__CapsuleCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50848 }
50849 static void *_p_Mezzanine__Physics__BoxCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50851 }
50852 static void *_p_Mezzanine__Physics__PrimitiveCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50854 }
50855 static void *_p_Mezzanine__Physics__SphereCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50857 }
50858 static void *_p_Mezzanine__Physics__StaticMeshCollisionShapeTo_p_Mezzanine__Physics__CollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50860 }
50861 static void *_p_Mezzanine__Physics__BoxCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50863 }
50864 static void *_p_Mezzanine__Physics__CapsuleCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50866 }
50867 static void *_p_Mezzanine__Physics__ConeCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50869 }
50870 static void *_p_Mezzanine__Physics__ConvexHullCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50872 }
50873 static void *_p_Mezzanine__Physics__CylinderCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50875 }
50876 static void *_p_Mezzanine__Physics__MultiSphereCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50878 }
50879 static void *_p_Mezzanine__Physics__SphereCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50881 }
50882 static void *_p_Mezzanine__Physics__CollidableProxyTo_p_Mezzanine__TransformableObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50884 }
50885 static void *_p_Mezzanine__Physics__GhostProxyTo_p_Mezzanine__TransformableObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50887 }
50888 static void *_p_Mezzanine__Physics__SoftProxyTo_p_Mezzanine__TransformableObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50890 }
50891 static void *_p_Mezzanine__Physics__RigidProxyTo_p_Mezzanine__TransformableObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50893 }
50894 static void *_p_Mezzanine__WorldProxyTo_p_Mezzanine__TransformableObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50895  return (void *)((Mezzanine::TransformableObject *) ((Mezzanine::WorldProxy *) x));
50896 }
50897 static void *_p_Mezzanine__Physics__CollidableProxyTo_p_Mezzanine__WorldProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50898  return (void *)((Mezzanine::WorldProxy *) ((Mezzanine::Physics::CollidableProxy *) x));
50899 }
50900 static void *_p_Mezzanine__Physics__GhostProxyTo_p_Mezzanine__WorldProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50902 }
50903 static void *_p_Mezzanine__Physics__SoftProxyTo_p_Mezzanine__WorldProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50905 }
50906 static void *_p_Mezzanine__Physics__RigidProxyTo_p_Mezzanine__WorldProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50908 }
50909 static void *_p_Mezzanine__Physics__CollisionShapeManagerTo_p_ManagerBase(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50910  return (void *)((ManagerBase *) ((Mezzanine::Physics::CollisionShapeManager *) x));
50911 }
50912 static void *_p_Mezzanine__InvalidAssignmentTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50913  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::InvalidAssignment *) x));
50914 }
50915 static void *_p_Mezzanine__ScriptLuaYieldExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50917 }
50918 static void *_p_Mezzanine__ScriptLuaExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50919  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::ScriptException *) ((Mezzanine::ScriptLuaException *) x));
50920 }
50921 static void *_p_Mezzanine__ScriptExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50922  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::ScriptException *) x));
50923 }
50924 static void *_p_Mezzanine__SyntaxErrorLuaExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50925  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::SyntaxErrorException *) ((Mezzanine::SyntaxErrorLuaException *) x));
50926 }
50927 static void *_p_Mezzanine__SyntaxErrorXPathExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50928  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::SyntaxErrorException *) ((Mezzanine::SyntaxErrorXPathException *) x));
50929 }
50930 static void *_p_Mezzanine__SyntaxErrorXMLExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50931  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::SyntaxErrorException *) ((Mezzanine::SyntaxErrorXMLException *) x));
50932 }
50933 static void *_p_Mezzanine__SyntaxErrorExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50934  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::SyntaxErrorException *) x));
50935 }
50936 static void *_p_Mezzanine__MemoryOutOfBoundsExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50937  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::MemoryManagementException *) ((Mezzanine::MemoryOutOfBoundsException *) x));
50938 }
50939 static void *_p_Mezzanine__OutOfMemoryExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50940  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::MemoryManagementException *) ((Mezzanine::OutOfMemoryException *) x));
50941 }
50942 static void *_p_Mezzanine__MemoryManagementExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50943  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::MemoryManagementException *) x));
50944 }
50945 static void *_p_Mezzanine__InstanceIdentityDuplicateExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50947 }
50948 static void *_p_Mezzanine__InstanceIdentityNotFoundExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50950 }
50951 static void *_p_Mezzanine__InstanceIdentityInvalidExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50953 }
50954 static void *_p_Mezzanine__InstanceIdentityExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50955  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::InstanceIdentityException *) x));
50956 }
50957 static void *_p_Mezzanine__IOReadExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50958  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *) ((Mezzanine::IOReadException *) x));
50959 }
50960 static void *_p_Mezzanine__IOWriteExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50961  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *) ((Mezzanine::IOWriteException *) x));
50962 }
50963 static void *_p_Mezzanine__NetworkPermissionExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50965 }
50966 static void *_p_Mezzanine__NetworkURLExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50967  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *)(Mezzanine::NetworkException *) ((Mezzanine::NetworkURLException *) x));
50968 }
50969 static void *_p_Mezzanine__NetworkNotFoundExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50971 }
50972 static void *_p_Mezzanine__NetworkWriteExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50974 }
50975 static void *_p_Mezzanine__ExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50976  return (void *)((std::exception *) ((Mezzanine::Exception *) x));
50977 }
50978 static void *_p_Mezzanine__IOExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50979  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::IOException *) x));
50980 }
50981 static void *_p_Mezzanine__FileExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50982  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *) ((Mezzanine::FileException *) x));
50983 }
50984 static void *_p_Mezzanine__FileReadExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50985  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *)(Mezzanine::FileException *) ((Mezzanine::FileReadException *) x));
50986 }
50987 static void *_p_Mezzanine__FileWriteExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50988  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *)(Mezzanine::FileException *) ((Mezzanine::FileWriteException *) x));
50989 }
50990 static void *_p_Mezzanine__FileNotFoundExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50991  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *)(Mezzanine::FileException *) ((Mezzanine::FileNotFoundException *) x));
50992 }
50993 static void *_p_Mezzanine__FilePermissionExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50995 }
50996 static void *_p_Mezzanine__DirectoryExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
50997  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *) ((Mezzanine::DirectoryException *) x));
50998 }
50999 static void *_p_Mezzanine__DirectoryReadExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51001 }
51002 static void *_p_Mezzanine__DirectoryWriteExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51004 }
51005 static void *_p_Mezzanine__DirectoryNotFoundExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51007 }
51008 static void *_p_Mezzanine__DirectoryPermissionExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51010 }
51011 static void *_p_Mezzanine__NetworkExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51012  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::IOException *) ((Mezzanine::NetworkException *) x));
51013 }
51014 static void *_p_Mezzanine__NetworkReadExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51016 }
51017 static void *_p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51019 }
51020 static void *_p_Mezzanine__ScriptLuaErrErrExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51022 }
51023 static void *_p_Mezzanine__ParametersExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51024  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::ParametersException *) x));
51025 }
51026 static void *_p_Mezzanine__ParametersCastExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51027  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::ParametersException *) ((Mezzanine::ParametersCastException *) x));
51028 }
51029 static void *_p_Mezzanine__ParametersRangeExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51030  return (void *)((std::exception *) (Mezzanine::Exception *)(Mezzanine::ParametersException *) ((Mezzanine::ParametersRangeException *) x));
51031 }
51032 static void *_p_Mezzanine__ArithmeticExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51033  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::ArithmeticException *) x));
51034 }
51035 static void *_p_Mezzanine__InvalidVersionExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51036  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::InvalidVersionException *) x));
51037 }
51038 static void *_p_Mezzanine__InvalidStateExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51039  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::InvalidStateException *) x));
51040 }
51041 static void *_p_Mezzanine__RenderingAPIExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51042  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::RenderingAPIException *) x));
51043 }
51044 static void *_p_Mezzanine__RuntimeAssertionExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51045  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::RuntimeAssertionException *) x));
51046 }
51047 static void *_p_Mezzanine__InternalExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51048  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::InternalException *) x));
51049 }
51050 static void *_p_Mezzanine__NotImplementedExceptionTo_p_std__exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51051  return (void *)((std::exception *) (Mezzanine::Exception *) ((Mezzanine::NotImplementedException *) x));
51052 }
51053 static void *_p_Mezzanine__InvalidAssignmentTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51054  return (void *)((Mezzanine::Exception *) ((Mezzanine::InvalidAssignment *) x));
51055 }
51056 static void *_p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51058 }
51059 static void *_p_Mezzanine__ScriptLuaYieldExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51061 }
51062 static void *_p_Mezzanine__ScriptLuaExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51064 }
51065 static void *_p_Mezzanine__ScriptExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51066  return (void *)((Mezzanine::Exception *) ((Mezzanine::ScriptException *) x));
51067 }
51068 static void *_p_Mezzanine__SyntaxErrorLuaExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51070 }
51071 static void *_p_Mezzanine__SyntaxErrorXPathExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51073 }
51074 static void *_p_Mezzanine__SyntaxErrorXMLExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51076 }
51077 static void *_p_Mezzanine__SyntaxErrorExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51078  return (void *)((Mezzanine::Exception *) ((Mezzanine::SyntaxErrorException *) x));
51079 }
51080 static void *_p_Mezzanine__MemoryOutOfBoundsExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51082 }
51083 static void *_p_Mezzanine__OutOfMemoryExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51085 }
51086 static void *_p_Mezzanine__MemoryManagementExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51087  return (void *)((Mezzanine::Exception *) ((Mezzanine::MemoryManagementException *) x));
51088 }
51089 static void *_p_Mezzanine__InstanceIdentityDuplicateExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51091 }
51092 static void *_p_Mezzanine__InstanceIdentityNotFoundExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51094 }
51095 static void *_p_Mezzanine__InstanceIdentityInvalidExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51097 }
51098 static void *_p_Mezzanine__InstanceIdentityExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51099  return (void *)((Mezzanine::Exception *) ((Mezzanine::InstanceIdentityException *) x));
51100 }
51101 static void *_p_Mezzanine__IOReadExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51103 }
51104 static void *_p_Mezzanine__IOWriteExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51106 }
51107 static void *_p_Mezzanine__NetworkPermissionExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51109 }
51110 static void *_p_Mezzanine__NetworkURLExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51112 }
51113 static void *_p_Mezzanine__NetworkNotFoundExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51115 }
51116 static void *_p_Mezzanine__IOExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51117  return (void *)((Mezzanine::Exception *) ((Mezzanine::IOException *) x));
51118 }
51119 static void *_p_Mezzanine__FileExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51120  return (void *)((Mezzanine::Exception *) (Mezzanine::IOException *) ((Mezzanine::FileException *) x));
51121 }
51122 static void *_p_Mezzanine__FileReadExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51124 }
51125 static void *_p_Mezzanine__FileWriteExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51127 }
51128 static void *_p_Mezzanine__FileNotFoundExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51130 }
51131 static void *_p_Mezzanine__FilePermissionExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51133 }
51134 static void *_p_Mezzanine__DirectoryExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51136 }
51137 static void *_p_Mezzanine__DirectoryReadExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51139 }
51140 static void *_p_Mezzanine__DirectoryWriteExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51142 }
51143 static void *_p_Mezzanine__DirectoryNotFoundExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51145 }
51146 static void *_p_Mezzanine__DirectoryPermissionExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51148 }
51149 static void *_p_Mezzanine__NetworkExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51151 }
51152 static void *_p_Mezzanine__NetworkReadExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51154 }
51155 static void *_p_Mezzanine__NetworkWriteExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51157 }
51158 static void *_p_Mezzanine__ScriptLuaErrErrExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51160 }
51161 static void *_p_Mezzanine__ParametersExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51162  return (void *)((Mezzanine::Exception *) ((Mezzanine::ParametersException *) x));
51163 }
51164 static void *_p_Mezzanine__ParametersCastExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51166 }
51167 static void *_p_Mezzanine__ParametersRangeExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51169 }
51170 static void *_p_Mezzanine__ArithmeticExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51171  return (void *)((Mezzanine::Exception *) ((Mezzanine::ArithmeticException *) x));
51172 }
51173 static void *_p_Mezzanine__InvalidVersionExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51174  return (void *)((Mezzanine::Exception *) ((Mezzanine::InvalidVersionException *) x));
51175 }
51176 static void *_p_Mezzanine__InvalidStateExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51177  return (void *)((Mezzanine::Exception *) ((Mezzanine::InvalidStateException *) x));
51178 }
51179 static void *_p_Mezzanine__RenderingAPIExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51180  return (void *)((Mezzanine::Exception *) ((Mezzanine::RenderingAPIException *) x));
51181 }
51182 static void *_p_Mezzanine__RuntimeAssertionExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51183  return (void *)((Mezzanine::Exception *) ((Mezzanine::RuntimeAssertionException *) x));
51184 }
51185 static void *_p_Mezzanine__InternalExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51186  return (void *)((Mezzanine::Exception *) ((Mezzanine::InternalException *) x));
51187 }
51188 static void *_p_Mezzanine__NotImplementedExceptionTo_p_Mezzanine__Exception(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51189  return (void *)((Mezzanine::Exception *) ((Mezzanine::NotImplementedException *) x));
51190 }
51191 static void *_p_Mezzanine__NetworkNotFoundExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51193 }
51194 static void *_p_Mezzanine__NetworkWriteExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51196 }
51197 static void *_p_Mezzanine__NetworkReadExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51199 }
51200 static void *_p_Mezzanine__NetworkExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51201  return (void *)((Mezzanine::IOException *) ((Mezzanine::NetworkException *) x));
51202 }
51203 static void *_p_Mezzanine__DirectoryPermissionExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51205 }
51206 static void *_p_Mezzanine__DirectoryNotFoundExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51208 }
51209 static void *_p_Mezzanine__DirectoryWriteExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51211 }
51212 static void *_p_Mezzanine__DirectoryReadExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51214 }
51215 static void *_p_Mezzanine__DirectoryExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51216  return (void *)((Mezzanine::IOException *) ((Mezzanine::DirectoryException *) x));
51217 }
51218 static void *_p_Mezzanine__FilePermissionExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51220 }
51221 static void *_p_Mezzanine__FileNotFoundExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51223 }
51224 static void *_p_Mezzanine__FileWriteExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51226 }
51227 static void *_p_Mezzanine__FileReadExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51229 }
51230 static void *_p_Mezzanine__FileExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51231  return (void *)((Mezzanine::IOException *) ((Mezzanine::FileException *) x));
51232 }
51233 static void *_p_Mezzanine__NetworkURLExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51235 }
51236 static void *_p_Mezzanine__NetworkPermissionExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51238 }
51239 static void *_p_Mezzanine__IOWriteExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51240  return (void *)((Mezzanine::IOException *) ((Mezzanine::IOWriteException *) x));
51241 }
51242 static void *_p_Mezzanine__IOReadExceptionTo_p_Mezzanine__IOException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51243  return (void *)((Mezzanine::IOException *) ((Mezzanine::IOReadException *) x));
51244 }
51245 static void *_p_Mezzanine__FileReadExceptionTo_p_Mezzanine__FileException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51246  return (void *)((Mezzanine::FileException *) ((Mezzanine::FileReadException *) x));
51247 }
51248 static void *_p_Mezzanine__FileWriteExceptionTo_p_Mezzanine__FileException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51249  return (void *)((Mezzanine::FileException *) ((Mezzanine::FileWriteException *) x));
51250 }
51251 static void *_p_Mezzanine__FileNotFoundExceptionTo_p_Mezzanine__FileException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51252  return (void *)((Mezzanine::FileException *) ((Mezzanine::FileNotFoundException *) x));
51253 }
51254 static void *_p_Mezzanine__FilePermissionExceptionTo_p_Mezzanine__FileException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51255  return (void *)((Mezzanine::FileException *) ((Mezzanine::FilePermissionException *) x));
51256 }
51257 static void *_p_Mezzanine__DirectoryReadExceptionTo_p_Mezzanine__DirectoryException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51259 }
51260 static void *_p_Mezzanine__DirectoryWriteExceptionTo_p_Mezzanine__DirectoryException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51262 }
51263 static void *_p_Mezzanine__DirectoryNotFoundExceptionTo_p_Mezzanine__DirectoryException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51265 }
51266 static void *_p_Mezzanine__DirectoryPermissionExceptionTo_p_Mezzanine__DirectoryException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51268 }
51269 static void *_p_Mezzanine__NetworkReadExceptionTo_p_Mezzanine__NetworkException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51270  return (void *)((Mezzanine::NetworkException *) ((Mezzanine::NetworkReadException *) x));
51271 }
51272 static void *_p_Mezzanine__NetworkWriteExceptionTo_p_Mezzanine__NetworkException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51274 }
51275 static void *_p_Mezzanine__NetworkNotFoundExceptionTo_p_Mezzanine__NetworkException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51277 }
51278 static void *_p_Mezzanine__NetworkURLExceptionTo_p_Mezzanine__NetworkException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51279  return (void *)((Mezzanine::NetworkException *) ((Mezzanine::NetworkURLException *) x));
51280 }
51281 static void *_p_Mezzanine__NetworkPermissionExceptionTo_p_Mezzanine__NetworkException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51283 }
51284 static void *_p_Mezzanine__InstanceIdentityInvalidExceptionTo_p_Mezzanine__InstanceIdentityException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51286 }
51287 static void *_p_Mezzanine__InstanceIdentityNotFoundExceptionTo_p_Mezzanine__InstanceIdentityException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51289 }
51290 static void *_p_Mezzanine__InstanceIdentityDuplicateExceptionTo_p_Mezzanine__InstanceIdentityException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51292 }
51293 static void *_p_Mezzanine__OutOfMemoryExceptionTo_p_Mezzanine__MemoryManagementException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51295 }
51296 static void *_p_Mezzanine__MemoryOutOfBoundsExceptionTo_p_Mezzanine__MemoryManagementException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51298 }
51299 static void *_p_Mezzanine__SyntaxErrorXMLExceptionTo_p_Mezzanine__SyntaxErrorException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51301 }
51302 static void *_p_Mezzanine__SyntaxErrorXPathExceptionTo_p_Mezzanine__SyntaxErrorException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51304 }
51305 static void *_p_Mezzanine__SyntaxErrorLuaExceptionTo_p_Mezzanine__SyntaxErrorException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51307 }
51308 static void *_p_Mezzanine__ScriptLuaExceptionTo_p_Mezzanine__ScriptException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51309  return (void *)((Mezzanine::ScriptException *) ((Mezzanine::ScriptLuaException *) x));
51310 }
51311 static void *_p_Mezzanine__ScriptLuaYieldExceptionTo_p_Mezzanine__ScriptException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51313 }
51314 static void *_p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_Mezzanine__ScriptException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51316 }
51317 static void *_p_Mezzanine__ScriptLuaErrErrExceptionTo_p_Mezzanine__ScriptException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51319 }
51320 static void *_p_Mezzanine__ScriptLuaYieldExceptionTo_p_Mezzanine__ScriptLuaException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51322 }
51323 static void *_p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_Mezzanine__ScriptLuaException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51325 }
51326 static void *_p_Mezzanine__ScriptLuaErrErrExceptionTo_p_Mezzanine__ScriptLuaException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51328 }
51329 static void *_p_Mezzanine__ParametersCastExceptionTo_p_Mezzanine__ParametersException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51331 }
51332 static void *_p_Mezzanine__ParametersRangeExceptionTo_p_Mezzanine__ParametersException(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51334 }
51335 static void *_p_Mezzanine__Physics__GhostProxyTo_p_Mezzanine__Physics__CollidableProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51337 }
51338 static void *_p_Mezzanine__Physics__SoftProxyTo_p_Mezzanine__Physics__CollidableProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51340 }
51341 static void *_p_Mezzanine__Physics__RigidProxyTo_p_Mezzanine__Physics__CollidableProxy(void *x, int *SWIGUNUSEDPARM(newmemory)) {
51343 }
51344 static swig_type_info _swigt__p_AxisAlignedBox = {"_p_AxisAlignedBox", "AxisAlignedBox *", 0, 0, (void*)0, 0};
51345 static swig_type_info _swigt__p_AxisList = {"_p_AxisList", "AxisList *", 0, 0, (void*)0, 0};
51346 static swig_type_info _swigt__p_ChannelType = {"_p_ChannelType", "ChannelType *", 0, 0, (void*)0, 0};
51347 static swig_type_info _swigt__p_CollidablePair = {"_p_CollidablePair", "CollidablePair *", 0, 0, (void*)0, 0};
51348 static swig_type_info _swigt__p_CollisionContainer = {"_p_CollisionContainer", "CollisionContainer *", 0, 0, (void*)0, 0};
51349 static swig_type_info _swigt__p_CollisionIterator = {"_p_CollisionIterator", "CollisionIterator *", 0, 0, (void*)0, 0};
51350 static swig_type_info _swigt__p_CollisionShapeManager = {"_p_CollisionShapeManager", "CollisionShapeManager *", 0, 0, (void*)0, 0};
51351 static swig_type_info _swigt__p_CollisionSortPair = {"_p_CollisionSortPair", "CollisionSortPair *", 0, 0, (void*)0, 0};
51352 static swig_type_info _swigt__p_ConstCollisionIterator = {"_p_ConstCollisionIterator", "ConstCollisionIterator *", 0, 0, (void*)0, 0};
51353 static swig_type_info _swigt__p_ConstConstraintIterator = {"_p_ConstConstraintIterator", "ConstConstraintIterator *", 0, 0, (void*)0, 0};
51354 static swig_type_info _swigt__p_ConstProxyIterator = {"_p_ConstProxyIterator", "ConstProxyIterator *", 0, 0, (void*)0, 0};
51355 static swig_type_info _swigt__p_ConstShapeMapIterator = {"_p_ConstShapeMapIterator", "ConstShapeMapIterator *", 0, 0, (void*)0, 0};
51356 static swig_type_info _swigt__p_ConstShapeVectorIterator = {"_p_ConstShapeVectorIterator", "ConstShapeVectorIterator *", 0, 0, (void*)0, 0};
51357 static swig_type_info _swigt__p_ConstWorldTriggerIterator = {"_p_ConstWorldTriggerIterator", "ConstWorldTriggerIterator *", 0, 0, (void*)0, 0};
51358 static swig_type_info _swigt__p_ConstraintContainer = {"_p_ConstraintContainer", "ConstraintContainer *", 0, 0, (void*)0, 0};
51359 static swig_type_info _swigt__p_ConstraintIterator = {"_p_ConstraintIterator", "ConstraintIterator *", 0, 0, (void*)0, 0};
51360 static swig_type_info _swigt__p_ManagerBase = {"_p_ManagerBase", "ManagerBase *", 0, 0, (void*)0, 0};
51361 static swig_type_info _swigt__p_ManagerBase__ManagerType = {"_p_ManagerBase__ManagerType", "ManagerBase::ManagerType *", 0, 0, (void*)0, 0};
51362 static swig_type_info _swigt__p_ManagerConstructionInfo = {"_p_ManagerConstructionInfo", "ManagerConstructionInfo *", 0, 0, (void*)0, 0};
51363 static swig_type_info _swigt__p_Mezzanine__ArithmeticException = {"_p_Mezzanine__ArithmeticException", "Mezzanine::ArithmeticException *", 0, 0, (void*)&_wrap_class_Mezzanine_ArithmeticException, 0};
51364 static swig_type_info _swigt__p_Mezzanine__AxisAlignedBox = {"_p_Mezzanine__AxisAlignedBox", "Mezzanine::AxisAlignedBox *", 0, 0, (void*)0, 0};
51365 static swig_type_info _swigt__p_Mezzanine__DirectoryException = {"_p_Mezzanine__DirectoryException", "Mezzanine::DirectoryException *", 0, 0, (void*)&_wrap_class_Mezzanine_DirectoryException, 0};
51366 static swig_type_info _swigt__p_Mezzanine__DirectoryNotFoundException = {"_p_Mezzanine__DirectoryNotFoundException", "Mezzanine::DirectoryNotFoundException *", 0, 0, (void*)&_wrap_class_Mezzanine_DirectoryNotFoundException, 0};
51367 static swig_type_info _swigt__p_Mezzanine__DirectoryPermissionException = {"_p_Mezzanine__DirectoryPermissionException", "Mezzanine::DirectoryPermissionException *", 0, 0, (void*)&_wrap_class_Mezzanine_DirectoryPermissionException, 0};
51368 static swig_type_info _swigt__p_Mezzanine__DirectoryReadException = {"_p_Mezzanine__DirectoryReadException", "Mezzanine::DirectoryReadException *", 0, 0, (void*)&_wrap_class_Mezzanine_DirectoryReadException, 0};
51369 static swig_type_info _swigt__p_Mezzanine__DirectoryWriteException = {"_p_Mezzanine__DirectoryWriteException", "Mezzanine::DirectoryWriteException *", 0, 0, (void*)&_wrap_class_Mezzanine_DirectoryWriteException, 0};
51370 static swig_type_info _swigt__p_Mezzanine__Exception = {"_p_Mezzanine__Exception", "Mezzanine::Exception *", 0, 0, (void*)&_wrap_class_Mezzanine_Exception, 0};
51371 static swig_type_info _swigt__p_Mezzanine__FileException = {"_p_Mezzanine__FileException", "Mezzanine::FileException *", 0, 0, (void*)&_wrap_class_Mezzanine_FileException, 0};
51372 static swig_type_info _swigt__p_Mezzanine__FileNotFoundException = {"_p_Mezzanine__FileNotFoundException", "Mezzanine::FileNotFoundException *", 0, 0, (void*)&_wrap_class_Mezzanine_FileNotFoundException, 0};
51373 static swig_type_info _swigt__p_Mezzanine__FilePermissionException = {"_p_Mezzanine__FilePermissionException", "Mezzanine::FilePermissionException *", 0, 0, (void*)&_wrap_class_Mezzanine_FilePermissionException, 0};
51374 static swig_type_info _swigt__p_Mezzanine__FileReadException = {"_p_Mezzanine__FileReadException", "Mezzanine::FileReadException *", 0, 0, (void*)&_wrap_class_Mezzanine_FileReadException, 0};
51375 static swig_type_info _swigt__p_Mezzanine__FileWriteException = {"_p_Mezzanine__FileWriteException", "Mezzanine::FileWriteException *", 0, 0, (void*)&_wrap_class_Mezzanine_FileWriteException, 0};
51376 static swig_type_info _swigt__p_Mezzanine__Graphics__Mesh = {"_p_Mezzanine__Graphics__Mesh", "Mezzanine::Graphics::Mesh *", 0, 0, (void*)0, 0};
51377 static swig_type_info _swigt__p_Mezzanine__IOException = {"_p_Mezzanine__IOException", "Mezzanine::IOException *", 0, 0, (void*)&_wrap_class_Mezzanine_IOException, 0};
51378 static swig_type_info _swigt__p_Mezzanine__IOReadException = {"_p_Mezzanine__IOReadException", "Mezzanine::IOReadException *", 0, 0, (void*)&_wrap_class_Mezzanine_IOReadException, 0};
51379 static swig_type_info _swigt__p_Mezzanine__IOWriteException = {"_p_Mezzanine__IOWriteException", "Mezzanine::IOWriteException *", 0, 0, (void*)&_wrap_class_Mezzanine_IOWriteException, 0};
51380 static swig_type_info _swigt__p_Mezzanine__InstanceIdentityDuplicateException = {"_p_Mezzanine__InstanceIdentityDuplicateException", "Mezzanine::InstanceIdentityDuplicateException *", 0, 0, (void*)&_wrap_class_Mezzanine_InstanceIdentityDuplicateException, 0};
51381 static swig_type_info _swigt__p_Mezzanine__InstanceIdentityException = {"_p_Mezzanine__InstanceIdentityException", "Mezzanine::InstanceIdentityException *", 0, 0, (void*)&_wrap_class_Mezzanine_InstanceIdentityException, 0};
51382 static swig_type_info _swigt__p_Mezzanine__InstanceIdentityInvalidException = {"_p_Mezzanine__InstanceIdentityInvalidException", "Mezzanine::InstanceIdentityInvalidException *", 0, 0, (void*)&_wrap_class_Mezzanine_InstanceIdentityInvalidException, 0};
51383 static swig_type_info _swigt__p_Mezzanine__InstanceIdentityNotFoundException = {"_p_Mezzanine__InstanceIdentityNotFoundException", "Mezzanine::InstanceIdentityNotFoundException *", 0, 0, (void*)&_wrap_class_Mezzanine_InstanceIdentityNotFoundException, 0};
51384 static swig_type_info _swigt__p_Mezzanine__InternalException = {"_p_Mezzanine__InternalException", "Mezzanine::InternalException *", 0, 0, (void*)&_wrap_class_Mezzanine_InternalException, 0};
51385 static swig_type_info _swigt__p_Mezzanine__InvalidAssignment = {"_p_Mezzanine__InvalidAssignment", "Mezzanine::InvalidAssignment *", 0, 0, (void*)&_wrap_class_Mezzanine_InvalidAssignment, 0};
51386 static swig_type_info _swigt__p_Mezzanine__InvalidStateException = {"_p_Mezzanine__InvalidStateException", "Mezzanine::InvalidStateException *", 0, 0, (void*)&_wrap_class_Mezzanine_InvalidStateException, 0};
51387 static swig_type_info _swigt__p_Mezzanine__InvalidVersionException = {"_p_Mezzanine__InvalidVersionException", "Mezzanine::InvalidVersionException *", 0, 0, (void*)&_wrap_class_Mezzanine_InvalidVersionException, 0};
51388 static swig_type_info _swigt__p_Mezzanine__Matrix3x3 = {"_p_Mezzanine__Matrix3x3", "Mezzanine::Matrix3x3 *", 0, 0, (void*)0, 0};
51389 static swig_type_info _swigt__p_Mezzanine__MemoryManagementException = {"_p_Mezzanine__MemoryManagementException", "Mezzanine::MemoryManagementException *", 0, 0, (void*)&_wrap_class_Mezzanine_MemoryManagementException, 0};
51390 static swig_type_info _swigt__p_Mezzanine__MemoryOutOfBoundsException = {"_p_Mezzanine__MemoryOutOfBoundsException", "Mezzanine::MemoryOutOfBoundsException *", 0, 0, (void*)&_wrap_class_Mezzanine_MemoryOutOfBoundsException, 0};
51391 static swig_type_info _swigt__p_Mezzanine__NetworkException = {"_p_Mezzanine__NetworkException", "Mezzanine::NetworkException *", 0, 0, (void*)&_wrap_class_Mezzanine_NetworkException, 0};
51392 static swig_type_info _swigt__p_Mezzanine__NetworkNotFoundException = {"_p_Mezzanine__NetworkNotFoundException", "Mezzanine::NetworkNotFoundException *", 0, 0, (void*)&_wrap_class_Mezzanine_NetworkNotFoundException, 0};
51393 static swig_type_info _swigt__p_Mezzanine__NetworkPermissionException = {"_p_Mezzanine__NetworkPermissionException", "Mezzanine::NetworkPermissionException *", 0, 0, (void*)&_wrap_class_Mezzanine_NetworkPermissionException, 0};
51394 static swig_type_info _swigt__p_Mezzanine__NetworkReadException = {"_p_Mezzanine__NetworkReadException", "Mezzanine::NetworkReadException *", 0, 0, (void*)&_wrap_class_Mezzanine_NetworkReadException, 0};
51395 static swig_type_info _swigt__p_Mezzanine__NetworkURLException = {"_p_Mezzanine__NetworkURLException", "Mezzanine::NetworkURLException *", 0, 0, (void*)&_wrap_class_Mezzanine_NetworkURLException, 0};
51396 static swig_type_info _swigt__p_Mezzanine__NetworkWriteException = {"_p_Mezzanine__NetworkWriteException", "Mezzanine::NetworkWriteException *", 0, 0, (void*)&_wrap_class_Mezzanine_NetworkWriteException, 0};
51397 static swig_type_info _swigt__p_Mezzanine__NotImplementedException = {"_p_Mezzanine__NotImplementedException", "Mezzanine::NotImplementedException *", 0, 0, (void*)&_wrap_class_Mezzanine_NotImplementedException, 0};
51398 static swig_type_info _swigt__p_Mezzanine__OutOfMemoryException = {"_p_Mezzanine__OutOfMemoryException", "Mezzanine::OutOfMemoryException *", 0, 0, (void*)&_wrap_class_Mezzanine_OutOfMemoryException, 0};
51399 static swig_type_info _swigt__p_Mezzanine__ParametersCastException = {"_p_Mezzanine__ParametersCastException", "Mezzanine::ParametersCastException *", 0, 0, (void*)&_wrap_class_Mezzanine_ParametersCastException, 0};
51400 static swig_type_info _swigt__p_Mezzanine__ParametersException = {"_p_Mezzanine__ParametersException", "Mezzanine::ParametersException *", 0, 0, (void*)&_wrap_class_Mezzanine_ParametersException, 0};
51401 static swig_type_info _swigt__p_Mezzanine__ParametersRangeException = {"_p_Mezzanine__ParametersRangeException", "Mezzanine::ParametersRangeException *", 0, 0, (void*)&_wrap_class_Mezzanine_ParametersRangeException, 0};
51402 static swig_type_info _swigt__p_Mezzanine__Physics__BoxCollisionShape = {"_p_Mezzanine__Physics__BoxCollisionShape", "Mezzanine::Physics::BoxCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_BoxCollisionShape, 0};
51403 static swig_type_info _swigt__p_Mezzanine__Physics__CapsuleCollisionShape = {"_p_Mezzanine__Physics__CapsuleCollisionShape", "Mezzanine::Physics::CapsuleCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CapsuleCollisionShape, 0};
51404 static swig_type_info _swigt__p_Mezzanine__Physics__CollidablePair = {"_p_Mezzanine__Physics__CollidablePair", "Mezzanine::Physics::CollidablePair *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CollidablePair, 0};
51405 static swig_type_info _swigt__p_Mezzanine__Physics__CollidableProxy = {"_p_Mezzanine__Physics__CollidableProxy", "Mezzanine::Physics::CollidableProxy *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CollidableProxy, 0};
51406 static swig_type_info _swigt__p_Mezzanine__Physics__Collision = {"_p_Mezzanine__Physics__Collision", "Mezzanine::Physics::Collision *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_Collision, 0};
51407 static swig_type_info _swigt__p_Mezzanine__Physics__CollisionShape = {"_p_Mezzanine__Physics__CollisionShape", "Mezzanine::Physics::CollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CollisionShape, 0};
51408 static swig_type_info _swigt__p_Mezzanine__Physics__CollisionShapeDeSerializer = {"_p_Mezzanine__Physics__CollisionShapeDeSerializer", "Mezzanine::Physics::CollisionShapeDeSerializer *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CollisionShapeDeSerializer, 0};
51409 static swig_type_info _swigt__p_Mezzanine__Physics__CollisionShapeManager = {"_p_Mezzanine__Physics__CollisionShapeManager", "Mezzanine::Physics::CollisionShapeManager *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CollisionShapeManager, 0};
51410 static swig_type_info _swigt__p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator = {"_p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator", "Mezzanine::Physics::CollisionShapeManager::ShapeMap::iterator *|Mezzanine::Physics::CollisionShapeManager::ShapeMapIterator *", 0, 0, (void*)0, 0};
51411 static swig_type_info _swigt__p_Mezzanine__Physics__CompoundCollisionShape = {"_p_Mezzanine__Physics__CompoundCollisionShape", "Mezzanine::Physics::CompoundCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CompoundCollisionShape, 0};
51412 static swig_type_info _swigt__p_Mezzanine__Physics__ConeCollisionShape = {"_p_Mezzanine__Physics__ConeCollisionShape", "Mezzanine::Physics::ConeCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_ConeCollisionShape, 0};
51413 static swig_type_info _swigt__p_Mezzanine__Physics__Constraint = {"_p_Mezzanine__Physics__Constraint", "Mezzanine::Physics::Constraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_Constraint, 0};
51414 static swig_type_info _swigt__p_Mezzanine__Physics__ConvexHullCollisionShape = {"_p_Mezzanine__Physics__ConvexHullCollisionShape", "Mezzanine::Physics::ConvexHullCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_ConvexHullCollisionShape, 0};
51415 static swig_type_info _swigt__p_Mezzanine__Physics__CylinderCollisionShape = {"_p_Mezzanine__Physics__CylinderCollisionShape", "Mezzanine::Physics::CylinderCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_CylinderCollisionShape, 0};
51416 static swig_type_info _swigt__p_Mezzanine__Physics__DebugDrawWorkUnit = {"_p_Mezzanine__Physics__DebugDrawWorkUnit", "Mezzanine::Physics::DebugDrawWorkUnit *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_DebugDrawWorkUnit, 0};
51417 static swig_type_info _swigt__p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory = {"_p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory", "Mezzanine::Physics::DefaultCollisionShapeManagerFactory *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_DefaultCollisionShapeManagerFactory, 0};
51418 static swig_type_info _swigt__p_Mezzanine__Physics__DefaultPhysicsManagerFactory = {"_p_Mezzanine__Physics__DefaultPhysicsManagerFactory", "Mezzanine::Physics::DefaultPhysicsManagerFactory *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_DefaultPhysicsManagerFactory, 0};
51419 static swig_type_info _swigt__p_Mezzanine__Physics__DualTransformConstraint = {"_p_Mezzanine__Physics__DualTransformConstraint", "Mezzanine::Physics::DualTransformConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_DualTransformConstraint, 0};
51420 static swig_type_info _swigt__p_Mezzanine__Physics__DynamicMeshCollisionShape = {"_p_Mezzanine__Physics__DynamicMeshCollisionShape", "Mezzanine::Physics::DynamicMeshCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_DynamicMeshCollisionShape, 0};
51421 static swig_type_info _swigt__p_Mezzanine__Physics__FieldCollisionShape = {"_p_Mezzanine__Physics__FieldCollisionShape", "Mezzanine::Physics::FieldCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_FieldCollisionShape, 0};
51422 static swig_type_info _swigt__p_Mezzanine__Physics__GearConstraint = {"_p_Mezzanine__Physics__GearConstraint", "Mezzanine::Physics::GearConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_GearConstraint, 0};
51423 static swig_type_info _swigt__p_Mezzanine__Physics__Generic6DofConstraint = {"_p_Mezzanine__Physics__Generic6DofConstraint", "Mezzanine::Physics::Generic6DofConstraint *|Mezzanine::Physics::StickyConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_Generic6DofConstraint, 0};
51424 static swig_type_info _swigt__p_Mezzanine__Physics__Generic6DofSpringConstraint = {"_p_Mezzanine__Physics__Generic6DofSpringConstraint", "Mezzanine::Physics::Generic6DofSpringConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_Generic6DofSpringConstraint, 0};
51425 static swig_type_info _swigt__p_Mezzanine__Physics__GhostProxy = {"_p_Mezzanine__Physics__GhostProxy", "Mezzanine::Physics::GhostProxy *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_GhostProxy, 0};
51426 static swig_type_info _swigt__p_Mezzanine__Physics__HeightfieldCollisionShape = {"_p_Mezzanine__Physics__HeightfieldCollisionShape", "Mezzanine::Physics::HeightfieldCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_HeightfieldCollisionShape, 0};
51427 static swig_type_info _swigt__p_Mezzanine__Physics__HingeConstraint = {"_p_Mezzanine__Physics__HingeConstraint", "Mezzanine::Physics::HingeConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_HingeConstraint, 0};
51428 static swig_type_info _swigt__p_Mezzanine__Physics__ManagerConstructionInfo = {"_p_Mezzanine__Physics__ManagerConstructionInfo", "Mezzanine::Physics::ManagerConstructionInfo *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_ManagerConstructionInfo, 0};
51429 static swig_type_info _swigt__p_Mezzanine__Physics__MeshCollisionShape = {"_p_Mezzanine__Physics__MeshCollisionShape", "Mezzanine::Physics::MeshCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_MeshCollisionShape, 0};
51430 static swig_type_info _swigt__p_Mezzanine__Physics__MultiSphereCollisionShape = {"_p_Mezzanine__Physics__MultiSphereCollisionShape", "Mezzanine::Physics::MultiSphereCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_MultiSphereCollisionShape, 0};
51431 static swig_type_info _swigt__p_Mezzanine__Physics__PhysicsManager = {"_p_Mezzanine__Physics__PhysicsManager", "Mezzanine::Physics::PhysicsManager *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_PhysicsManager, 0};
51432 static swig_type_info _swigt__p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator = {"_p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator", "Mezzanine::Physics::PhysicsManager::CollisionIterator *|Mezzanine::Physics::PhysicsManager::CollisionContainer::iterator *", 0, 0, (void*)0, 0};
51433 static swig_type_info _swigt__p_Mezzanine__Physics__PlaneCollisionShape = {"_p_Mezzanine__Physics__PlaneCollisionShape", "Mezzanine::Physics::PlaneCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_PlaneCollisionShape, 0};
51434 static swig_type_info _swigt__p_Mezzanine__Physics__Point2PointConstraint = {"_p_Mezzanine__Physics__Point2PointConstraint", "Mezzanine::Physics::Point2PointConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_Point2PointConstraint, 0};
51435 static swig_type_info _swigt__p_Mezzanine__Physics__PrimitiveCollisionShape = {"_p_Mezzanine__Physics__PrimitiveCollisionShape", "Mezzanine::Physics::PrimitiveCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_PrimitiveCollisionShape, 0};
51436 static swig_type_info _swigt__p_Mezzanine__Physics__RigidProxy = {"_p_Mezzanine__Physics__RigidProxy", "Mezzanine::Physics::RigidProxy *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_RigidProxy, 0};
51437 static swig_type_info _swigt__p_Mezzanine__Physics__SimulationMonopolyWorkUnit = {"_p_Mezzanine__Physics__SimulationMonopolyWorkUnit", "Mezzanine::Physics::SimulationMonopolyWorkUnit *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_SimulationMonopolyWorkUnit, 0};
51438 static swig_type_info _swigt__p_Mezzanine__Physics__SimulationWorkUnit = {"_p_Mezzanine__Physics__SimulationWorkUnit", "Mezzanine::Physics::SimulationWorkUnit *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_SimulationWorkUnit, 0};
51439 static swig_type_info _swigt__p_Mezzanine__Physics__SliderConstraint = {"_p_Mezzanine__Physics__SliderConstraint", "Mezzanine::Physics::SliderConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_SliderConstraint, 0};
51440 static swig_type_info _swigt__p_Mezzanine__Physics__SoftCollisionShape = {"_p_Mezzanine__Physics__SoftCollisionShape", "Mezzanine::Physics::SoftCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_SoftCollisionShape, 0};
51441 static swig_type_info _swigt__p_Mezzanine__Physics__SoftProxy = {"_p_Mezzanine__Physics__SoftProxy", "Mezzanine::Physics::SoftProxy *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_SoftProxy, 0};
51442 static swig_type_info _swigt__p_Mezzanine__Physics__SphereCollisionShape = {"_p_Mezzanine__Physics__SphereCollisionShape", "Mezzanine::Physics::SphereCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_SphereCollisionShape, 0};
51443 static swig_type_info _swigt__p_Mezzanine__Physics__StaticMeshCollisionShape = {"_p_Mezzanine__Physics__StaticMeshCollisionShape", "Mezzanine::Physics::StaticMeshCollisionShape *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_StaticMeshCollisionShape, 0};
51444 static swig_type_info _swigt__p_Mezzanine__Physics__StickyConstraintConstructionInfo = {"_p_Mezzanine__Physics__StickyConstraintConstructionInfo", "Mezzanine::Physics::StickyConstraintConstructionInfo *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_StickyConstraintConstructionInfo, 0};
51445 static swig_type_info _swigt__p_Mezzanine__Physics__StickyData = {"_p_Mezzanine__Physics__StickyData", "Mezzanine::Physics::StickyData *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_StickyData, 0};
51446 static swig_type_info _swigt__p_Mezzanine__Physics__UniversalConstraint = {"_p_Mezzanine__Physics__UniversalConstraint", "Mezzanine::Physics::UniversalConstraint *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_UniversalConstraint, 0};
51447 static swig_type_info _swigt__p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit = {"_p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit", "Mezzanine::Physics::WorldTriggerUpdateWorkUnit *", 0, 0, (void*)&_wrap_class_Mezzanine_Physics_WorldTriggerUpdateWorkUnit, 0};
51448 static swig_type_info _swigt__p_Mezzanine__Plane = {"_p_Mezzanine__Plane", "Mezzanine::Plane *", 0, 0, (void*)&_wrap_class_Mezzanine_Plane, 0};
51449 static swig_type_info _swigt__p_Mezzanine__Quaternion = {"_p_Mezzanine__Quaternion", "Mezzanine::Quaternion *", 0, 0, (void*)&_wrap_class_Mezzanine_Quaternion, 0};
51450 static swig_type_info _swigt__p_Mezzanine__Ray = {"_p_Mezzanine__Ray", "Mezzanine::Ray *", 0, 0, (void*)0, 0};
51451 static swig_type_info _swigt__p_Mezzanine__RenderingAPIException = {"_p_Mezzanine__RenderingAPIException", "Mezzanine::RenderingAPIException *", 0, 0, (void*)&_wrap_class_Mezzanine_RenderingAPIException, 0};
51452 static swig_type_info _swigt__p_Mezzanine__RuntimeAssertionException = {"_p_Mezzanine__RuntimeAssertionException", "Mezzanine::RuntimeAssertionException *", 0, 0, (void*)&_wrap_class_Mezzanine_RuntimeAssertionException, 0};
51453 static swig_type_info _swigt__p_Mezzanine__ScriptException = {"_p_Mezzanine__ScriptException", "Mezzanine::ScriptException *", 0, 0, (void*)&_wrap_class_Mezzanine_ScriptException, 0};
51454 static swig_type_info _swigt__p_Mezzanine__ScriptLuaErrErrException = {"_p_Mezzanine__ScriptLuaErrErrException", "Mezzanine::ScriptLuaErrErrException *", 0, 0, (void*)&_wrap_class_Mezzanine_ScriptLuaErrErrException, 0};
51455 static swig_type_info _swigt__p_Mezzanine__ScriptLuaException = {"_p_Mezzanine__ScriptLuaException", "Mezzanine::ScriptLuaException *", 0, 0, (void*)&_wrap_class_Mezzanine_ScriptLuaException, 0};
51456 static swig_type_info _swigt__p_Mezzanine__ScriptLuaRuntimeException = {"_p_Mezzanine__ScriptLuaRuntimeException", "Mezzanine::ScriptLuaRuntimeException *", 0, 0, (void*)&_wrap_class_Mezzanine_ScriptLuaRuntimeException, 0};
51457 static swig_type_info _swigt__p_Mezzanine__ScriptLuaYieldException = {"_p_Mezzanine__ScriptLuaYieldException", "Mezzanine::ScriptLuaYieldException *", 0, 0, (void*)&_wrap_class_Mezzanine_ScriptLuaYieldException, 0};
51458 static swig_type_info _swigt__p_Mezzanine__SingletonT_CollisionShapeManager_t = {"_p_Mezzanine__SingletonT_CollisionShapeManager_t", "Mezzanine::Singleton< CollisionShapeManager > *", 0, 0, (void*)&_wrap_class_Mezzanine_Singleton_Sl_CollisionShapeManager_Sg_, 0};
51459 static swig_type_info _swigt__p_Mezzanine__Sphere = {"_p_Mezzanine__Sphere", "Mezzanine::Sphere *", 0, 0, (void*)0, 0};
51460 static swig_type_info _swigt__p_Mezzanine__SyntaxErrorException = {"_p_Mezzanine__SyntaxErrorException", "Mezzanine::SyntaxErrorException *", 0, 0, (void*)&_wrap_class_Mezzanine_SyntaxErrorException, 0};
51461 static swig_type_info _swigt__p_Mezzanine__SyntaxErrorLuaException = {"_p_Mezzanine__SyntaxErrorLuaException", "Mezzanine::SyntaxErrorLuaException *", 0, 0, (void*)&_wrap_class_Mezzanine_SyntaxErrorLuaException, 0};
51462 static swig_type_info _swigt__p_Mezzanine__SyntaxErrorXMLException = {"_p_Mezzanine__SyntaxErrorXMLException", "Mezzanine::SyntaxErrorXMLException *", 0, 0, (void*)&_wrap_class_Mezzanine_SyntaxErrorXMLException, 0};
51463 static swig_type_info _swigt__p_Mezzanine__SyntaxErrorXPathException = {"_p_Mezzanine__SyntaxErrorXPathException", "Mezzanine::SyntaxErrorXPathException *", 0, 0, (void*)&_wrap_class_Mezzanine_SyntaxErrorXPathException, 0};
51464 static swig_type_info _swigt__p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type = {"_p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type", "Mezzanine::Threading::DefaultThreadSpecificStorage::Type *", 0, 0, (void*)0, 0};
51465 static swig_type_info _swigt__p_Mezzanine__Threading__DefaultWorkUnit = {"_p_Mezzanine__Threading__DefaultWorkUnit", "Mezzanine::Threading::DefaultWorkUnit *", 0, 0, (void*)0, 0};
51466 static swig_type_info _swigt__p_Mezzanine__Threading__RawFile = {"_p_Mezzanine__Threading__RawFile", "Mezzanine::Threading::RawFile *|Mezzanine::RawFile *", 0, 0, (void*)0, 0};
51467 static swig_type_info _swigt__p_Mezzanine__Transform = {"_p_Mezzanine__Transform", "Mezzanine::Transform *", 0, 0, (void*)&_wrap_class_Mezzanine_Transform, 0};
51468 static swig_type_info _swigt__p_Mezzanine__TransformableChildObject = {"_p_Mezzanine__TransformableChildObject", "Mezzanine::TransformableChildObject *", 0, 0, (void*)&_wrap_class_Mezzanine_TransformableChildObject, 0};
51469 static swig_type_info _swigt__p_Mezzanine__TransformableObject = {"_p_Mezzanine__TransformableObject", "Mezzanine::TransformableObject *", 0, 0, (void*)&_wrap_class_Mezzanine_TransformableObject, 0};
51470 static swig_type_info _swigt__p_Mezzanine__Vector3 = {"_p_Mezzanine__Vector3", "Mezzanine::Vector3 *|Mezzanine::Physics::Vector3 *", 0, 0, (void*)&_wrap_class_Mezzanine_Vector3, 0};
51471 static swig_type_info _swigt__p_Mezzanine__WorldManager = {"_p_Mezzanine__WorldManager", "Mezzanine::WorldManager *", 0, 0, (void*)0, 0};
51472 static swig_type_info _swigt__p_Mezzanine__WorldObject = {"_p_Mezzanine__WorldObject", "Mezzanine::WorldObject *", 0, 0, (void*)0, 0};
51473 static swig_type_info _swigt__p_Mezzanine__WorldProxy = {"_p_Mezzanine__WorldProxy", "Mezzanine::WorldProxy *", 0, 0, (void*)&_wrap_class_Mezzanine_WorldProxy, 0};
51474 static swig_type_info _swigt__p_Mezzanine__WorldTrigger = {"_p_Mezzanine__WorldTrigger", "Mezzanine::WorldTrigger *", 0, 0, (void*)0, 0};
51475 static swig_type_info _swigt__p_Ogre__Plane = {"_p_Ogre__Plane", "Ogre::Plane *", 0, 0, (void*)0, 0};
51476 static swig_type_info _swigt__p_Ogre__Quaternion = {"_p_Ogre__Quaternion", "Ogre::Quaternion *", 0, 0, (void*)0, 0};
51477 static swig_type_info _swigt__p_Ogre__Vector3 = {"_p_Ogre__Vector3", "Ogre::Vector3 *", 0, 0, (void*)0, 0};
51478 static swig_type_info _swigt__p_ParamList = {"_p_ParamList", "ParamList *", 0, 0, (void*)0, 0};
51479 static swig_type_info _swigt__p_ProxyContainer = {"_p_ProxyContainer", "ProxyContainer *", 0, 0, (void*)0, 0};
51480 static swig_type_info _swigt__p_ProxyIterator = {"_p_ProxyIterator", "ProxyIterator *", 0, 0, (void*)0, 0};
51481 static swig_type_info _swigt__p_RayTestResult = {"_p_RayTestResult", "RayTestResult *", 0, 0, (void*)0, 0};
51482 static swig_type_info _swigt__p_SDL_Event = {"_p_SDL_Event", "SDL_Event *|Mezzanine::RawEvent *", 0, 0, (void*)0, 0};
51483 static swig_type_info _swigt__p_ShapeMap = {"_p_ShapeMap", "ShapeMap *", 0, 0, (void*)0, 0};
51484 static swig_type_info _swigt__p_ShapeMapIterator = {"_p_ShapeMapIterator", "ShapeMapIterator *", 0, 0, (void*)0, 0};
51485 static swig_type_info _swigt__p_ShapeVector = {"_p_ShapeVector", "ShapeVector *", 0, 0, (void*)0, 0};
51486 static swig_type_info _swigt__p_ShapeVectorIterator = {"_p_ShapeVectorIterator", "ShapeVectorIterator *", 0, 0, (void*)0, 0};
51487 static swig_type_info _swigt__p_StandardAxis = {"_p_StandardAxis", "StandardAxis *", 0, 0, (void*)0, 0};
51488 static swig_type_info _swigt__p_Transform = {"_p_Transform", "Transform *", 0, 0, (void*)0, 0};
51489 static swig_type_info _swigt__p_WorldTriggerContainer = {"_p_WorldTriggerContainer", "WorldTriggerContainer *", 0, 0, (void*)0, 0};
51490 static swig_type_info _swigt__p_WorldTriggerIterator = {"_p_WorldTriggerIterator", "WorldTriggerIterator *", 0, 0, (void*)0, 0};
51491 static swig_type_info _swigt__p_XML__Node = {"_p_XML__Node", "XML::Node *", 0, 0, (void*)0, 0};
51492 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *|Mezzanine::Boole *", 0, 0, (void*)0, 0};
51493 static swig_type_info _swigt__p_btBoxShape = {"_p_btBoxShape", "btBoxShape *", 0, 0, (void*)0, 0};
51494 static swig_type_info _swigt__p_btBvhTriangleMeshShape = {"_p_btBvhTriangleMeshShape", "btBvhTriangleMeshShape *", 0, 0, (void*)0, 0};
51495 static swig_type_info _swigt__p_btCapsuleShape = {"_p_btCapsuleShape", "btCapsuleShape *", 0, 0, (void*)0, 0};
51496 static swig_type_info _swigt__p_btCollisionObject = {"_p_btCollisionObject", "btCollisionObject *", 0, 0, (void*)0, 0};
51497 static swig_type_info _swigt__p_btCollisionShape = {"_p_btCollisionShape", "btCollisionShape *", 0, 0, (void*)0, 0};
51498 static swig_type_info _swigt__p_btCompoundShape = {"_p_btCompoundShape", "btCompoundShape *", 0, 0, (void*)0, 0};
51499 static swig_type_info _swigt__p_btConcaveShape = {"_p_btConcaveShape", "btConcaveShape *", 0, 0, (void*)0, 0};
51500 static swig_type_info _swigt__p_btConeShape = {"_p_btConeShape", "btConeShape *", 0, 0, (void*)0, 0};
51501 static swig_type_info _swigt__p_btConvexHullShape = {"_p_btConvexHullShape", "btConvexHullShape *", 0, 0, (void*)0, 0};
51502 static swig_type_info _swigt__p_btConvexInternalShape = {"_p_btConvexInternalShape", "btConvexInternalShape *", 0, 0, (void*)0, 0};
51503 static swig_type_info _swigt__p_btCylinderShape = {"_p_btCylinderShape", "btCylinderShape *", 0, 0, (void*)0, 0};
51504 static swig_type_info _swigt__p_btGImpactMeshShape = {"_p_btGImpactMeshShape", "btGImpactMeshShape *", 0, 0, (void*)0, 0};
51505 static swig_type_info _swigt__p_btHeightfieldTerrainShape = {"_p_btHeightfieldTerrainShape", "btHeightfieldTerrainShape *", 0, 0, (void*)0, 0};
51506 static swig_type_info _swigt__p_btMultiSphereShape = {"_p_btMultiSphereShape", "btMultiSphereShape *", 0, 0, (void*)0, 0};
51507 static swig_type_info _swigt__p_btPairCachingGhostObject = {"_p_btPairCachingGhostObject", "btPairCachingGhostObject *", 0, 0, (void*)0, 0};
51508 static swig_type_info _swigt__p_btQuaternion = {"_p_btQuaternion", "btQuaternion *", 0, 0, (void*)0, 0};
51509 static swig_type_info _swigt__p_btRigidBody = {"_p_btRigidBody", "btRigidBody *", 0, 0, (void*)0, 0};
51510 static swig_type_info _swigt__p_btSoftBody = {"_p_btSoftBody", "btSoftBody *", 0, 0, (void*)0, 0};
51511 static swig_type_info _swigt__p_btSoftBodyCollisionShape = {"_p_btSoftBodyCollisionShape", "btSoftBodyCollisionShape *", 0, 0, (void*)0, 0};
51512 static swig_type_info _swigt__p_btSphereShape = {"_p_btSphereShape", "btSphereShape *", 0, 0, (void*)0, 0};
51513 static swig_type_info _swigt__p_btStaticPlaneShape = {"_p_btStaticPlaneShape", "btStaticPlaneShape *", 0, 0, (void*)0, 0};
51514 static swig_type_info _swigt__p_btTransform = {"_p_btTransform", "btTransform *", 0, 0, (void*)0, 0};
51515 static swig_type_info _swigt__p_btTypedConstraint = {"_p_btTypedConstraint", "btTypedConstraint *", 0, 0, (void*)0, 0};
51516 static swig_type_info _swigt__p_btVector3 = {"_p_btVector3", "btVector3 *", 0, 0, (void*)0, 0};
51517 static swig_type_info _swigt__p_char = {"_p_char", "char *|Mezzanine::Char8 *", 0, 0, (void*)0, 0};
51518 static swig_type_info _swigt__p_double = {"_p_double", "Mezzanine::PreciseReal *|double *", 0, 0, (void*)0, 0};
51519 static swig_type_info _swigt__p_float = {"_p_float", "float *|btScalar *|Mezzanine::Real *", 0, 0, (void*)0, 0};
51520 static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|Mezzanine::Int32 *|int32_t *|Mezzanine::ConvertiblePointer *|Mezzanine::Integer *|int_fast16_t *", 0, 0, (void*)0, 0};
51521 static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|Mezzanine::Int64 *|int64_t *|long long *|Mezzanine::MaxInt *|intmax_t *", 0, 0, (void*)0, 0};
51522 static swig_type_info _swigt__p_short = {"_p_short", "Mezzanine::Int16 *|short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0};
51523 static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|Mezzanine::Int8 *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0};
51524 static swig_type_info _swigt__p_std__exception = {"_p_std__exception", "std::exception *", 0, 0, (void*)0, 0};
51525 static swig_type_info _swigt__p_std__istream = {"_p_std__istream", "std::istream *", 0, 0, (void*)0, 0};
51526 static swig_type_info _swigt__p_std__listT_std__pairT_std__string_std__string_t_t = {"_p_std__listT_std__pairT_std__string_std__string_t_t", "Mezzanine::NameValuePairList *|std::list< std::pair< std::string,std::string > > *", 0, 0, (void*)0, 0};
51527 static swig_type_info _swigt__p_std__mapT_std__string_std__string_t = {"_p_std__mapT_std__string_std__string_t", "Mezzanine::NameValuePairMap *|std::map< std::string,std::string > *", 0, 0, (void*)0, 0};
51528 static swig_type_info _swigt__p_std__pairT_bool_Mezzanine__Vector3_t = {"_p_std__pairT_bool_Mezzanine__Vector3_t", "Mezzanine::Plane::RayTestResult *|std::pair< bool,Mezzanine::Vector3 > *", 0, 0, (void*)0, 0};
51529 static swig_type_info _swigt__p_std__pairT_std__string_std__string_t = {"_p_std__pairT_std__string_std__string_t", "Mezzanine::NameValuePair *|std::pair< std::string,std::string > *", 0, 0, (void*)0, 0};
51530 static swig_type_info _swigt__p_std__setT_std__string_t = {"_p_std__setT_std__string_t", "std::set< std::string > *|Mezzanine::StringSet *", 0, 0, (void*)0, 0};
51531 static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *|Mezzanine::String *|Mezzanine::ConstString *", 0, 0, (void*)&_wrap_class_std_string, 0};
51532 static swig_type_info _swigt__p_std__stringstream = {"_p_std__stringstream", "Mezzanine::Logger *|std::stringstream *|Mezzanine::StringStream *", 0, 0, (void*)0, 0};
51533 static swig_type_info _swigt__p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t = {"_p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t", "Mezzanine::Physics::CollisionShapeManager::ShapeVector *|std::vector< Mezzanine::Physics::CollisionShape * > *", 0, 0, (void*)0, 0};
51534 static swig_type_info _swigt__p_std__vectorT_Mezzanine__Physics__ConstraintParam_t = {"_p_std__vectorT_Mezzanine__Physics__ConstraintParam_t", "Mezzanine::Physics::Constraint::ParamList *|std::vector< enum Mezzanine::Physics::ConstraintParam > *", 0, 0, (void*)0, 0};
51535 static swig_type_info _swigt__p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t = {"_p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t", "std::vector< Mezzanine::Physics::StickyConstraint * > *|std::vector< Mezzanine::Physics::Generic6DofConstraint * > *", 0, 0, (void*)0, 0};
51536 static swig_type_info _swigt__p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t = {"_p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t", "std::vector< Mezzanine::Physics::StickyConstraintConstructionInfo > *", 0, 0, (void*)0, 0};
51537 static swig_type_info _swigt__p_std__vectorT_Mezzanine__Vector3_t = {"_p_std__vectorT_Mezzanine__Vector3_t", "std::vector< Mezzanine::Vector3 > *|std::vector< Mezzanine::Physics::Vector3 > *", 0, 0, (void*)0, 0};
51538 static swig_type_info _swigt__p_std__vectorT_float_t = {"_p_std__vectorT_float_t", "std::vector< float > *|std::vector< Mezzanine::Real > *", 0, 0, (void*)0, 0};
51539 static swig_type_info _swigt__p_std__vectorT_int_t = {"_p_std__vectorT_int_t", "Mezzanine::Physics::Constraint::AxisList *|std::vector< int > *", 0, 0, (void*)0, 0};
51540 static swig_type_info _swigt__p_std__vectorT_std__string_t = {"_p_std__vectorT_std__string_t", "std::vector< std::string > *|Mezzanine::StringVector *", 0, 0, (void*)0, 0};
51541 static swig_type_info _swigt__p_std__wstring = {"_p_std__wstring", "std::wstring *|Mezzanine::WideString *", 0, 0, (void*)0, 0};
51542 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|Mezzanine::UInt8 *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0};
51543 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|Mezzanine::UInt32 *|unsigned int *|Mezzanine::TimeMarker *|uint_fast16_t *", 0, 0, (void*)0, 0};
51544 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "Mezzanine::Whole *|unsigned long *", 0, 0, (void*)0, 0};
51545 static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|Mezzanine::UInt64 *|unsigned long long *|uintmax_t *", 0, 0, (void*)0, 0};
51546 static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "Mezzanine::UInt16 *|unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0};
51547 
51548 static swig_type_info *swig_type_initial[] = {
51549  &_swigt__p_AxisAlignedBox,
51550  &_swigt__p_AxisList,
51551  &_swigt__p_ChannelType,
51552  &_swigt__p_CollidablePair,
51553  &_swigt__p_CollisionContainer,
51554  &_swigt__p_CollisionIterator,
51555  &_swigt__p_CollisionShapeManager,
51556  &_swigt__p_CollisionSortPair,
51557  &_swigt__p_ConstCollisionIterator,
51558  &_swigt__p_ConstConstraintIterator,
51559  &_swigt__p_ConstProxyIterator,
51560  &_swigt__p_ConstShapeMapIterator,
51561  &_swigt__p_ConstShapeVectorIterator,
51562  &_swigt__p_ConstWorldTriggerIterator,
51563  &_swigt__p_ConstraintContainer,
51564  &_swigt__p_ConstraintIterator,
51565  &_swigt__p_ManagerBase,
51566  &_swigt__p_ManagerBase__ManagerType,
51567  &_swigt__p_ManagerConstructionInfo,
51568  &_swigt__p_Mezzanine__ArithmeticException,
51569  &_swigt__p_Mezzanine__AxisAlignedBox,
51570  &_swigt__p_Mezzanine__DirectoryException,
51571  &_swigt__p_Mezzanine__DirectoryNotFoundException,
51572  &_swigt__p_Mezzanine__DirectoryPermissionException,
51573  &_swigt__p_Mezzanine__DirectoryReadException,
51574  &_swigt__p_Mezzanine__DirectoryWriteException,
51575  &_swigt__p_Mezzanine__Exception,
51576  &_swigt__p_Mezzanine__FileException,
51577  &_swigt__p_Mezzanine__FileNotFoundException,
51578  &_swigt__p_Mezzanine__FilePermissionException,
51579  &_swigt__p_Mezzanine__FileReadException,
51580  &_swigt__p_Mezzanine__FileWriteException,
51581  &_swigt__p_Mezzanine__Graphics__Mesh,
51582  &_swigt__p_Mezzanine__IOException,
51583  &_swigt__p_Mezzanine__IOReadException,
51584  &_swigt__p_Mezzanine__IOWriteException,
51585  &_swigt__p_Mezzanine__InstanceIdentityDuplicateException,
51586  &_swigt__p_Mezzanine__InstanceIdentityException,
51587  &_swigt__p_Mezzanine__InstanceIdentityInvalidException,
51588  &_swigt__p_Mezzanine__InstanceIdentityNotFoundException,
51589  &_swigt__p_Mezzanine__InternalException,
51590  &_swigt__p_Mezzanine__InvalidAssignment,
51591  &_swigt__p_Mezzanine__InvalidStateException,
51592  &_swigt__p_Mezzanine__InvalidVersionException,
51593  &_swigt__p_Mezzanine__Matrix3x3,
51594  &_swigt__p_Mezzanine__MemoryManagementException,
51595  &_swigt__p_Mezzanine__MemoryOutOfBoundsException,
51596  &_swigt__p_Mezzanine__NetworkException,
51597  &_swigt__p_Mezzanine__NetworkNotFoundException,
51598  &_swigt__p_Mezzanine__NetworkPermissionException,
51599  &_swigt__p_Mezzanine__NetworkReadException,
51600  &_swigt__p_Mezzanine__NetworkURLException,
51601  &_swigt__p_Mezzanine__NetworkWriteException,
51602  &_swigt__p_Mezzanine__NotImplementedException,
51603  &_swigt__p_Mezzanine__OutOfMemoryException,
51604  &_swigt__p_Mezzanine__ParametersCastException,
51605  &_swigt__p_Mezzanine__ParametersException,
51606  &_swigt__p_Mezzanine__ParametersRangeException,
51607  &_swigt__p_Mezzanine__Physics__BoxCollisionShape,
51608  &_swigt__p_Mezzanine__Physics__CapsuleCollisionShape,
51609  &_swigt__p_Mezzanine__Physics__CollidablePair,
51610  &_swigt__p_Mezzanine__Physics__CollidableProxy,
51611  &_swigt__p_Mezzanine__Physics__Collision,
51612  &_swigt__p_Mezzanine__Physics__CollisionShape,
51613  &_swigt__p_Mezzanine__Physics__CollisionShapeDeSerializer,
51614  &_swigt__p_Mezzanine__Physics__CollisionShapeManager,
51615  &_swigt__p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator,
51616  &_swigt__p_Mezzanine__Physics__CompoundCollisionShape,
51617  &_swigt__p_Mezzanine__Physics__ConeCollisionShape,
51618  &_swigt__p_Mezzanine__Physics__Constraint,
51619  &_swigt__p_Mezzanine__Physics__ConvexHullCollisionShape,
51620  &_swigt__p_Mezzanine__Physics__CylinderCollisionShape,
51621  &_swigt__p_Mezzanine__Physics__DebugDrawWorkUnit,
51622  &_swigt__p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,
51623  &_swigt__p_Mezzanine__Physics__DefaultPhysicsManagerFactory,
51624  &_swigt__p_Mezzanine__Physics__DualTransformConstraint,
51625  &_swigt__p_Mezzanine__Physics__DynamicMeshCollisionShape,
51626  &_swigt__p_Mezzanine__Physics__FieldCollisionShape,
51627  &_swigt__p_Mezzanine__Physics__GearConstraint,
51628  &_swigt__p_Mezzanine__Physics__Generic6DofConstraint,
51629  &_swigt__p_Mezzanine__Physics__Generic6DofSpringConstraint,
51630  &_swigt__p_Mezzanine__Physics__GhostProxy,
51631  &_swigt__p_Mezzanine__Physics__HeightfieldCollisionShape,
51632  &_swigt__p_Mezzanine__Physics__HingeConstraint,
51633  &_swigt__p_Mezzanine__Physics__ManagerConstructionInfo,
51634  &_swigt__p_Mezzanine__Physics__MeshCollisionShape,
51635  &_swigt__p_Mezzanine__Physics__MultiSphereCollisionShape,
51636  &_swigt__p_Mezzanine__Physics__PhysicsManager,
51637  &_swigt__p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator,
51638  &_swigt__p_Mezzanine__Physics__PlaneCollisionShape,
51639  &_swigt__p_Mezzanine__Physics__Point2PointConstraint,
51640  &_swigt__p_Mezzanine__Physics__PrimitiveCollisionShape,
51641  &_swigt__p_Mezzanine__Physics__RigidProxy,
51642  &_swigt__p_Mezzanine__Physics__SimulationMonopolyWorkUnit,
51643  &_swigt__p_Mezzanine__Physics__SimulationWorkUnit,
51644  &_swigt__p_Mezzanine__Physics__SliderConstraint,
51645  &_swigt__p_Mezzanine__Physics__SoftCollisionShape,
51646  &_swigt__p_Mezzanine__Physics__SoftProxy,
51647  &_swigt__p_Mezzanine__Physics__SphereCollisionShape,
51648  &_swigt__p_Mezzanine__Physics__StaticMeshCollisionShape,
51649  &_swigt__p_Mezzanine__Physics__StickyConstraintConstructionInfo,
51650  &_swigt__p_Mezzanine__Physics__StickyData,
51651  &_swigt__p_Mezzanine__Physics__UniversalConstraint,
51652  &_swigt__p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit,
51653  &_swigt__p_Mezzanine__Plane,
51654  &_swigt__p_Mezzanine__Quaternion,
51655  &_swigt__p_Mezzanine__Ray,
51656  &_swigt__p_Mezzanine__RenderingAPIException,
51657  &_swigt__p_Mezzanine__RuntimeAssertionException,
51658  &_swigt__p_Mezzanine__ScriptException,
51659  &_swigt__p_Mezzanine__ScriptLuaErrErrException,
51660  &_swigt__p_Mezzanine__ScriptLuaException,
51661  &_swigt__p_Mezzanine__ScriptLuaRuntimeException,
51662  &_swigt__p_Mezzanine__ScriptLuaYieldException,
51663  &_swigt__p_Mezzanine__SingletonT_CollisionShapeManager_t,
51664  &_swigt__p_Mezzanine__Sphere,
51665  &_swigt__p_Mezzanine__SyntaxErrorException,
51666  &_swigt__p_Mezzanine__SyntaxErrorLuaException,
51667  &_swigt__p_Mezzanine__SyntaxErrorXMLException,
51668  &_swigt__p_Mezzanine__SyntaxErrorXPathException,
51669  &_swigt__p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,
51670  &_swigt__p_Mezzanine__Threading__DefaultWorkUnit,
51671  &_swigt__p_Mezzanine__Threading__RawFile,
51672  &_swigt__p_Mezzanine__Transform,
51673  &_swigt__p_Mezzanine__TransformableChildObject,
51674  &_swigt__p_Mezzanine__TransformableObject,
51675  &_swigt__p_Mezzanine__Vector3,
51676  &_swigt__p_Mezzanine__WorldManager,
51677  &_swigt__p_Mezzanine__WorldObject,
51678  &_swigt__p_Mezzanine__WorldProxy,
51679  &_swigt__p_Mezzanine__WorldTrigger,
51680  &_swigt__p_Ogre__Plane,
51681  &_swigt__p_Ogre__Quaternion,
51682  &_swigt__p_Ogre__Vector3,
51683  &_swigt__p_ParamList,
51684  &_swigt__p_ProxyContainer,
51685  &_swigt__p_ProxyIterator,
51686  &_swigt__p_RayTestResult,
51687  &_swigt__p_SDL_Event,
51688  &_swigt__p_ShapeMap,
51689  &_swigt__p_ShapeMapIterator,
51690  &_swigt__p_ShapeVector,
51691  &_swigt__p_ShapeVectorIterator,
51692  &_swigt__p_StandardAxis,
51693  &_swigt__p_Transform,
51694  &_swigt__p_WorldTriggerContainer,
51695  &_swigt__p_WorldTriggerIterator,
51696  &_swigt__p_XML__Node,
51697  &_swigt__p_bool,
51698  &_swigt__p_btBoxShape,
51699  &_swigt__p_btBvhTriangleMeshShape,
51700  &_swigt__p_btCapsuleShape,
51701  &_swigt__p_btCollisionObject,
51702  &_swigt__p_btCollisionShape,
51703  &_swigt__p_btCompoundShape,
51704  &_swigt__p_btConcaveShape,
51705  &_swigt__p_btConeShape,
51706  &_swigt__p_btConvexHullShape,
51707  &_swigt__p_btConvexInternalShape,
51708  &_swigt__p_btCylinderShape,
51709  &_swigt__p_btGImpactMeshShape,
51710  &_swigt__p_btHeightfieldTerrainShape,
51711  &_swigt__p_btMultiSphereShape,
51712  &_swigt__p_btPairCachingGhostObject,
51713  &_swigt__p_btQuaternion,
51714  &_swigt__p_btRigidBody,
51715  &_swigt__p_btSoftBody,
51716  &_swigt__p_btSoftBodyCollisionShape,
51717  &_swigt__p_btSphereShape,
51718  &_swigt__p_btStaticPlaneShape,
51719  &_swigt__p_btTransform,
51720  &_swigt__p_btTypedConstraint,
51721  &_swigt__p_btVector3,
51722  &_swigt__p_char,
51723  &_swigt__p_double,
51724  &_swigt__p_float,
51725  &_swigt__p_int,
51726  &_swigt__p_long_long,
51727  &_swigt__p_short,
51728  &_swigt__p_signed_char,
51729  &_swigt__p_std__exception,
51730  &_swigt__p_std__istream,
51731  &_swigt__p_std__listT_std__pairT_std__string_std__string_t_t,
51732  &_swigt__p_std__mapT_std__string_std__string_t,
51733  &_swigt__p_std__pairT_bool_Mezzanine__Vector3_t,
51734  &_swigt__p_std__pairT_std__string_std__string_t,
51735  &_swigt__p_std__setT_std__string_t,
51736  &_swigt__p_std__string,
51737  &_swigt__p_std__stringstream,
51738  &_swigt__p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t,
51739  &_swigt__p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,
51740  &_swigt__p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t,
51741  &_swigt__p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t,
51742  &_swigt__p_std__vectorT_Mezzanine__Vector3_t,
51743  &_swigt__p_std__vectorT_float_t,
51744  &_swigt__p_std__vectorT_int_t,
51745  &_swigt__p_std__vectorT_std__string_t,
51746  &_swigt__p_std__wstring,
51747  &_swigt__p_unsigned_char,
51748  &_swigt__p_unsigned_int,
51749  &_swigt__p_unsigned_long,
51750  &_swigt__p_unsigned_long_long,
51751  &_swigt__p_unsigned_short,
51752 };
51753 
51754 static swig_cast_info _swigc__p_AxisAlignedBox[] = { {&_swigt__p_AxisAlignedBox, 0, 0, 0},{0, 0, 0, 0}};
51755 static swig_cast_info _swigc__p_AxisList[] = { {&_swigt__p_AxisList, 0, 0, 0},{0, 0, 0, 0}};
51756 static swig_cast_info _swigc__p_ChannelType[] = { {&_swigt__p_ChannelType, 0, 0, 0},{0, 0, 0, 0}};
51757 static swig_cast_info _swigc__p_CollidablePair[] = { {&_swigt__p_CollidablePair, 0, 0, 0},{0, 0, 0, 0}};
51758 static swig_cast_info _swigc__p_CollisionContainer[] = { {&_swigt__p_CollisionContainer, 0, 0, 0},{0, 0, 0, 0}};
51759 static swig_cast_info _swigc__p_CollisionIterator[] = { {&_swigt__p_CollisionIterator, 0, 0, 0},{0, 0, 0, 0}};
51760 static swig_cast_info _swigc__p_CollisionShapeManager[] = { {&_swigt__p_CollisionShapeManager, 0, 0, 0},{0, 0, 0, 0}};
51761 static swig_cast_info _swigc__p_CollisionSortPair[] = { {&_swigt__p_CollisionSortPair, 0, 0, 0},{0, 0, 0, 0}};
51762 static swig_cast_info _swigc__p_ConstCollisionIterator[] = { {&_swigt__p_ConstCollisionIterator, 0, 0, 0},{0, 0, 0, 0}};
51763 static swig_cast_info _swigc__p_ConstConstraintIterator[] = { {&_swigt__p_ConstConstraintIterator, 0, 0, 0},{0, 0, 0, 0}};
51764 static swig_cast_info _swigc__p_ConstProxyIterator[] = { {&_swigt__p_ConstProxyIterator, 0, 0, 0},{0, 0, 0, 0}};
51765 static swig_cast_info _swigc__p_ConstShapeMapIterator[] = { {&_swigt__p_ConstShapeMapIterator, 0, 0, 0},{0, 0, 0, 0}};
51766 static swig_cast_info _swigc__p_ConstShapeVectorIterator[] = { {&_swigt__p_ConstShapeVectorIterator, 0, 0, 0},{0, 0, 0, 0}};
51767 static swig_cast_info _swigc__p_ConstWorldTriggerIterator[] = { {&_swigt__p_ConstWorldTriggerIterator, 0, 0, 0},{0, 0, 0, 0}};
51768 static swig_cast_info _swigc__p_ConstraintContainer[] = { {&_swigt__p_ConstraintContainer, 0, 0, 0},{0, 0, 0, 0}};
51769 static swig_cast_info _swigc__p_ConstraintIterator[] = { {&_swigt__p_ConstraintIterator, 0, 0, 0},{0, 0, 0, 0}};
51770 static swig_cast_info _swigc__p_ManagerBase[] = { {&_swigt__p_Mezzanine__Physics__CollisionShapeManager, _p_Mezzanine__Physics__CollisionShapeManagerTo_p_ManagerBase, 0, 0}, {&_swigt__p_ManagerBase, 0, 0, 0},{0, 0, 0, 0}};
51771 static swig_cast_info _swigc__p_ManagerBase__ManagerType[] = { {&_swigt__p_ManagerBase__ManagerType, 0, 0, 0},{0, 0, 0, 0}};
51772 static swig_cast_info _swigc__p_ManagerConstructionInfo[] = { {&_swigt__p_ManagerConstructionInfo, 0, 0, 0},{0, 0, 0, 0}};
51773 static swig_cast_info _swigc__p_Mezzanine__ArithmeticException[] = { {&_swigt__p_Mezzanine__ArithmeticException, 0, 0, 0},{0, 0, 0, 0}};
51774 static swig_cast_info _swigc__p_Mezzanine__AxisAlignedBox[] = { {&_swigt__p_Mezzanine__AxisAlignedBox, 0, 0, 0},{0, 0, 0, 0}};
51775 static swig_cast_info _swigc__p_Mezzanine__DirectoryException[] = { {&_swigt__p_Mezzanine__DirectoryException, 0, 0, 0}, {&_swigt__p_Mezzanine__DirectoryReadException, _p_Mezzanine__DirectoryReadExceptionTo_p_Mezzanine__DirectoryException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryWriteException, _p_Mezzanine__DirectoryWriteExceptionTo_p_Mezzanine__DirectoryException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryNotFoundException, _p_Mezzanine__DirectoryNotFoundExceptionTo_p_Mezzanine__DirectoryException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryPermissionException, _p_Mezzanine__DirectoryPermissionExceptionTo_p_Mezzanine__DirectoryException, 0, 0},{0, 0, 0, 0}};
51776 static swig_cast_info _swigc__p_Mezzanine__DirectoryNotFoundException[] = { {&_swigt__p_Mezzanine__DirectoryNotFoundException, 0, 0, 0},{0, 0, 0, 0}};
51777 static swig_cast_info _swigc__p_Mezzanine__DirectoryPermissionException[] = { {&_swigt__p_Mezzanine__DirectoryPermissionException, 0, 0, 0},{0, 0, 0, 0}};
51778 static swig_cast_info _swigc__p_Mezzanine__DirectoryReadException[] = { {&_swigt__p_Mezzanine__DirectoryReadException, 0, 0, 0},{0, 0, 0, 0}};
51779 static swig_cast_info _swigc__p_Mezzanine__DirectoryWriteException[] = { {&_swigt__p_Mezzanine__DirectoryWriteException, 0, 0, 0},{0, 0, 0, 0}};
51780 static swig_cast_info _swigc__p_Mezzanine__Exception[] = { {&_swigt__p_Mezzanine__InvalidAssignment, _p_Mezzanine__InvalidAssignmentTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorException, _p_Mezzanine__SyntaxErrorExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorXMLException, _p_Mezzanine__SyntaxErrorXMLExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorXPathException, _p_Mezzanine__SyntaxErrorXPathExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorLuaException, _p_Mezzanine__SyntaxErrorLuaExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptException, _p_Mezzanine__ScriptExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaErrErrException, _p_Mezzanine__ScriptLuaErrErrExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaException, _p_Mezzanine__ScriptLuaExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaYieldException, _p_Mezzanine__ScriptLuaYieldExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaRuntimeException, _p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityDuplicateException, _p_Mezzanine__InstanceIdentityDuplicateExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityNotFoundException, _p_Mezzanine__InstanceIdentityNotFoundExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityInvalidException, _p_Mezzanine__InstanceIdentityInvalidExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityException, _p_Mezzanine__InstanceIdentityExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__IOReadException, _p_Mezzanine__IOReadExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__IOWriteException, _p_Mezzanine__IOWriteExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__IOException, _p_Mezzanine__IOExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__FileException, _p_Mezzanine__FileExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__FileReadException, _p_Mezzanine__FileReadExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__FileWriteException, _p_Mezzanine__FileWriteExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__FileNotFoundException, _p_Mezzanine__FileNotFoundExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__Exception, 0, 0, 0}, {&_swigt__p_Mezzanine__NetworkException, _p_Mezzanine__NetworkExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkReadException, _p_Mezzanine__NetworkReadExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkWriteException, _p_Mezzanine__NetworkWriteExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkNotFoundException, _p_Mezzanine__NetworkNotFoundExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkURLException, _p_Mezzanine__NetworkURLExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkPermissionException, _p_Mezzanine__NetworkPermissionExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryPermissionException, _p_Mezzanine__DirectoryPermissionExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryNotFoundException, _p_Mezzanine__DirectoryNotFoundExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryWriteException, _p_Mezzanine__DirectoryWriteExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryReadException, _p_Mezzanine__DirectoryReadExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryException, _p_Mezzanine__DirectoryExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__FilePermissionException, _p_Mezzanine__FilePermissionExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__MemoryOutOfBoundsException, _p_Mezzanine__MemoryOutOfBoundsExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__OutOfMemoryException, _p_Mezzanine__OutOfMemoryExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__MemoryManagementException, _p_Mezzanine__MemoryManagementExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ParametersException, _p_Mezzanine__ParametersExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ParametersCastException, _p_Mezzanine__ParametersCastExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ParametersRangeException, _p_Mezzanine__ParametersRangeExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__ArithmeticException, _p_Mezzanine__ArithmeticExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InvalidVersionException, _p_Mezzanine__InvalidVersionExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InvalidStateException, _p_Mezzanine__InvalidStateExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__RenderingAPIException, _p_Mezzanine__RenderingAPIExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__RuntimeAssertionException, _p_Mezzanine__RuntimeAssertionExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__InternalException, _p_Mezzanine__InternalExceptionTo_p_Mezzanine__Exception, 0, 0}, {&_swigt__p_Mezzanine__NotImplementedException, _p_Mezzanine__NotImplementedExceptionTo_p_Mezzanine__Exception, 0, 0},{0, 0, 0, 0}};
51781 static swig_cast_info _swigc__p_Mezzanine__FileException[] = { {&_swigt__p_Mezzanine__FileException, 0, 0, 0}, {&_swigt__p_Mezzanine__FileReadException, _p_Mezzanine__FileReadExceptionTo_p_Mezzanine__FileException, 0, 0}, {&_swigt__p_Mezzanine__FileWriteException, _p_Mezzanine__FileWriteExceptionTo_p_Mezzanine__FileException, 0, 0}, {&_swigt__p_Mezzanine__FileNotFoundException, _p_Mezzanine__FileNotFoundExceptionTo_p_Mezzanine__FileException, 0, 0}, {&_swigt__p_Mezzanine__FilePermissionException, _p_Mezzanine__FilePermissionExceptionTo_p_Mezzanine__FileException, 0, 0},{0, 0, 0, 0}};
51782 static swig_cast_info _swigc__p_Mezzanine__FileNotFoundException[] = { {&_swigt__p_Mezzanine__FileNotFoundException, 0, 0, 0},{0, 0, 0, 0}};
51783 static swig_cast_info _swigc__p_Mezzanine__FilePermissionException[] = { {&_swigt__p_Mezzanine__FilePermissionException, 0, 0, 0},{0, 0, 0, 0}};
51784 static swig_cast_info _swigc__p_Mezzanine__FileReadException[] = { {&_swigt__p_Mezzanine__FileReadException, 0, 0, 0},{0, 0, 0, 0}};
51785 static swig_cast_info _swigc__p_Mezzanine__FileWriteException[] = { {&_swigt__p_Mezzanine__FileWriteException, 0, 0, 0},{0, 0, 0, 0}};
51786 static swig_cast_info _swigc__p_Mezzanine__Graphics__Mesh[] = { {&_swigt__p_Mezzanine__Graphics__Mesh, 0, 0, 0},{0, 0, 0, 0}};
51787 static swig_cast_info _swigc__p_Mezzanine__IOException[] = { {&_swigt__p_Mezzanine__NetworkNotFoundException, _p_Mezzanine__NetworkNotFoundExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__NetworkWriteException, _p_Mezzanine__NetworkWriteExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__NetworkReadException, _p_Mezzanine__NetworkReadExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__NetworkException, _p_Mezzanine__NetworkExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryPermissionException, _p_Mezzanine__DirectoryPermissionExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryNotFoundException, _p_Mezzanine__DirectoryNotFoundExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryWriteException, _p_Mezzanine__DirectoryWriteExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryReadException, _p_Mezzanine__DirectoryReadExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__DirectoryException, _p_Mezzanine__DirectoryExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__FilePermissionException, _p_Mezzanine__FilePermissionExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__FileNotFoundException, _p_Mezzanine__FileNotFoundExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__FileWriteException, _p_Mezzanine__FileWriteExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__FileReadException, _p_Mezzanine__FileReadExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__IOException, 0, 0, 0}, {&_swigt__p_Mezzanine__NetworkURLException, _p_Mezzanine__NetworkURLExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__NetworkPermissionException, _p_Mezzanine__NetworkPermissionExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__FileException, _p_Mezzanine__FileExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__IOWriteException, _p_Mezzanine__IOWriteExceptionTo_p_Mezzanine__IOException, 0, 0}, {&_swigt__p_Mezzanine__IOReadException, _p_Mezzanine__IOReadExceptionTo_p_Mezzanine__IOException, 0, 0},{0, 0, 0, 0}};
51788 static swig_cast_info _swigc__p_Mezzanine__IOReadException[] = { {&_swigt__p_Mezzanine__IOReadException, 0, 0, 0},{0, 0, 0, 0}};
51789 static swig_cast_info _swigc__p_Mezzanine__IOWriteException[] = { {&_swigt__p_Mezzanine__IOWriteException, 0, 0, 0},{0, 0, 0, 0}};
51790 static swig_cast_info _swigc__p_Mezzanine__InstanceIdentityDuplicateException[] = { {&_swigt__p_Mezzanine__InstanceIdentityDuplicateException, 0, 0, 0},{0, 0, 0, 0}};
51791 static swig_cast_info _swigc__p_Mezzanine__InstanceIdentityException[] = { {&_swigt__p_Mezzanine__InstanceIdentityException, 0, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityInvalidException, _p_Mezzanine__InstanceIdentityInvalidExceptionTo_p_Mezzanine__InstanceIdentityException, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityNotFoundException, _p_Mezzanine__InstanceIdentityNotFoundExceptionTo_p_Mezzanine__InstanceIdentityException, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityDuplicateException, _p_Mezzanine__InstanceIdentityDuplicateExceptionTo_p_Mezzanine__InstanceIdentityException, 0, 0},{0, 0, 0, 0}};
51792 static swig_cast_info _swigc__p_Mezzanine__InstanceIdentityInvalidException[] = { {&_swigt__p_Mezzanine__InstanceIdentityInvalidException, 0, 0, 0},{0, 0, 0, 0}};
51793 static swig_cast_info _swigc__p_Mezzanine__InstanceIdentityNotFoundException[] = { {&_swigt__p_Mezzanine__InstanceIdentityNotFoundException, 0, 0, 0},{0, 0, 0, 0}};
51794 static swig_cast_info _swigc__p_Mezzanine__InternalException[] = { {&_swigt__p_Mezzanine__InternalException, 0, 0, 0},{0, 0, 0, 0}};
51795 static swig_cast_info _swigc__p_Mezzanine__InvalidAssignment[] = { {&_swigt__p_Mezzanine__InvalidAssignment, 0, 0, 0},{0, 0, 0, 0}};
51796 static swig_cast_info _swigc__p_Mezzanine__InvalidStateException[] = { {&_swigt__p_Mezzanine__InvalidStateException, 0, 0, 0},{0, 0, 0, 0}};
51797 static swig_cast_info _swigc__p_Mezzanine__InvalidVersionException[] = { {&_swigt__p_Mezzanine__InvalidVersionException, 0, 0, 0},{0, 0, 0, 0}};
51798 static swig_cast_info _swigc__p_Mezzanine__Matrix3x3[] = { {&_swigt__p_Mezzanine__Matrix3x3, 0, 0, 0},{0, 0, 0, 0}};
51799 static swig_cast_info _swigc__p_Mezzanine__MemoryManagementException[] = { {&_swigt__p_Mezzanine__MemoryManagementException, 0, 0, 0}, {&_swigt__p_Mezzanine__OutOfMemoryException, _p_Mezzanine__OutOfMemoryExceptionTo_p_Mezzanine__MemoryManagementException, 0, 0}, {&_swigt__p_Mezzanine__MemoryOutOfBoundsException, _p_Mezzanine__MemoryOutOfBoundsExceptionTo_p_Mezzanine__MemoryManagementException, 0, 0},{0, 0, 0, 0}};
51800 static swig_cast_info _swigc__p_Mezzanine__MemoryOutOfBoundsException[] = { {&_swigt__p_Mezzanine__MemoryOutOfBoundsException, 0, 0, 0},{0, 0, 0, 0}};
51801 static swig_cast_info _swigc__p_Mezzanine__NetworkException[] = { {&_swigt__p_Mezzanine__NetworkException, 0, 0, 0}, {&_swigt__p_Mezzanine__NetworkReadException, _p_Mezzanine__NetworkReadExceptionTo_p_Mezzanine__NetworkException, 0, 0}, {&_swigt__p_Mezzanine__NetworkWriteException, _p_Mezzanine__NetworkWriteExceptionTo_p_Mezzanine__NetworkException, 0, 0}, {&_swigt__p_Mezzanine__NetworkNotFoundException, _p_Mezzanine__NetworkNotFoundExceptionTo_p_Mezzanine__NetworkException, 0, 0}, {&_swigt__p_Mezzanine__NetworkURLException, _p_Mezzanine__NetworkURLExceptionTo_p_Mezzanine__NetworkException, 0, 0}, {&_swigt__p_Mezzanine__NetworkPermissionException, _p_Mezzanine__NetworkPermissionExceptionTo_p_Mezzanine__NetworkException, 0, 0},{0, 0, 0, 0}};
51802 static swig_cast_info _swigc__p_Mezzanine__NetworkNotFoundException[] = { {&_swigt__p_Mezzanine__NetworkNotFoundException, 0, 0, 0},{0, 0, 0, 0}};
51803 static swig_cast_info _swigc__p_Mezzanine__NetworkPermissionException[] = { {&_swigt__p_Mezzanine__NetworkPermissionException, 0, 0, 0},{0, 0, 0, 0}};
51804 static swig_cast_info _swigc__p_Mezzanine__NetworkReadException[] = { {&_swigt__p_Mezzanine__NetworkReadException, 0, 0, 0},{0, 0, 0, 0}};
51805 static swig_cast_info _swigc__p_Mezzanine__NetworkURLException[] = { {&_swigt__p_Mezzanine__NetworkURLException, 0, 0, 0},{0, 0, 0, 0}};
51806 static swig_cast_info _swigc__p_Mezzanine__NetworkWriteException[] = { {&_swigt__p_Mezzanine__NetworkWriteException, 0, 0, 0},{0, 0, 0, 0}};
51807 static swig_cast_info _swigc__p_Mezzanine__NotImplementedException[] = { {&_swigt__p_Mezzanine__NotImplementedException, 0, 0, 0},{0, 0, 0, 0}};
51808 static swig_cast_info _swigc__p_Mezzanine__OutOfMemoryException[] = { {&_swigt__p_Mezzanine__OutOfMemoryException, 0, 0, 0},{0, 0, 0, 0}};
51809 static swig_cast_info _swigc__p_Mezzanine__ParametersCastException[] = { {&_swigt__p_Mezzanine__ParametersCastException, 0, 0, 0},{0, 0, 0, 0}};
51810 static swig_cast_info _swigc__p_Mezzanine__ParametersException[] = { {&_swigt__p_Mezzanine__ParametersException, 0, 0, 0}, {&_swigt__p_Mezzanine__ParametersCastException, _p_Mezzanine__ParametersCastExceptionTo_p_Mezzanine__ParametersException, 0, 0}, {&_swigt__p_Mezzanine__ParametersRangeException, _p_Mezzanine__ParametersRangeExceptionTo_p_Mezzanine__ParametersException, 0, 0},{0, 0, 0, 0}};
51811 static swig_cast_info _swigc__p_Mezzanine__ParametersRangeException[] = { {&_swigt__p_Mezzanine__ParametersRangeException, 0, 0, 0},{0, 0, 0, 0}};
51812 static swig_cast_info _swigc__p_Mezzanine__Physics__BoxCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__BoxCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51813 static swig_cast_info _swigc__p_Mezzanine__Physics__CapsuleCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__CapsuleCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51814 static swig_cast_info _swigc__p_Mezzanine__Physics__CollidablePair[] = { {&_swigt__p_Mezzanine__Physics__CollidablePair, 0, 0, 0},{0, 0, 0, 0}};
51815 static swig_cast_info _swigc__p_Mezzanine__Physics__CollidableProxy[] = { {&_swigt__p_Mezzanine__Physics__CollidableProxy, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__GhostProxy, _p_Mezzanine__Physics__GhostProxyTo_p_Mezzanine__Physics__CollidableProxy, 0, 0}, {&_swigt__p_Mezzanine__Physics__SoftProxy, _p_Mezzanine__Physics__SoftProxyTo_p_Mezzanine__Physics__CollidableProxy, 0, 0}, {&_swigt__p_Mezzanine__Physics__RigidProxy, _p_Mezzanine__Physics__RigidProxyTo_p_Mezzanine__Physics__CollidableProxy, 0, 0},{0, 0, 0, 0}};
51816 static swig_cast_info _swigc__p_Mezzanine__Physics__Collision[] = { {&_swigt__p_Mezzanine__Physics__Collision, 0, 0, 0},{0, 0, 0, 0}};
51817 static swig_cast_info _swigc__p_Mezzanine__Physics__CollisionShape[] = { {&_swigt__p_Mezzanine__Physics__PlaneCollisionShape, _p_Mezzanine__Physics__PlaneCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__HeightfieldCollisionShape, _p_Mezzanine__Physics__HeightfieldCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__FieldCollisionShape, _p_Mezzanine__Physics__FieldCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__StaticMeshCollisionShape, _p_Mezzanine__Physics__StaticMeshCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__SoftCollisionShape, _p_Mezzanine__Physics__SoftCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__DynamicMeshCollisionShape, _p_Mezzanine__Physics__DynamicMeshCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__MeshCollisionShape, _p_Mezzanine__Physics__MeshCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__CylinderCollisionShape, _p_Mezzanine__Physics__CylinderCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__ConvexHullCollisionShape, _p_Mezzanine__Physics__ConvexHullCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__ConeCollisionShape, _p_Mezzanine__Physics__ConeCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__CompoundCollisionShape, _p_Mezzanine__Physics__CompoundCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__CapsuleCollisionShape, _p_Mezzanine__Physics__CapsuleCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__BoxCollisionShape, _p_Mezzanine__Physics__BoxCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__CollisionShape, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__MultiSphereCollisionShape, _p_Mezzanine__Physics__MultiSphereCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__PrimitiveCollisionShape, _p_Mezzanine__Physics__PrimitiveCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__SphereCollisionShape, _p_Mezzanine__Physics__SphereCollisionShapeTo_p_Mezzanine__Physics__CollisionShape, 0, 0},{0, 0, 0, 0}};
51818 static swig_cast_info _swigc__p_Mezzanine__Physics__CollisionShapeDeSerializer[] = { {&_swigt__p_Mezzanine__Physics__CollisionShapeDeSerializer, 0, 0, 0},{0, 0, 0, 0}};
51819 static swig_cast_info _swigc__p_Mezzanine__Physics__CollisionShapeManager[] = { {&_swigt__p_Mezzanine__Physics__CollisionShapeManager, 0, 0, 0},{0, 0, 0, 0}};
51820 static swig_cast_info _swigc__p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator[] = { {&_swigt__p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator, 0, 0, 0},{0, 0, 0, 0}};
51821 static swig_cast_info _swigc__p_Mezzanine__Physics__CompoundCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__CompoundCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51822 static swig_cast_info _swigc__p_Mezzanine__Physics__ConeCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__ConeCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51823 static swig_cast_info _swigc__p_Mezzanine__Physics__Constraint[] = { {&_swigt__p_Mezzanine__Physics__Constraint, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__DualTransformConstraint, _p_Mezzanine__Physics__DualTransformConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__Generic6DofConstraint, _p_Mezzanine__Physics__Generic6DofConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__Generic6DofSpringConstraint, _p_Mezzanine__Physics__Generic6DofSpringConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__UniversalConstraint, _p_Mezzanine__Physics__UniversalConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__HingeConstraint, _p_Mezzanine__Physics__HingeConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__SliderConstraint, _p_Mezzanine__Physics__SliderConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__GearConstraint, _p_Mezzanine__Physics__GearConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__Point2PointConstraint, _p_Mezzanine__Physics__Point2PointConstraintTo_p_Mezzanine__Physics__Constraint, 0, 0},{0, 0, 0, 0}};
51824 static swig_cast_info _swigc__p_Mezzanine__Physics__ConvexHullCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__ConvexHullCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51825 static swig_cast_info _swigc__p_Mezzanine__Physics__CylinderCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__CylinderCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51826 static swig_cast_info _swigc__p_Mezzanine__Physics__DebugDrawWorkUnit[] = { {&_swigt__p_Mezzanine__Physics__DebugDrawWorkUnit, 0, 0, 0},{0, 0, 0, 0}};
51827 static swig_cast_info _swigc__p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory[] = { {&_swigt__p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory, 0, 0, 0},{0, 0, 0, 0}};
51828 static swig_cast_info _swigc__p_Mezzanine__Physics__DefaultPhysicsManagerFactory[] = { {&_swigt__p_Mezzanine__Physics__DefaultPhysicsManagerFactory, 0, 0, 0},{0, 0, 0, 0}};
51829 static swig_cast_info _swigc__p_Mezzanine__Physics__DualTransformConstraint[] = { {&_swigt__p_Mezzanine__Physics__DualTransformConstraint, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__Generic6DofConstraint, _p_Mezzanine__Physics__Generic6DofConstraintTo_p_Mezzanine__Physics__DualTransformConstraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__Generic6DofSpringConstraint, _p_Mezzanine__Physics__Generic6DofSpringConstraintTo_p_Mezzanine__Physics__DualTransformConstraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__UniversalConstraint, _p_Mezzanine__Physics__UniversalConstraintTo_p_Mezzanine__Physics__DualTransformConstraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__HingeConstraint, _p_Mezzanine__Physics__HingeConstraintTo_p_Mezzanine__Physics__DualTransformConstraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__SliderConstraint, _p_Mezzanine__Physics__SliderConstraintTo_p_Mezzanine__Physics__DualTransformConstraint, 0, 0},{0, 0, 0, 0}};
51830 static swig_cast_info _swigc__p_Mezzanine__Physics__DynamicMeshCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__DynamicMeshCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51831 static swig_cast_info _swigc__p_Mezzanine__Physics__FieldCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__FieldCollisionShape, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__HeightfieldCollisionShape, _p_Mezzanine__Physics__HeightfieldCollisionShapeTo_p_Mezzanine__Physics__FieldCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__PlaneCollisionShape, _p_Mezzanine__Physics__PlaneCollisionShapeTo_p_Mezzanine__Physics__FieldCollisionShape, 0, 0},{0, 0, 0, 0}};
51832 static swig_cast_info _swigc__p_Mezzanine__Physics__GearConstraint[] = { {&_swigt__p_Mezzanine__Physics__GearConstraint, 0, 0, 0},{0, 0, 0, 0}};
51833 static swig_cast_info _swigc__p_Mezzanine__Physics__Generic6DofConstraint[] = { {&_swigt__p_Mezzanine__Physics__Generic6DofConstraint, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__Generic6DofSpringConstraint, _p_Mezzanine__Physics__Generic6DofSpringConstraintTo_p_Mezzanine__Physics__Generic6DofConstraint, 0, 0}, {&_swigt__p_Mezzanine__Physics__UniversalConstraint, _p_Mezzanine__Physics__UniversalConstraintTo_p_Mezzanine__Physics__Generic6DofConstraint, 0, 0},{0, 0, 0, 0}};
51834 static swig_cast_info _swigc__p_Mezzanine__Physics__Generic6DofSpringConstraint[] = { {&_swigt__p_Mezzanine__Physics__Generic6DofSpringConstraint, 0, 0, 0},{0, 0, 0, 0}};
51835 static swig_cast_info _swigc__p_Mezzanine__Physics__GhostProxy[] = { {&_swigt__p_Mezzanine__Physics__GhostProxy, 0, 0, 0},{0, 0, 0, 0}};
51836 static swig_cast_info _swigc__p_Mezzanine__Physics__HeightfieldCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__HeightfieldCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51837 static swig_cast_info _swigc__p_Mezzanine__Physics__HingeConstraint[] = { {&_swigt__p_Mezzanine__Physics__HingeConstraint, 0, 0, 0},{0, 0, 0, 0}};
51838 static swig_cast_info _swigc__p_Mezzanine__Physics__ManagerConstructionInfo[] = { {&_swigt__p_Mezzanine__Physics__ManagerConstructionInfo, 0, 0, 0},{0, 0, 0, 0}};
51839 static swig_cast_info _swigc__p_Mezzanine__Physics__MeshCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__MeshCollisionShape, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__DynamicMeshCollisionShape, _p_Mezzanine__Physics__DynamicMeshCollisionShapeTo_p_Mezzanine__Physics__MeshCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__SoftCollisionShape, _p_Mezzanine__Physics__SoftCollisionShapeTo_p_Mezzanine__Physics__MeshCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__StaticMeshCollisionShape, _p_Mezzanine__Physics__StaticMeshCollisionShapeTo_p_Mezzanine__Physics__MeshCollisionShape, 0, 0},{0, 0, 0, 0}};
51840 static swig_cast_info _swigc__p_Mezzanine__Physics__MultiSphereCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__MultiSphereCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51841 static swig_cast_info _swigc__p_Mezzanine__Physics__PhysicsManager[] = { {&_swigt__p_Mezzanine__Physics__PhysicsManager, 0, 0, 0},{0, 0, 0, 0}};
51842 static swig_cast_info _swigc__p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator[] = { {&_swigt__p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator, 0, 0, 0},{0, 0, 0, 0}};
51843 static swig_cast_info _swigc__p_Mezzanine__Physics__PlaneCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__PlaneCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51844 static swig_cast_info _swigc__p_Mezzanine__Physics__Point2PointConstraint[] = { {&_swigt__p_Mezzanine__Physics__Point2PointConstraint, 0, 0, 0},{0, 0, 0, 0}};
51845 static swig_cast_info _swigc__p_Mezzanine__Physics__PrimitiveCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__BoxCollisionShape, _p_Mezzanine__Physics__BoxCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__CapsuleCollisionShape, _p_Mezzanine__Physics__CapsuleCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__ConeCollisionShape, _p_Mezzanine__Physics__ConeCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__ConvexHullCollisionShape, _p_Mezzanine__Physics__ConvexHullCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__CylinderCollisionShape, _p_Mezzanine__Physics__CylinderCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__MultiSphereCollisionShape, _p_Mezzanine__Physics__MultiSphereCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0}, {&_swigt__p_Mezzanine__Physics__SphereCollisionShape, _p_Mezzanine__Physics__SphereCollisionShapeTo_p_Mezzanine__Physics__PrimitiveCollisionShape, 0, 0},{0, 0, 0, 0}};
51846 static swig_cast_info _swigc__p_Mezzanine__Physics__RigidProxy[] = { {&_swigt__p_Mezzanine__Physics__RigidProxy, 0, 0, 0},{0, 0, 0, 0}};
51847 static swig_cast_info _swigc__p_Mezzanine__Physics__SimulationMonopolyWorkUnit[] = { {&_swigt__p_Mezzanine__Physics__SimulationMonopolyWorkUnit, 0, 0, 0},{0, 0, 0, 0}};
51848 static swig_cast_info _swigc__p_Mezzanine__Physics__SimulationWorkUnit[] = { {&_swigt__p_Mezzanine__Physics__SimulationWorkUnit, 0, 0, 0},{0, 0, 0, 0}};
51849 static swig_cast_info _swigc__p_Mezzanine__Physics__SliderConstraint[] = { {&_swigt__p_Mezzanine__Physics__SliderConstraint, 0, 0, 0},{0, 0, 0, 0}};
51850 static swig_cast_info _swigc__p_Mezzanine__Physics__SoftCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__SoftCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51851 static swig_cast_info _swigc__p_Mezzanine__Physics__SoftProxy[] = { {&_swigt__p_Mezzanine__Physics__SoftProxy, 0, 0, 0},{0, 0, 0, 0}};
51852 static swig_cast_info _swigc__p_Mezzanine__Physics__SphereCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__SphereCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51853 static swig_cast_info _swigc__p_Mezzanine__Physics__StaticMeshCollisionShape[] = { {&_swigt__p_Mezzanine__Physics__StaticMeshCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51854 static swig_cast_info _swigc__p_Mezzanine__Physics__StickyConstraintConstructionInfo[] = { {&_swigt__p_Mezzanine__Physics__StickyConstraintConstructionInfo, 0, 0, 0},{0, 0, 0, 0}};
51855 static swig_cast_info _swigc__p_Mezzanine__Physics__StickyData[] = { {&_swigt__p_Mezzanine__Physics__StickyData, 0, 0, 0},{0, 0, 0, 0}};
51856 static swig_cast_info _swigc__p_Mezzanine__Physics__UniversalConstraint[] = { {&_swigt__p_Mezzanine__Physics__UniversalConstraint, 0, 0, 0},{0, 0, 0, 0}};
51857 static swig_cast_info _swigc__p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit[] = { {&_swigt__p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit, 0, 0, 0},{0, 0, 0, 0}};
51858 static swig_cast_info _swigc__p_Mezzanine__Plane[] = { {&_swigt__p_Mezzanine__Plane, 0, 0, 0},{0, 0, 0, 0}};
51859 static swig_cast_info _swigc__p_Mezzanine__Quaternion[] = { {&_swigt__p_Mezzanine__Quaternion, 0, 0, 0},{0, 0, 0, 0}};
51860 static swig_cast_info _swigc__p_Mezzanine__Ray[] = { {&_swigt__p_Mezzanine__Ray, 0, 0, 0},{0, 0, 0, 0}};
51861 static swig_cast_info _swigc__p_Mezzanine__RenderingAPIException[] = { {&_swigt__p_Mezzanine__RenderingAPIException, 0, 0, 0},{0, 0, 0, 0}};
51862 static swig_cast_info _swigc__p_Mezzanine__RuntimeAssertionException[] = { {&_swigt__p_Mezzanine__RuntimeAssertionException, 0, 0, 0},{0, 0, 0, 0}};
51863 static swig_cast_info _swigc__p_Mezzanine__ScriptException[] = { {&_swigt__p_Mezzanine__ScriptException, 0, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaException, _p_Mezzanine__ScriptLuaExceptionTo_p_Mezzanine__ScriptException, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaYieldException, _p_Mezzanine__ScriptLuaYieldExceptionTo_p_Mezzanine__ScriptException, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaRuntimeException, _p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_Mezzanine__ScriptException, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaErrErrException, _p_Mezzanine__ScriptLuaErrErrExceptionTo_p_Mezzanine__ScriptException, 0, 0},{0, 0, 0, 0}};
51864 static swig_cast_info _swigc__p_Mezzanine__ScriptLuaErrErrException[] = { {&_swigt__p_Mezzanine__ScriptLuaErrErrException, 0, 0, 0},{0, 0, 0, 0}};
51865 static swig_cast_info _swigc__p_Mezzanine__ScriptLuaException[] = { {&_swigt__p_Mezzanine__ScriptLuaException, 0, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaYieldException, _p_Mezzanine__ScriptLuaYieldExceptionTo_p_Mezzanine__ScriptLuaException, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaRuntimeException, _p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_Mezzanine__ScriptLuaException, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaErrErrException, _p_Mezzanine__ScriptLuaErrErrExceptionTo_p_Mezzanine__ScriptLuaException, 0, 0},{0, 0, 0, 0}};
51866 static swig_cast_info _swigc__p_Mezzanine__ScriptLuaRuntimeException[] = { {&_swigt__p_Mezzanine__ScriptLuaRuntimeException, 0, 0, 0},{0, 0, 0, 0}};
51867 static swig_cast_info _swigc__p_Mezzanine__ScriptLuaYieldException[] = { {&_swigt__p_Mezzanine__ScriptLuaYieldException, 0, 0, 0},{0, 0, 0, 0}};
51868 static swig_cast_info _swigc__p_Mezzanine__SingletonT_CollisionShapeManager_t[] = { {&_swigt__p_Mezzanine__SingletonT_CollisionShapeManager_t, 0, 0, 0},{0, 0, 0, 0}};
51869 static swig_cast_info _swigc__p_Mezzanine__Sphere[] = { {&_swigt__p_Mezzanine__Sphere, 0, 0, 0},{0, 0, 0, 0}};
51870 static swig_cast_info _swigc__p_Mezzanine__SyntaxErrorException[] = { {&_swigt__p_Mezzanine__SyntaxErrorException, 0, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorXMLException, _p_Mezzanine__SyntaxErrorXMLExceptionTo_p_Mezzanine__SyntaxErrorException, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorXPathException, _p_Mezzanine__SyntaxErrorXPathExceptionTo_p_Mezzanine__SyntaxErrorException, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorLuaException, _p_Mezzanine__SyntaxErrorLuaExceptionTo_p_Mezzanine__SyntaxErrorException, 0, 0},{0, 0, 0, 0}};
51871 static swig_cast_info _swigc__p_Mezzanine__SyntaxErrorLuaException[] = { {&_swigt__p_Mezzanine__SyntaxErrorLuaException, 0, 0, 0},{0, 0, 0, 0}};
51872 static swig_cast_info _swigc__p_Mezzanine__SyntaxErrorXMLException[] = { {&_swigt__p_Mezzanine__SyntaxErrorXMLException, 0, 0, 0},{0, 0, 0, 0}};
51873 static swig_cast_info _swigc__p_Mezzanine__SyntaxErrorXPathException[] = { {&_swigt__p_Mezzanine__SyntaxErrorXPathException, 0, 0, 0},{0, 0, 0, 0}};
51874 static swig_cast_info _swigc__p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type[] = { {&_swigt__p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type, 0, 0, 0},{0, 0, 0, 0}};
51875 static swig_cast_info _swigc__p_Mezzanine__Threading__DefaultWorkUnit[] = { {&_swigt__p_Mezzanine__Threading__DefaultWorkUnit, 0, 0, 0},{0, 0, 0, 0}};
51876 static swig_cast_info _swigc__p_Mezzanine__Threading__RawFile[] = { {&_swigt__p_Mezzanine__Threading__RawFile, 0, 0, 0},{0, 0, 0, 0}};
51877 static swig_cast_info _swigc__p_Mezzanine__Transform[] = { {&_swigt__p_Mezzanine__Transform, 0, 0, 0},{0, 0, 0, 0}};
51878 static swig_cast_info _swigc__p_Mezzanine__TransformableChildObject[] = { {&_swigt__p_Mezzanine__TransformableChildObject, 0, 0, 0},{0, 0, 0, 0}};
51879 static swig_cast_info _swigc__p_Mezzanine__TransformableObject[] = { {&_swigt__p_Mezzanine__Physics__CollidableProxy, _p_Mezzanine__Physics__CollidableProxyTo_p_Mezzanine__TransformableObject, 0, 0}, {&_swigt__p_Mezzanine__Physics__GhostProxy, _p_Mezzanine__Physics__GhostProxyTo_p_Mezzanine__TransformableObject, 0, 0}, {&_swigt__p_Mezzanine__Physics__SoftProxy, _p_Mezzanine__Physics__SoftProxyTo_p_Mezzanine__TransformableObject, 0, 0}, {&_swigt__p_Mezzanine__TransformableObject, 0, 0, 0}, {&_swigt__p_Mezzanine__Physics__RigidProxy, _p_Mezzanine__Physics__RigidProxyTo_p_Mezzanine__TransformableObject, 0, 0}, {&_swigt__p_Mezzanine__WorldProxy, _p_Mezzanine__WorldProxyTo_p_Mezzanine__TransformableObject, 0, 0},{0, 0, 0, 0}};
51880 static swig_cast_info _swigc__p_Mezzanine__Vector3[] = { {&_swigt__p_Mezzanine__Vector3, 0, 0, 0},{0, 0, 0, 0}};
51881 static swig_cast_info _swigc__p_Mezzanine__WorldManager[] = { {&_swigt__p_Mezzanine__WorldManager, 0, 0, 0},{0, 0, 0, 0}};
51882 static swig_cast_info _swigc__p_Mezzanine__WorldObject[] = { {&_swigt__p_Mezzanine__WorldObject, 0, 0, 0},{0, 0, 0, 0}};
51883 static swig_cast_info _swigc__p_Mezzanine__WorldProxy[] = { {&_swigt__p_Mezzanine__Physics__CollidableProxy, _p_Mezzanine__Physics__CollidableProxyTo_p_Mezzanine__WorldProxy, 0, 0}, {&_swigt__p_Mezzanine__Physics__GhostProxy, _p_Mezzanine__Physics__GhostProxyTo_p_Mezzanine__WorldProxy, 0, 0}, {&_swigt__p_Mezzanine__Physics__SoftProxy, _p_Mezzanine__Physics__SoftProxyTo_p_Mezzanine__WorldProxy, 0, 0}, {&_swigt__p_Mezzanine__Physics__RigidProxy, _p_Mezzanine__Physics__RigidProxyTo_p_Mezzanine__WorldProxy, 0, 0}, {&_swigt__p_Mezzanine__WorldProxy, 0, 0, 0},{0, 0, 0, 0}};
51884 static swig_cast_info _swigc__p_Mezzanine__WorldTrigger[] = { {&_swigt__p_Mezzanine__WorldTrigger, 0, 0, 0},{0, 0, 0, 0}};
51885 static swig_cast_info _swigc__p_Ogre__Plane[] = { {&_swigt__p_Ogre__Plane, 0, 0, 0},{0, 0, 0, 0}};
51886 static swig_cast_info _swigc__p_Ogre__Quaternion[] = { {&_swigt__p_Ogre__Quaternion, 0, 0, 0},{0, 0, 0, 0}};
51887 static swig_cast_info _swigc__p_Ogre__Vector3[] = { {&_swigt__p_Ogre__Vector3, 0, 0, 0},{0, 0, 0, 0}};
51888 static swig_cast_info _swigc__p_ParamList[] = { {&_swigt__p_ParamList, 0, 0, 0},{0, 0, 0, 0}};
51889 static swig_cast_info _swigc__p_ProxyContainer[] = { {&_swigt__p_ProxyContainer, 0, 0, 0},{0, 0, 0, 0}};
51890 static swig_cast_info _swigc__p_ProxyIterator[] = { {&_swigt__p_ProxyIterator, 0, 0, 0},{0, 0, 0, 0}};
51891 static swig_cast_info _swigc__p_RayTestResult[] = { {&_swigt__p_RayTestResult, 0, 0, 0},{0, 0, 0, 0}};
51892 static swig_cast_info _swigc__p_SDL_Event[] = { {&_swigt__p_SDL_Event, 0, 0, 0},{0, 0, 0, 0}};
51893 static swig_cast_info _swigc__p_ShapeMap[] = { {&_swigt__p_ShapeMap, 0, 0, 0},{0, 0, 0, 0}};
51894 static swig_cast_info _swigc__p_ShapeMapIterator[] = { {&_swigt__p_ShapeMapIterator, 0, 0, 0},{0, 0, 0, 0}};
51895 static swig_cast_info _swigc__p_ShapeVector[] = { {&_swigt__p_ShapeVector, 0, 0, 0},{0, 0, 0, 0}};
51896 static swig_cast_info _swigc__p_ShapeVectorIterator[] = { {&_swigt__p_ShapeVectorIterator, 0, 0, 0},{0, 0, 0, 0}};
51897 static swig_cast_info _swigc__p_StandardAxis[] = { {&_swigt__p_StandardAxis, 0, 0, 0},{0, 0, 0, 0}};
51898 static swig_cast_info _swigc__p_Transform[] = { {&_swigt__p_Transform, 0, 0, 0},{0, 0, 0, 0}};
51899 static swig_cast_info _swigc__p_WorldTriggerContainer[] = { {&_swigt__p_WorldTriggerContainer, 0, 0, 0},{0, 0, 0, 0}};
51900 static swig_cast_info _swigc__p_WorldTriggerIterator[] = { {&_swigt__p_WorldTriggerIterator, 0, 0, 0},{0, 0, 0, 0}};
51901 static swig_cast_info _swigc__p_XML__Node[] = { {&_swigt__p_XML__Node, 0, 0, 0},{0, 0, 0, 0}};
51902 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
51903 static swig_cast_info _swigc__p_btBoxShape[] = { {&_swigt__p_btBoxShape, 0, 0, 0},{0, 0, 0, 0}};
51904 static swig_cast_info _swigc__p_btBvhTriangleMeshShape[] = { {&_swigt__p_btBvhTriangleMeshShape, 0, 0, 0},{0, 0, 0, 0}};
51905 static swig_cast_info _swigc__p_btCapsuleShape[] = { {&_swigt__p_btCapsuleShape, 0, 0, 0},{0, 0, 0, 0}};
51906 static swig_cast_info _swigc__p_btCollisionObject[] = { {&_swigt__p_btCollisionObject, 0, 0, 0},{0, 0, 0, 0}};
51907 static swig_cast_info _swigc__p_btCollisionShape[] = { {&_swigt__p_btCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51908 static swig_cast_info _swigc__p_btCompoundShape[] = { {&_swigt__p_btCompoundShape, 0, 0, 0},{0, 0, 0, 0}};
51909 static swig_cast_info _swigc__p_btConcaveShape[] = { {&_swigt__p_btConcaveShape, 0, 0, 0},{0, 0, 0, 0}};
51910 static swig_cast_info _swigc__p_btConeShape[] = { {&_swigt__p_btConeShape, 0, 0, 0},{0, 0, 0, 0}};
51911 static swig_cast_info _swigc__p_btConvexHullShape[] = { {&_swigt__p_btConvexHullShape, 0, 0, 0},{0, 0, 0, 0}};
51912 static swig_cast_info _swigc__p_btConvexInternalShape[] = { {&_swigt__p_btConvexInternalShape, 0, 0, 0},{0, 0, 0, 0}};
51913 static swig_cast_info _swigc__p_btCylinderShape[] = { {&_swigt__p_btCylinderShape, 0, 0, 0},{0, 0, 0, 0}};
51914 static swig_cast_info _swigc__p_btGImpactMeshShape[] = { {&_swigt__p_btGImpactMeshShape, 0, 0, 0},{0, 0, 0, 0}};
51915 static swig_cast_info _swigc__p_btHeightfieldTerrainShape[] = { {&_swigt__p_btHeightfieldTerrainShape, 0, 0, 0},{0, 0, 0, 0}};
51916 static swig_cast_info _swigc__p_btMultiSphereShape[] = { {&_swigt__p_btMultiSphereShape, 0, 0, 0},{0, 0, 0, 0}};
51917 static swig_cast_info _swigc__p_btPairCachingGhostObject[] = { {&_swigt__p_btPairCachingGhostObject, 0, 0, 0},{0, 0, 0, 0}};
51918 static swig_cast_info _swigc__p_btQuaternion[] = { {&_swigt__p_btQuaternion, 0, 0, 0},{0, 0, 0, 0}};
51919 static swig_cast_info _swigc__p_btRigidBody[] = { {&_swigt__p_btRigidBody, 0, 0, 0},{0, 0, 0, 0}};
51920 static swig_cast_info _swigc__p_btSoftBody[] = { {&_swigt__p_btSoftBody, 0, 0, 0},{0, 0, 0, 0}};
51921 static swig_cast_info _swigc__p_btSoftBodyCollisionShape[] = { {&_swigt__p_btSoftBodyCollisionShape, 0, 0, 0},{0, 0, 0, 0}};
51922 static swig_cast_info _swigc__p_btSphereShape[] = { {&_swigt__p_btSphereShape, 0, 0, 0},{0, 0, 0, 0}};
51923 static swig_cast_info _swigc__p_btStaticPlaneShape[] = { {&_swigt__p_btStaticPlaneShape, 0, 0, 0},{0, 0, 0, 0}};
51924 static swig_cast_info _swigc__p_btTransform[] = { {&_swigt__p_btTransform, 0, 0, 0},{0, 0, 0, 0}};
51925 static swig_cast_info _swigc__p_btTypedConstraint[] = { {&_swigt__p_btTypedConstraint, 0, 0, 0},{0, 0, 0, 0}};
51926 static swig_cast_info _swigc__p_btVector3[] = { {&_swigt__p_btVector3, 0, 0, 0},{0, 0, 0, 0}};
51927 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
51928 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
51929 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
51930 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
51931 static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}};
51932 static swig_cast_info _swigc__p_short[] = { {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
51933 static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0, 0},{0, 0, 0, 0}};
51934 static swig_cast_info _swigc__p_std__exception[] = { {&_swigt__p_Mezzanine__InvalidAssignment, _p_Mezzanine__InvalidAssignmentTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorXMLException, _p_Mezzanine__SyntaxErrorXMLExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorXPathException, _p_Mezzanine__SyntaxErrorXPathExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorLuaException, _p_Mezzanine__SyntaxErrorLuaExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptException, _p_Mezzanine__ScriptExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaErrErrException, _p_Mezzanine__ScriptLuaErrErrExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaException, _p_Mezzanine__ScriptLuaExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaYieldException, _p_Mezzanine__ScriptLuaYieldExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ScriptLuaRuntimeException, _p_Mezzanine__ScriptLuaRuntimeExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityDuplicateException, _p_Mezzanine__InstanceIdentityDuplicateExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityNotFoundException, _p_Mezzanine__InstanceIdentityNotFoundExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityInvalidException, _p_Mezzanine__InstanceIdentityInvalidExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InstanceIdentityException, _p_Mezzanine__InstanceIdentityExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__Exception, _p_Mezzanine__ExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__IOReadException, _p_Mezzanine__IOReadExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__IOWriteException, _p_Mezzanine__IOWriteExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkPermissionException, _p_Mezzanine__NetworkPermissionExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkURLException, _p_Mezzanine__NetworkURLExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkNotFoundException, _p_Mezzanine__NetworkNotFoundExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkWriteException, _p_Mezzanine__NetworkWriteExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkReadException, _p_Mezzanine__NetworkReadExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_std__exception, 0, 0, 0}, {&_swigt__p_Mezzanine__DirectoryPermissionException, _p_Mezzanine__DirectoryPermissionExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryNotFoundException, _p_Mezzanine__DirectoryNotFoundExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryWriteException, _p_Mezzanine__DirectoryWriteExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryReadException, _p_Mezzanine__DirectoryReadExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__DirectoryException, _p_Mezzanine__DirectoryExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__FilePermissionException, _p_Mezzanine__FilePermissionExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__FileNotFoundException, _p_Mezzanine__FileNotFoundExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__FileWriteException, _p_Mezzanine__FileWriteExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__FileReadException, _p_Mezzanine__FileReadExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__FileException, _p_Mezzanine__FileExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__IOException, _p_Mezzanine__IOExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NetworkException, _p_Mezzanine__NetworkExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__SyntaxErrorException, _p_Mezzanine__SyntaxErrorExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__MemoryOutOfBoundsException, _p_Mezzanine__MemoryOutOfBoundsExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__OutOfMemoryException, _p_Mezzanine__OutOfMemoryExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__MemoryManagementException, _p_Mezzanine__MemoryManagementExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ParametersException, _p_Mezzanine__ParametersExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ParametersCastException, _p_Mezzanine__ParametersCastExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ParametersRangeException, _p_Mezzanine__ParametersRangeExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__ArithmeticException, _p_Mezzanine__ArithmeticExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InvalidVersionException, _p_Mezzanine__InvalidVersionExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InvalidStateException, _p_Mezzanine__InvalidStateExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__RenderingAPIException, _p_Mezzanine__RenderingAPIExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__RuntimeAssertionException, _p_Mezzanine__RuntimeAssertionExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__InternalException, _p_Mezzanine__InternalExceptionTo_p_std__exception, 0, 0}, {&_swigt__p_Mezzanine__NotImplementedException, _p_Mezzanine__NotImplementedExceptionTo_p_std__exception, 0, 0},{0, 0, 0, 0}};
51935 static swig_cast_info _swigc__p_std__istream[] = { {&_swigt__p_std__istream, 0, 0, 0},{0, 0, 0, 0}};
51936 static swig_cast_info _swigc__p_std__listT_std__pairT_std__string_std__string_t_t[] = { {&_swigt__p_std__listT_std__pairT_std__string_std__string_t_t, 0, 0, 0},{0, 0, 0, 0}};
51937 static swig_cast_info _swigc__p_std__mapT_std__string_std__string_t[] = { {&_swigt__p_std__mapT_std__string_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
51938 static swig_cast_info _swigc__p_std__pairT_bool_Mezzanine__Vector3_t[] = { {&_swigt__p_std__pairT_bool_Mezzanine__Vector3_t, 0, 0, 0},{0, 0, 0, 0}};
51939 static swig_cast_info _swigc__p_std__pairT_std__string_std__string_t[] = { {&_swigt__p_std__pairT_std__string_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
51940 static swig_cast_info _swigc__p_std__setT_std__string_t[] = { {&_swigt__p_std__setT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
51941 static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}};
51942 static swig_cast_info _swigc__p_std__stringstream[] = { {&_swigt__p_std__stringstream, 0, 0, 0},{0, 0, 0, 0}};
51943 static swig_cast_info _swigc__p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t[] = { {&_swigt__p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t, 0, 0, 0},{0, 0, 0, 0}};
51944 static swig_cast_info _swigc__p_std__vectorT_Mezzanine__Physics__ConstraintParam_t[] = { {&_swigt__p_std__vectorT_Mezzanine__Physics__ConstraintParam_t, 0, 0, 0},{0, 0, 0, 0}};
51945 static swig_cast_info _swigc__p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t[] = { {&_swigt__p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t, 0, 0, 0},{0, 0, 0, 0}};
51946 static swig_cast_info _swigc__p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t[] = { {&_swigt__p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t, 0, 0, 0},{0, 0, 0, 0}};
51947 static swig_cast_info _swigc__p_std__vectorT_Mezzanine__Vector3_t[] = { {&_swigt__p_std__vectorT_Mezzanine__Vector3_t, 0, 0, 0},{0, 0, 0, 0}};
51948 static swig_cast_info _swigc__p_std__vectorT_float_t[] = { {&_swigt__p_std__vectorT_float_t, 0, 0, 0},{0, 0, 0, 0}};
51949 static swig_cast_info _swigc__p_std__vectorT_int_t[] = { {&_swigt__p_std__vectorT_int_t, 0, 0, 0},{0, 0, 0, 0}};
51950 static swig_cast_info _swigc__p_std__vectorT_std__string_t[] = { {&_swigt__p_std__vectorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
51951 static swig_cast_info _swigc__p_std__wstring[] = { {&_swigt__p_std__wstring, 0, 0, 0},{0, 0, 0, 0}};
51952 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
51953 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
51954 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
51955 static swig_cast_info _swigc__p_unsigned_long_long[] = { {&_swigt__p_unsigned_long_long, 0, 0, 0},{0, 0, 0, 0}};
51956 static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};
51957 
51958 static swig_cast_info *swig_cast_initial[] = {
51959  _swigc__p_AxisAlignedBox,
51960  _swigc__p_AxisList,
51961  _swigc__p_ChannelType,
51962  _swigc__p_CollidablePair,
51963  _swigc__p_CollisionContainer,
51964  _swigc__p_CollisionIterator,
51965  _swigc__p_CollisionShapeManager,
51966  _swigc__p_CollisionSortPair,
51967  _swigc__p_ConstCollisionIterator,
51968  _swigc__p_ConstConstraintIterator,
51969  _swigc__p_ConstProxyIterator,
51970  _swigc__p_ConstShapeMapIterator,
51971  _swigc__p_ConstShapeVectorIterator,
51972  _swigc__p_ConstWorldTriggerIterator,
51973  _swigc__p_ConstraintContainer,
51974  _swigc__p_ConstraintIterator,
51975  _swigc__p_ManagerBase,
51976  _swigc__p_ManagerBase__ManagerType,
51977  _swigc__p_ManagerConstructionInfo,
51978  _swigc__p_Mezzanine__ArithmeticException,
51979  _swigc__p_Mezzanine__AxisAlignedBox,
51980  _swigc__p_Mezzanine__DirectoryException,
51981  _swigc__p_Mezzanine__DirectoryNotFoundException,
51982  _swigc__p_Mezzanine__DirectoryPermissionException,
51983  _swigc__p_Mezzanine__DirectoryReadException,
51984  _swigc__p_Mezzanine__DirectoryWriteException,
51985  _swigc__p_Mezzanine__Exception,
51986  _swigc__p_Mezzanine__FileException,
51987  _swigc__p_Mezzanine__FileNotFoundException,
51988  _swigc__p_Mezzanine__FilePermissionException,
51989  _swigc__p_Mezzanine__FileReadException,
51990  _swigc__p_Mezzanine__FileWriteException,
51991  _swigc__p_Mezzanine__Graphics__Mesh,
51992  _swigc__p_Mezzanine__IOException,
51993  _swigc__p_Mezzanine__IOReadException,
51994  _swigc__p_Mezzanine__IOWriteException,
51995  _swigc__p_Mezzanine__InstanceIdentityDuplicateException,
51996  _swigc__p_Mezzanine__InstanceIdentityException,
51997  _swigc__p_Mezzanine__InstanceIdentityInvalidException,
51998  _swigc__p_Mezzanine__InstanceIdentityNotFoundException,
51999  _swigc__p_Mezzanine__InternalException,
52000  _swigc__p_Mezzanine__InvalidAssignment,
52001  _swigc__p_Mezzanine__InvalidStateException,
52002  _swigc__p_Mezzanine__InvalidVersionException,
52003  _swigc__p_Mezzanine__Matrix3x3,
52004  _swigc__p_Mezzanine__MemoryManagementException,
52005  _swigc__p_Mezzanine__MemoryOutOfBoundsException,
52006  _swigc__p_Mezzanine__NetworkException,
52007  _swigc__p_Mezzanine__NetworkNotFoundException,
52008  _swigc__p_Mezzanine__NetworkPermissionException,
52009  _swigc__p_Mezzanine__NetworkReadException,
52010  _swigc__p_Mezzanine__NetworkURLException,
52011  _swigc__p_Mezzanine__NetworkWriteException,
52012  _swigc__p_Mezzanine__NotImplementedException,
52013  _swigc__p_Mezzanine__OutOfMemoryException,
52014  _swigc__p_Mezzanine__ParametersCastException,
52015  _swigc__p_Mezzanine__ParametersException,
52016  _swigc__p_Mezzanine__ParametersRangeException,
52017  _swigc__p_Mezzanine__Physics__BoxCollisionShape,
52018  _swigc__p_Mezzanine__Physics__CapsuleCollisionShape,
52019  _swigc__p_Mezzanine__Physics__CollidablePair,
52020  _swigc__p_Mezzanine__Physics__CollidableProxy,
52021  _swigc__p_Mezzanine__Physics__Collision,
52022  _swigc__p_Mezzanine__Physics__CollisionShape,
52023  _swigc__p_Mezzanine__Physics__CollisionShapeDeSerializer,
52024  _swigc__p_Mezzanine__Physics__CollisionShapeManager,
52025  _swigc__p_Mezzanine__Physics__CollisionShapeManager__ShapeMap__iterator,
52026  _swigc__p_Mezzanine__Physics__CompoundCollisionShape,
52027  _swigc__p_Mezzanine__Physics__ConeCollisionShape,
52028  _swigc__p_Mezzanine__Physics__Constraint,
52029  _swigc__p_Mezzanine__Physics__ConvexHullCollisionShape,
52030  _swigc__p_Mezzanine__Physics__CylinderCollisionShape,
52031  _swigc__p_Mezzanine__Physics__DebugDrawWorkUnit,
52032  _swigc__p_Mezzanine__Physics__DefaultCollisionShapeManagerFactory,
52033  _swigc__p_Mezzanine__Physics__DefaultPhysicsManagerFactory,
52034  _swigc__p_Mezzanine__Physics__DualTransformConstraint,
52035  _swigc__p_Mezzanine__Physics__DynamicMeshCollisionShape,
52036  _swigc__p_Mezzanine__Physics__FieldCollisionShape,
52037  _swigc__p_Mezzanine__Physics__GearConstraint,
52038  _swigc__p_Mezzanine__Physics__Generic6DofConstraint,
52039  _swigc__p_Mezzanine__Physics__Generic6DofSpringConstraint,
52040  _swigc__p_Mezzanine__Physics__GhostProxy,
52041  _swigc__p_Mezzanine__Physics__HeightfieldCollisionShape,
52042  _swigc__p_Mezzanine__Physics__HingeConstraint,
52043  _swigc__p_Mezzanine__Physics__ManagerConstructionInfo,
52044  _swigc__p_Mezzanine__Physics__MeshCollisionShape,
52045  _swigc__p_Mezzanine__Physics__MultiSphereCollisionShape,
52046  _swigc__p_Mezzanine__Physics__PhysicsManager,
52047  _swigc__p_Mezzanine__Physics__PhysicsManager__CollisionContainer__iterator,
52048  _swigc__p_Mezzanine__Physics__PlaneCollisionShape,
52049  _swigc__p_Mezzanine__Physics__Point2PointConstraint,
52050  _swigc__p_Mezzanine__Physics__PrimitiveCollisionShape,
52051  _swigc__p_Mezzanine__Physics__RigidProxy,
52052  _swigc__p_Mezzanine__Physics__SimulationMonopolyWorkUnit,
52053  _swigc__p_Mezzanine__Physics__SimulationWorkUnit,
52054  _swigc__p_Mezzanine__Physics__SliderConstraint,
52055  _swigc__p_Mezzanine__Physics__SoftCollisionShape,
52056  _swigc__p_Mezzanine__Physics__SoftProxy,
52057  _swigc__p_Mezzanine__Physics__SphereCollisionShape,
52058  _swigc__p_Mezzanine__Physics__StaticMeshCollisionShape,
52059  _swigc__p_Mezzanine__Physics__StickyConstraintConstructionInfo,
52060  _swigc__p_Mezzanine__Physics__StickyData,
52061  _swigc__p_Mezzanine__Physics__UniversalConstraint,
52062  _swigc__p_Mezzanine__Physics__WorldTriggerUpdateWorkUnit,
52063  _swigc__p_Mezzanine__Plane,
52064  _swigc__p_Mezzanine__Quaternion,
52065  _swigc__p_Mezzanine__Ray,
52066  _swigc__p_Mezzanine__RenderingAPIException,
52067  _swigc__p_Mezzanine__RuntimeAssertionException,
52068  _swigc__p_Mezzanine__ScriptException,
52069  _swigc__p_Mezzanine__ScriptLuaErrErrException,
52070  _swigc__p_Mezzanine__ScriptLuaException,
52071  _swigc__p_Mezzanine__ScriptLuaRuntimeException,
52072  _swigc__p_Mezzanine__ScriptLuaYieldException,
52073  _swigc__p_Mezzanine__SingletonT_CollisionShapeManager_t,
52074  _swigc__p_Mezzanine__Sphere,
52075  _swigc__p_Mezzanine__SyntaxErrorException,
52076  _swigc__p_Mezzanine__SyntaxErrorLuaException,
52077  _swigc__p_Mezzanine__SyntaxErrorXMLException,
52078  _swigc__p_Mezzanine__SyntaxErrorXPathException,
52079  _swigc__p_Mezzanine__Threading__DefaultThreadSpecificStorage__Type,
52080  _swigc__p_Mezzanine__Threading__DefaultWorkUnit,
52081  _swigc__p_Mezzanine__Threading__RawFile,
52082  _swigc__p_Mezzanine__Transform,
52083  _swigc__p_Mezzanine__TransformableChildObject,
52084  _swigc__p_Mezzanine__TransformableObject,
52085  _swigc__p_Mezzanine__Vector3,
52086  _swigc__p_Mezzanine__WorldManager,
52087  _swigc__p_Mezzanine__WorldObject,
52088  _swigc__p_Mezzanine__WorldProxy,
52089  _swigc__p_Mezzanine__WorldTrigger,
52090  _swigc__p_Ogre__Plane,
52091  _swigc__p_Ogre__Quaternion,
52092  _swigc__p_Ogre__Vector3,
52093  _swigc__p_ParamList,
52094  _swigc__p_ProxyContainer,
52095  _swigc__p_ProxyIterator,
52096  _swigc__p_RayTestResult,
52097  _swigc__p_SDL_Event,
52098  _swigc__p_ShapeMap,
52099  _swigc__p_ShapeMapIterator,
52100  _swigc__p_ShapeVector,
52101  _swigc__p_ShapeVectorIterator,
52102  _swigc__p_StandardAxis,
52103  _swigc__p_Transform,
52104  _swigc__p_WorldTriggerContainer,
52105  _swigc__p_WorldTriggerIterator,
52106  _swigc__p_XML__Node,
52107  _swigc__p_bool,
52108  _swigc__p_btBoxShape,
52109  _swigc__p_btBvhTriangleMeshShape,
52110  _swigc__p_btCapsuleShape,
52111  _swigc__p_btCollisionObject,
52112  _swigc__p_btCollisionShape,
52113  _swigc__p_btCompoundShape,
52114  _swigc__p_btConcaveShape,
52115  _swigc__p_btConeShape,
52116  _swigc__p_btConvexHullShape,
52117  _swigc__p_btConvexInternalShape,
52118  _swigc__p_btCylinderShape,
52119  _swigc__p_btGImpactMeshShape,
52120  _swigc__p_btHeightfieldTerrainShape,
52121  _swigc__p_btMultiSphereShape,
52122  _swigc__p_btPairCachingGhostObject,
52123  _swigc__p_btQuaternion,
52124  _swigc__p_btRigidBody,
52125  _swigc__p_btSoftBody,
52126  _swigc__p_btSoftBodyCollisionShape,
52127  _swigc__p_btSphereShape,
52128  _swigc__p_btStaticPlaneShape,
52129  _swigc__p_btTransform,
52130  _swigc__p_btTypedConstraint,
52131  _swigc__p_btVector3,
52132  _swigc__p_char,
52133  _swigc__p_double,
52134  _swigc__p_float,
52135  _swigc__p_int,
52136  _swigc__p_long_long,
52137  _swigc__p_short,
52138  _swigc__p_signed_char,
52139  _swigc__p_std__exception,
52140  _swigc__p_std__istream,
52141  _swigc__p_std__listT_std__pairT_std__string_std__string_t_t,
52142  _swigc__p_std__mapT_std__string_std__string_t,
52143  _swigc__p_std__pairT_bool_Mezzanine__Vector3_t,
52144  _swigc__p_std__pairT_std__string_std__string_t,
52145  _swigc__p_std__setT_std__string_t,
52146  _swigc__p_std__string,
52147  _swigc__p_std__stringstream,
52148  _swigc__p_std__vectorT_Mezzanine__Physics__CollisionShape_p_t,
52149  _swigc__p_std__vectorT_Mezzanine__Physics__ConstraintParam_t,
52150  _swigc__p_std__vectorT_Mezzanine__Physics__Generic6DofConstraint_p_t,
52151  _swigc__p_std__vectorT_Mezzanine__Physics__StickyConstraintConstructionInfo_t,
52152  _swigc__p_std__vectorT_Mezzanine__Vector3_t,
52153  _swigc__p_std__vectorT_float_t,
52154  _swigc__p_std__vectorT_int_t,
52155  _swigc__p_std__vectorT_std__string_t,
52156  _swigc__p_std__wstring,
52157  _swigc__p_unsigned_char,
52158  _swigc__p_unsigned_int,
52159  _swigc__p_unsigned_long,
52160  _swigc__p_unsigned_long_long,
52161  _swigc__p_unsigned_short,
52162 };
52163 
52164 
52165 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
52166 
52167 /* -----------------------------------------------------------------------------
52168  * Type initialization:
52169  * This problem is tough by the requirement that no dynamic
52170  * memory is used. Also, since swig_type_info structures store pointers to
52171  * swig_cast_info structures and swig_cast_info structures store pointers back
52172  * to swig_type_info structures, we need some lookup code at initialization.
52173  * The idea is that swig generates all the structures that are needed.
52174  * The runtime then collects these partially filled structures.
52175  * The SWIG_InitializeModule function takes these initial arrays out of
52176  * swig_module, and does all the lookup, filling in the swig_module.types
52177  * array with the correct data and linking the correct swig_cast_info
52178  * structures together.
52179  *
52180  * The generated swig_type_info structures are assigned staticly to an initial
52181  * array. We just loop through that array, and handle each type individually.
52182  * First we lookup if this type has been already loaded, and if so, use the
52183  * loaded structure instead of the generated one. Then we have to fill in the
52184  * cast linked list. The cast data is initially stored in something like a
52185  * two-dimensional array. Each row corresponds to a type (there are the same
52186  * number of rows as there are in the swig_type_initial array). Each entry in
52187  * a column is one of the swig_cast_info structures for that type.
52188  * The cast_initial array is actually an array of arrays, because each row has
52189  * a variable number of columns. So to actually build the cast linked list,
52190  * we find the array of casts associated with the type, and loop through it
52191  * adding the casts to the list. The one last trick we need to do is making
52192  * sure the type pointer in the swig_cast_info struct is correct.
52193  *
52194  * First off, we lookup the cast->type name to see if it is already loaded.
52195  * There are three cases to handle:
52196  * 1) If the cast->type has already been loaded AND the type we are adding
52197  * casting info to has not been loaded (it is in this module), THEN we
52198  * replace the cast->type pointer with the type pointer that has already
52199  * been loaded.
52200  * 2) If BOTH types (the one we are adding casting info to, and the
52201  * cast->type) are loaded, THEN the cast info has already been loaded by
52202  * the previous module so we just ignore it.
52203  * 3) Finally, if cast->type has not already been loaded, then we add that
52204  * swig_cast_info to the linked list (because the cast->type) pointer will
52205  * be correct.
52206  * ----------------------------------------------------------------------------- */
52207 
52208 #ifdef __cplusplus
52209 extern "C" {
52210 #if 0
52211 } /* c-mode */
52212 #endif
52213 #endif
52214 
52215 #if 0
52216 #define SWIGRUNTIME_DEBUG
52217 #endif
52218 
52219 
52220 SWIGRUNTIME void
52221 SWIG_InitializeModule(void *clientdata) {
52222  size_t i;
52223  swig_module_info *module_head, *iter;
52224  int found, init;
52225 
52226  /* check to see if the circular list has been setup, if not, set it up */
52227  if (swig_module.next==0) {
52228  /* Initialize the swig_module */
52229  swig_module.type_initial = swig_type_initial;
52230  swig_module.cast_initial = swig_cast_initial;
52231  swig_module.next = &swig_module;
52232  init = 1;
52233  } else {
52234  init = 0;
52235  }
52236 
52237  /* Try and load any already created modules */
52238  module_head = SWIG_GetModule(clientdata);
52239  if (!module_head) {
52240  /* This is the first module loaded for this interpreter */
52241  /* so set the swig module into the interpreter */
52242  SWIG_SetModule(clientdata, &swig_module);
52243  module_head = &swig_module;
52244  } else {
52245  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
52246  found=0;
52247  iter=module_head;
52248  do {
52249  if (iter==&swig_module) {
52250  found=1;
52251  break;
52252  }
52253  iter=iter->next;
52254  } while (iter!= module_head);
52255 
52256  /* if the is found in the list, then all is done and we may leave */
52257  if (found) return;
52258  /* otherwise we must add out module into the list */
52259  swig_module.next = module_head->next;
52260  module_head->next = &swig_module;
52261  }
52262 
52263  /* When multiple interpeters are used, a module could have already been initialized in
52264  a different interpreter, but not yet have a pointer in this interpreter.
52265  In this case, we do not want to continue adding types... everything should be
52266  set up already */
52267  if (init == 0) return;
52268 
52269  /* Now work on filling in swig_module.types */
52270 #ifdef SWIGRUNTIME_DEBUG
52271  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
52272 #endif
52273  for (i = 0; i < swig_module.size; ++i) {
52274  swig_type_info *type = 0;
52275  swig_type_info *ret;
52276  swig_cast_info *cast;
52277 
52278 #ifdef SWIGRUNTIME_DEBUG
52279  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
52280 #endif
52281 
52282  /* if there is another module already loaded */
52283  if (swig_module.next != &swig_module) {
52284  type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
52285  }
52286  if (type) {
52287  /* Overwrite clientdata field */
52288 #ifdef SWIGRUNTIME_DEBUG
52289  printf("SWIG_InitializeModule: found type %s\n", type->name);
52290 #endif
52291  if (swig_module.type_initial[i]->clientdata) {
52292  type->clientdata = swig_module.type_initial[i]->clientdata;
52293 #ifdef SWIGRUNTIME_DEBUG
52294  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
52295 #endif
52296  }
52297  } else {
52298  type = swig_module.type_initial[i];
52299  }
52300 
52301  /* Insert casting types */
52302  cast = swig_module.cast_initial[i];
52303  while (cast->type) {
52304 
52305  /* Don't need to add information already in the list */
52306  ret = 0;
52307 #ifdef SWIGRUNTIME_DEBUG
52308  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
52309 #endif
52310  if (swig_module.next != &swig_module) {
52311  ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
52312 #ifdef SWIGRUNTIME_DEBUG
52313  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
52314 #endif
52315  }
52316  if (ret) {
52317  if (type == swig_module.type_initial[i]) {
52318 #ifdef SWIGRUNTIME_DEBUG
52319  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
52320 #endif
52321  cast->type = ret;
52322  ret = 0;
52323  } else {
52324  /* Check for casting already in the list */
52325  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
52326 #ifdef SWIGRUNTIME_DEBUG
52327  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
52328 #endif
52329  if (!ocast) ret = 0;
52330  }
52331  }
52332 
52333  if (!ret) {
52334 #ifdef SWIGRUNTIME_DEBUG
52335  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
52336 #endif
52337  if (type->cast) {
52338  type->cast->prev = cast;
52339  cast->next = type->cast;
52340  }
52341  type->cast = cast;
52342  }
52343  cast++;
52344  }
52345  /* Set entry in modules->types array equal to the type */
52346  swig_module.types[i] = type;
52347  }
52348  swig_module.types[i] = 0;
52349 
52350 #ifdef SWIGRUNTIME_DEBUG
52351  printf("**** SWIG_InitializeModule: Cast List ******\n");
52352  for (i = 0; i < swig_module.size; ++i) {
52353  int j = 0;
52354  swig_cast_info *cast = swig_module.cast_initial[i];
52355  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
52356  while (cast->type) {
52357  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
52358  cast++;
52359  ++j;
52360  }
52361  printf("---- Total casts: %d\n",j);
52362  }
52363  printf("**** SWIG_InitializeModule: Cast List ******\n");
52364 #endif
52365 }
52366 
52367 /* This function will propagate the clientdata field of type to
52368 * any new swig_type_info structures that have been added into the list
52369 * of equivalent types. It is like calling
52370 * SWIG_TypeClientData(type, clientdata) a second time.
52371 */
52372 SWIGRUNTIME void
52373 SWIG_PropagateClientData(void) {
52374  size_t i;
52375  swig_cast_info *equiv;
52376  static int init_run = 0;
52377 
52378  if (init_run) return;
52379  init_run = 1;
52380 
52381  for (i = 0; i < swig_module.size; i++) {
52382  if (swig_module.types[i]->clientdata) {
52383  equiv = swig_module.types[i]->cast;
52384  while (equiv) {
52385  if (!equiv->converter) {
52386  if (equiv->type && !equiv->type->clientdata)
52387  SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
52388  }
52389  equiv = equiv->next;
52390  }
52391  }
52392  }
52393 }
52394 
52395 #ifdef __cplusplus
52396 #if 0
52397 { /* c-mode */
52398 #endif
52399 }
52400 #endif
52401 
52402 
52403 
52404 /* Forward declaration of where the user's %init{} gets inserted */
52405 void SWIG_init_user(lua_State* L );
52406 
52407 #ifdef __cplusplus
52408 extern "C" {
52409 #endif
52410 /* this is the initialization function
52411  added at the very end of the code
52412  the function is always called SWIG_init, but an earlier #define will rename it
52413 */
52414 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
52415 LUALIB_API int SWIG_init(lua_State* L)
52416 #else
52417 SWIGEXPORT int SWIG_init(lua_State* L) /* default Lua action */
52418 #endif
52419 {
52420 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) /* valid for both Lua and eLua */
52421  int i;
52422  /* start with global table */
52423  lua_pushglobaltable (L);
52424  /* SWIG's internal initalisation */
52425  SWIG_InitializeModule((void*)L);
52426  SWIG_PropagateClientData();
52427 #endif
52428 
52429 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
52430  /* add a global fn */
52431  SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
52432  SWIG_Lua_add_function(L,"swig_equals",SWIG_Lua_equal);
52433  /* begin the module (its a table with the same name as the module) */
52434  SWIG_Lua_module_begin(L,SWIG_name);
52435  /* add commands/functions */
52436  for (i = 0; swig_commands[i].name; i++){
52437  SWIG_Lua_module_add_function(L,swig_commands[i].name,swig_commands[i].func);
52438  }
52439  /* add variables */
52440  for (i = 0; swig_variables[i].name; i++){
52441  SWIG_Lua_module_add_variable(L,swig_variables[i].name,swig_variables[i].get,swig_variables[i].set);
52442  }
52443 #endif
52444 
52445 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
52446  /* set up base class pointers (the hierarchy) */
52447  for (i = 0; swig_types[i]; i++){
52448  if (swig_types[i]->clientdata){
52449  SWIG_Lua_init_base_class(L,(swig_lua_class*)(swig_types[i]->clientdata));
52450  }
52451  }
52452  /* additional registration structs & classes in lua */
52453  for (i = 0; swig_types[i]; i++){
52454  if (swig_types[i]->clientdata){
52455  SWIG_Lua_class_register(L,(swig_lua_class*)(swig_types[i]->clientdata));
52456  }
52457  }
52458 #endif
52459 
52460 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
52461  /* constants */
52462  SWIG_Lua_InstallConstants(L,swig_constants);
52463 #endif
52464 
52465 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
52466  /* invoke user-specific initialization */
52467  SWIG_init_user(L);
52468  /* end module */
52469  /* Note: We do not clean up the stack here (Lua will do this for us). At this
52470  point, we have the globals table and out module table on the stack. Returning
52471  one value makes the module table the result of the require command. */
52472  return 1;
52473 #else
52474  return 0;
52475 #endif
52476 }
52477 
52478 #ifdef __cplusplus
52479 }
52480 #endif
52481 
52482 
52483 const char* SWIG_LUACODE=
52484  "";
52485 
52486 void SWIG_init_user(lua_State* L)
52487 {
52488  /* exec Lua code if applicable */
52489  SWIG_Lua_dostring(L,SWIG_LUACODE);
52490 }
52491